HP 5100tn Printer Job Language - Technical Reference Manual - Page 39
Example, Using the, UEL Command
View all HP 5100tn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 39 highlights
(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. 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 Kernel Commands 4-3