HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 293
Example:Using theDV Command, Print ABC, followed by a Carriage Return/Line
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 293 highlights
Example:Using theDV Command The following example illustrates how Line Feeds and Carriage Returns affect vertical labels. Horizontal labels are shown for comparison. Table 23-24 Example: Using the DV 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. PA2000,3000;DV1; Specify absolute plotting and move to (2000,3000). Define the text path so that each character begins below the previous character (vertical text path). DT@; Define the "@" character as the label terminator (non-printing). LBABC CR-LF@; Print ABC, followed by a Carriage Return/Line Feed (CR-LF). LBDEF LF@; Print DEF, followed by a Line Feed. LBGHI LF@; Print GHI, followed by a Line Feed. LO3; Change the label Origin to 3 (the default LO1 was used prior to this). LBJKL@ Print JKL. LO1; Return to the default label Origin (LO1). PA4000,3000;DV0; Move to (4000,3000) and define the text path so that each character begins to the right of the previous one (horizontal [default] text path). LBABC CR-LF@; Print ABC, followed by CR-LF. LBDEF LF@; Print DEF, followed by Line Feed. LBGHI@; Print GHI (without CR or LF). EN DV, Define Variable Text Path 23-49