HP 4300tn HP PCL/PJL reference - Printer Job Language Technical Reference Manu - Page 198
Print Data Generator Examples, Jobs That Select a Printer Language, Jobs That Set Printer Features
View all HP 4300tn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 198 highlights
Print Data Generator Examples The following two examples demonstrate how applications categorized as "Print Data Generators" should use PJL. Both examples work well if sent directly to the printer or through a spooler. Jobs That Select a Printer Language This example selects a printer language using the ENTER command. It is the most common job format for Print Data Generators. %-12345X@PJL @PJL ENTER LANGUAGE = POSTSCRIPT %!PS-ADOBE ... PostScript code ... ^D ~%-12345X Jobs That Set Printer Features This example specifies two feature settings that cannot be selected using the specified printer language: %-12345X@PJL @PJL SET RET = LIGHT @PJL SET RESOLUTION = 600 @PJL ENTER LANGUAGE = PCL E ... PCL print data ... E ~%-12345X@PJL @PJL RESET %-12345X 11-4 Programming Tips for Using PJL EN