Friday, March 14, 2014

Printing PCL and Postscripts generated by Output ES2

You would usually have this case when you are doing Server-side printing i.e. the document will be generated by Output ES2 and sent to a network printer as a part of the business process.

1) Single Documents
If your use case has a requirement to generated individual/single templates and sent it to a network printer in either PCL/PS format, then you should know the following -

1.1 Tray Selection
Implicit and Explicit tray selection are possible by using an XDC file. If you are using common paper sizes like Letter/Legal/A4 etc, all you need to do is configure the XDC file and map appropriate paper size to paper tray. If you have custom paper sizes, you must first define a new paper type in the XDC file and then map it to a specific tray on the printer.

1.2 Simplex Duplex
These properties can be configured on the master pages. When OUTPUT ES2 generates a PCL/PS using GeneratePrintedOutput Service it creates the document such that it prints as expected.

2) Assembled Documents
If your use case required you to do a server side printing of the assembled document in either PCL or PS format then you should know the following -

2.1 Tray Selection
Implicit and Explicit tray selection are possible by using an XDC file. If you are using common paper sizes like Letter/Legal/A4 etc, all you need to do is configure the XDC file and map appropriate paper size to paper tray. If you have custom paper sizes, you must first define a new paper type in the XDC file and then map it to a specific tray on the printer.

2.2 Simplex/Duplex
These properties can be configured on the master pages. When OUTPUT ES2 generates a PCL/PS using GeneratePrintedOutput Service it creates the document such that it prints as expected.

Note that for assembled documents, you must first merge all the XDP and then render a PDF from the merged XDP to get the correct results.

No comments:

Post a Comment