P9-4 Mobile Printer CPCLProgramming Manual
SETLP Command
Selecting the line printer font (the SETLP command)
will change the font the printer uses for line print mode. It
also chooses the amount of space the printer will move
down when the printer recieves a carriage return (hex
value 0x0d).
! U1 SETLP {font name or number} {size} {unit height}
The {unit height} value should be set to the actual
height of the font being used. Refer to Appendix C of this
manual for actual resident font height values.
SETLP allows you to use either the resident fonts or
pre-scaled fonts downloaded to the flash memory. The
Label Vista design software can create and upload a font
for the printer from any available TrueType
1
font. Appen-
dix D contains a table of all resident font heights and their
proper unit height.
You can set the printer font multiple times when using
the line printer to make a receipt. For example, to put the
company name in a larger font at the top of a label,
change to font 5 size 2 and then to font 7 size 0.
Example:
! U1 SETLP 5 2 46
AURORA’S FABRIC SHOP
! U1 SETLP 7 0 24
123 Castle Drive, Kingston, RI 02881
(401) 555-4CUT
1 TrueType is a trademark of Apple Computer, Inc.