HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Kernel Commands 4-3
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.
Example: Using 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










