HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 304
Table 23-32, Example: Printing Text with the LB Command, Label Terminator
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 304 highlights
z Label Terminator- Terminates the LB command. You must use the special label terminator (refer to the DT command) to tell the printer to exit the label mode. If you do not use the label terminator, everything following the LB mnemonic is printed in the label, including other commands. The default label terminator is the non-printing end-of-text character ETX (decimal code 3). You can define a different terminator using the DT command. Table 23-32 Example: Printing Text with the LB Command ECE EC%0B IN; Reset the printer. Enter HP-GL/2 mode. 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. PA2500,2500; Move to absolute location (2500,2500). DT*; Specify the asterisk (*) as the label terminator. SD1,21,2,1,4,25,5,0, Designate the 25-point Univers Bold font as 6,3,7,4148;SS; the standard font and select it. LBThis is a Label.*; EC%0A ECE Prints "This is a Label." in the currently selected font. Enter the PCL mode. Send a reset to end the job and eject the page. Figure 23-32 23-60 The Character Group EN