Notes

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

Reset the printer.

EC%0B

Enter HP-GL/2 mode.

IN;

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;

Move to (700,2000), specify an absolute

LBPrint#;

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,

Designate a 12-point Univers font and

5,0,6,0,7,4148;SS;

select it.

 

 

EN

SI, Absolute Character Size 23-75

Page 687
Image 687
HP 5961-0509 manual ExampleUsing the SI Command, Example Using the SI Command