Table 23-26 Example: Using the ES Command (continued)

PA2500,3200;

Specify absolute plotting and move to

SI.187,.269;

(2500,3200); specify a relative character

 

size of .187 cm wide by .269 cm high.

 

 

DT#;ES;

Define the “#” character as the label

 

terminator and set the extra space setting

 

to default (no extra space).

 

 

LBES; CAUSES#;

Print “ES; CAUSES”.

 

 

CP;LBTHIS

Send a CP command as a CR-LF and print

SPACING.#;

“THIS SPACING.”

 

 

PA2500,2500;

Move to (2500,2500).

 

 

ES-.1,-.25;

Decrease the inter-character spacing by .1

LBES-.1,-.25;

and the inter-line spacing by .25; print

CAUSES#;

“ES-.1,-.25; CAUSES”.

 

 

CP;LBTHIS

Send CP in place of CR-LF and print “THIS

SPACING.#;

SPACING.”

 

 

PA2500,1800;

Move to (2500,1800).

 

 

ES.2,.25;LBES.2,.25;

Increase the inter-character spacing by .2

CAUSES#;

and the inter-line spacing by .25 of the

 

Space control code; print “ES.2,.25;

 

CAUSES”.

 

 

CP;LBTHIS

Send CP in place of CR-LF and print “THIS

SPACING.#;

SPACING.”

 

 

EC%0A

Enter the PCL mode.

ECE

Send a reset to end the job and eject the

 

page.

 

 

23-52The Character Group

EN

Page 664
Image 664
HP 5961-0509 manual 23-52The Character Group