HP 3150 HP PCL/PJL reference - Printer Job Language Technical Reference Manual - Page 43
Example: Using the UEL Command, PJL ENTER LANGUAGE = PCL <CR><LF>
UPC - 879889002135
View all HP 3150 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 43 highlights
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. %-12345X@PJL COMMENT PCL Job @PJL ENTER LANGUAGE = PCL E . . . . PCL Job . . . . E ~%-12345X If the print job was a PostScript job instead, the following would be sent: %-12345X@PJL COMMENT PostScript @PJL ENTER LANGUAGE = POSTSCRIPT %!PS-ADOBE ... PostScript print job ... ^D ~%-12345X Similarly, for an ESC/P print job, send the following: %-12345X@PJL COMMENT ESC/P @PJL ENTER LANGUAGE = ESCP ... ESC/P print job ... ~%-12345X EN Kernel Commands 4-3