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.
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS-ADOBE ... PostScript code ... ^D
~
<ESC>%-12345X
Jobs That Set Printer Features
This example specifies two feature settings that cannot be
selected using the specified printer language:
<ESC>%-12345X@PJL <CR><LF>
@PJL SET RET = LIGHT <CR><LF>
@PJL SET RESOLUTION = 600 <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E ... PCL print data ... <ESC>E
~
<ESC>%-12345X@PJL <CR><LF>
@PJL RESET <CR><LF>
<ESC>%-12345X
10-4 Programming Tips
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...