P4-4 Mobile Printer CPCLProgramming Manual
SCALE-TO-FIT Commands
The SCALE-TO-FIT commands automatically calculate
the scale in order to fit text inside a window.
Format:
{command} {name} {width} {height} {x} {y} {data}
where:
{command}:
Choose from the following:
SCALE-TO-FIT: Prints scaled text horizontally.
(or STF)
VSCALE-TO-FIT: Prints scaled text vertically.
(or VSTF)
{name}:
Font name.
{width}:
Unit-width of the window.
{height}:
Unit-height of the window.
{x}:
Horizontal starting position.
{y}:
Vertical starting position.
{data}:
Text to be printed.