HP Color LaserJet 5500 Technical Reference Manual page 39

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

Example: Using the
UEL Command
(if PERSONALITY =AUTO, the data stream is sampled for
context-sensitive switching—see the "Methods of Printer
Language Switching" later in this chapter). Instead of
relying on implicit switching, use the ENTER command
to specify the printer language, even if the printer has
only one printer language.
The following example demonstrates the use of the UEL
command.
This example enters PCL and prints a PCL job. Notice how
the job begins and ends with the UEL command, and how
the first UEL command is followed immediately by the
@PJL prefix.
<ESC>%-12345X@PJL COMMENT PCL Job <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . . . PCL Job . . . . <ESC>E
~<ESC>%-12345X
If the print job was a PostScript job instead, the following
would be sent:
<ESC>%-12345X@PJL COMMENT PostScript <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS-ADOBE ... PostScript print job ... ^D
~<ESC>%-12345X
Similarly, for an ESC/P print job, send the following:
<ESC>%-12345X@PJL COMMENT ESC/P <CR><LF>
@PJL ENTER LANGUAGE = ESCP <CR><LF>
... ESC/P print job ...
~<ESC>%-12345X
Kernel Commands 4-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents