CFLPostPrintNodeJob Procedure

  • 2 minutes to read

Codeunit CFL PrintNode Management

Submits a print job to a specific PrintNode printer.

Signature

CFLPostPrintNodeJob(token: Text; printerid: Text; source: Text; title: Text; content: Text) : Boolean

Parameters

token Text

PrintNode API authentication token.

printerid Text

ID of the target printer in PrintNode.

source Text

Source identifier for the print job (typically company name).

title Text

Title/description of the print job.

content Text

Base64-encoded PDF content to be printed.

Returns

Boolean

True if print job was successfully created (HTTP 201), otherwise false.

Remarks

Uses POST /printjobs endpoint to create a new print job. Content must be Base64-encoded PDF data. Content type is automatically set to 'pdf_base64'.