HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 271
With A Neat, Cp;lbmargin
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 271 highlights
Table 23-10 Example: Using the CP Command PA5000,2500; PD1500,2500; PU; CP5,.35; Specify absolute plotting and move to (5000,2500); set the pen down and draw a line to (1500,2500); lift the pen. Move the pen 5 spaces to the right and .35 lines up so that the label is placed just above the line. DT$,1; Define a label terminator ($) and specify that it does not print. SD1,21,2,1,4,14,5, Designate a 14-point Univers Bold font and 0,6,3,7,4148;SS; select it. LBABOVE THE LINE$; Print the first line of text. The label text is shown on two lines due to the column width restriction. When coding a single line label, it should all be placed on one line. PA2500,2500; WG20,0,360; Move the pen to (2500,2500) and draw a dot marking the new Carriage Return point (360° black-filled wedge with a diameter of 20 plu). CP0,-.95LBBELOW Print the second line; Carriage Return-Line THE LINECR-LF Feed; print the third line. WITH A NEAT$; CP;LBMARGIN$; EC%0A ECE Print the fourth line. Notice how the CP command without parameters functions as a CR-LF. Enter the PCL mode. Send a reset to end the job and eject the page. EN CP, Character Plot 23-27