21
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 4 Label Design
Set Font Magnification
Fonts can be magnified 1 - 4 times independently with regard to
height and width by means of a
MAG
command.
MAG <height mag>,<width mag>
<height mag>
the magnification factor 1,2,3 or 4 times with
regard to height.
<width mag>
the magnification factor 1,2,3 or 4 times with
regard to width.
Default:
1,1
Reset to default by:
PRINTFEED|PF
Specifying both a font height and two magnification parameters
allows the user to control both the height and the aspect ratio of
printed characters. For example, to specify Swiss 721 Roman at 12
points with double width, use:
FONT "Swiss 721 BT",12,0
MAG 1,2
To specify Swiss 721 Roman at 12 points with a height:width ratio
of 2:3, use:
FONT "Swiss 721 BT",6,0
MAG 2,3
Select Normal/Inverse Printing
Normally, text is printed in black without any background (
NOR-
IMAGE
). Using
INVIMAGE
, the printing can be inversed so that
the paper gives the colour of the characters, whereas the background
will be black. The size of the background is decided by the font size
and slant. A
NORIMAGE
statement is only needed when changing
back from
INVIMAGE
printing.
NORIMAGE | NI
INVIMAGE | II
Default:
NORIMAGE
Reset to default by:
PRINTFEED|PF
3. Text Field,
cont'd.
NORIMAGE
INVIMAGE