28
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 4 Label Design
5. Image Field
An image field contains a picture or logo in .PCX format. The im-
age can either be stored in the printer's RAM or in a memory card.
It can also be downloaded from the host computer.
You cannot store images in the printer's ROM, but it does contain
two standard images: "ROM:UBI.1", which is the UBI logo for
DIR 1 and 3, and "ROM:UBI.2", which is the UBI logo for DIR 2
and 4.
In addition to the general formatting commands,
PRPOS
,
ALIGN
and
DIR
, an image field can contain the following commands:
• Name
• Magnification
• Normal/Inverse printing
Select an Image:
An image is selected by the full name under which it is stored in the
printer's memory, either as plain text or as a variable (also see chap-
ter 4.9).
PRIMAGE | PM "<image name>"
<image name>
the full name and storage location of the im-
age including extension, enclosed by double
quotation marks
Default:
None
The UBI image name convention includes an extension (.1 or .2),
where .1 indicates that the image is intended for print directions 1
and 3, whereas .2 indicates print directions 2 and 4 (see chapter
4.2). For example, the image "ROM:UBI.1" is suited for directions
1 and 3.
Set Image Magnification:
Images 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
To obtain the best printout quality, select a larger image rather than
magnifying a smaller one.