HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 319
Example:Using the SI Command, Notes, Table 23-46
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 319 highlights
Notes EN If the (SB1;) command is in effect, an SI command may not be executed accurately. Labels are rendered using the bitmap font that most closely approximates the character height or width specified by SI (character size is determined by height for proportional fonts and by width for fixed-spaced fonts). When (SB1;) is in effect, characters cannot be mirrored with negative SI parameters. Example:Using the SI Command The following example demonstrates the SI command using both the default Stick typeface and the Univers typeface. The samples on the left were printed using the Stick font, first using the default (11.5-point) and then specifying an absolute character size of 1 cm wide by 1.5 cm high. On the right, a Univers font was used, first at 12-point and scaled to 1 cm by 1.5 cm using the SI command. Table 23-46 Example: Using the SI 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. PA700,3000; Enter absolute plotting mode and move to (700,3000). DT#; Define the label terminator as the "#" character. LBPrint#; Print the word "Print" in the default font. PA700,2000;SI1,1.5; LBPrint#; Move to (700,2000), specify an absolute character size of 1cm wide by 1.5 cm high, and print the word "Print." SI; Send SI with no parameters to return to the default size. SD1,21,2,1,4,12, 5,0,6,0,7,4148;SS; Designate a 12-point Univers font and select it. SI, Absolute Character Size 23-75