HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
23-4 The Character Group EN
Note In the examples in this chapter, the left column identifies the 
command sequence data for the plot. If the label command text is too 
wide for the column width, is it continued on a second line (which 
might indicate a Carriage Return in the text). In actual use, the text 
should be presented on one line, with no carriage-returns. If a 
Carriage Return is required in the example, it is indicated as “CR-LF.”
Table 23-2 Example: Printing Labels
E
C
E  Reset the printer.
E
C
%0B  Enter HP-GL/2 mode.
IN; Initialize HP-GL/2 mode.
SP1;  Select pen number 1. Even though there 
is no physical pen, the SP command must 
be used to enable printing.
PA1500,2500;  Specify absolute plotting and move to 
(1500,2500).
SD1,21,2,1,4,25,
5,1,6,0,7,52;
Designate the 25-point Univers Italic font 
as the standard font.
DT*,1;  Define the asterisk character as the label 
terminator (the 1 indicates the terminator 
shouldn’t be printed).
SA;  Select the alternate font for printing. Since 
an alternate font hasn’t been designated, 
the default 11.5-point Stick font is 
selected.
LBThis is the 
Stick Font Default)
CR-LF CR-LF *;
Print the first line of text, followed by two 
Carriage Returns and two Line Feed 
control codes. Notice how the asterisk 
terminates the label.
SS;  Select the standard font.
LBThis is Univers 
Italic*; 
Print the next line of text in the newly 
specified font.
E
C
%0A  Enter the PCL mode.
E
C
E  Send a reset to end the job and eject the 
page.










