Scalable, Proportional-Spaced Font

This example illustrates how to select a primary, scalable, CG Times, proportional-spaced font with the following characteristics (note that all of the font characteristics are specified except pitch which is not required for a proportional font):

 

 

 

 

ESCAPE

 

 

CHARACTERISTIC

VALUE

SEQUENCE

 

 

 

 

 

 

 

Symbol set

ASCII

EC(0U

 

 

Spacing

Proportional

EC(s1P

 

 

Height

14.25 point

EC(s14.25V

 

 

Style

Upright

EC(s0S

 

 

Stroke weight

Bold

EC(s3B

 

 

Typeface family

CG Times

EC(s4101T

 

 

The following escape sequences can be sent to the printer to select a

 

 

primary font with the above characteristics:

 

 

 

EC(0UEC(s1PEC(s14.25VEC(s0SEC(s3BEC(s4101T

 

 

Combining the above sequences results in:

 

 

 

EC(0UEC(s1p14.25v0s3b4101T

 

 

 

 

 

 

Notes

 

If an escape sequence does not contain a value field, the printer

 

 

assumes a value of zero; therefore, the command EC(sB can be sent

 

 

to the printer instead of EC(s0B.

 

Sending shortened font selection commands can result in selection of an unexpected font. This is due to failure to track previously specified characteristics and their selection priority in relation to the current font selection. Thus, it is recommended that all of the characteristics be sent to ensure that the correct font is selected.

8-22PCL Font Selection

EN

Page 144
Image 144
HP 5961-0509 manual Scalable, Proportional-Spaced Font