HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

23-42 The Character Group EN
Table 23-20 Example: Using the DR Command
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 (black).
PA3500,2500; Specify absolute plotting and move to
(3500,2500).
DT#,1; Define the “#” character as the label
terminator.
DR0,1;LB __1990#; Set the label direction and print
“__1990”.
DR1,1;LB __1991#; Set the label direction and print
“__1991”.
DR1,0;LB__1992#; Set the label direction and print
“__1992”.
DR,1,-1; LB__1993#; Change the label direction and print
“__1993”.
DR,0,-1;LB__1994
CR#;
Set the label direction, print “__1994”
and Carriage Return.
DR,-1,-1;LB__1995
CR#;
Set the label direction and print
“__1995”; Carriage Return.
DR,-1,0;LB__1996
CR#;
Set the label direction and print
“__1996”; Carriage Return.
E
C
%0A Enter the PCL mode.
E
C
E Send a reset to end the job and eject
the page.