It is possible to add PJL sequences into a PDF file. This can e.g. be used, if you want to print a PDF directly in the PDF format, and still want to have full printer control e.g. for tray selection, output bin, stapling or other MFP (Multi Function Printer) related options. The PJL sequences can be added directly to the printers via the printer settings, on the Extra PJL commands component, and the new workflow component, PJL wrap PDF can be used for putting PJL commands into a PDF file before you send the PDF to the printer e.g. via the To printer component.
The PJL wrap PDF workflow advanced, create document component can be inserted after a component, that has PDF as the output payload e.g. Create PDF document. The output payload of the PJL wrap PDF component is PDFPJL, which indicates that the PDF file has been wrapped in PJL commands.
The PJL wrap PDF component has no parameters:
Example of use
Here is an example of a workflow, where this component is used:
Prerequisites for this workflow:
- The printer need to support PDF as the printer language.
- The PDF is to be created with the Create PDF document workflow component. If you are loading a PDF in another way e.g. from the file system or from the resources, then you need to set the workflow variable, renderer.page.last to a number, which should be the number of pages in the PDF file, but any number will do as this number is only used for the display on the printer.
It has been built up by these components:
Extra PJL commands
Here we use a PJL command to select a specific tray on the printer - if the PDF file is printed.
Create PDF document
Here we merge the input file with a template and generate a PDF file, that is inserted into the payload of the workflow:
PJL wrap PDF
Wrap the PDF (found in the payload) into the PJL sequence, that was previously set.
Set printer
Selects a registered printer onto which we want to send the PJL sequence.
To printer
Send the PDF print data stream (wrapped into the PJL) directly to the printer:
Related Articles
PDF/UA (Accessibility)
Introduction To support accessibility requirements, InterFormNG2 can create PDF documents that are PDF/UA-1 compliant in accordance with ISO standard 14289-1:2014. UA is an abbreviation of Universal Accessibility. In e.g. Germany this is referenced ...
Extra PJL commands
With this advanced set meta data workflow component, you can add your own PJL commands in the PCL/PDF output from InterFormNG2 e.g. for enabling/disabling color printing, stapling, punching to select a specific output bin or include user ID and ...
PDF to splf component
IMPORTANT! DO NOT use this feature in the 1.9.0 version, as an important change was made in the next version, which changed the behavior of existing definitions. InterFormNG2 can extract text from a PDF file and put the extracted text into the ...
PDF
InterFormNG2 can work with PDF files in multiple ways - both as input and as output. PDF is one of the file types/payloads, that can be handled by the InterFormNG2 workflow. PDF as input A workflow can e.g. accept PDF files as the input file type. ...
PDF Delayed email - shortcut component
It is possible to create an email, that is to be sent at a later time. This can e.g. be used, if you want to send an invoice to a customer at the end of the day, but you want to hold the email to make it possible to issue another email later (to ...