Mobile Printing Systems
CPCL Programming Manual
Section 3
Text
pg. 3-14
SETMAG Command
The SETMAG command magnifies a resident font to the magnification factor specified.
Format:
{command} {w} {h}
where:
{command}: SETMAG
{w}: Width magnification of the font. Valid magnifications are 1 thru 16.
{h}: Height magnification of the font. Valid magnifications are 1 thru 16.
NOTE: The SETMAG command stays in eect after printing a label. This means that the next label printed will use the most recently
set SETMAG values. To cancel any SETMAG values and allow the printer to use its default font sizes, use the SETMAG command
with magnications of 0,0.
SETMAG Command Example
Input:
! 0 200 200 210 1
CENTER
SETMAG 1 1
TEXT 0 0 0 10 Font 0-0 at SETMAG 1 1
SETMAG 1 2
TEXT 0 0 0 40 Font 0-0 at SETMAG 1 2
SETMAG 2 1
TEXT 0 0 0 80 Font 0-0 at SETMAG 2 1
SETMAG 2 2
TEXT 0 0 0 110 Font 0-0 at SETMAG 2 2
SETMAG 2 4
TEXT 0 0 0 145 Font 0-0 at SETMAG 2 4
; Restore default font sizes
SETMAG 0 0
FORM
PRINT
Output:
continued
Comments to this Manuals