Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 161
Chapter 2 Program Instructions
MAG
Field of Application
Statement for magnifying a font, barfont, or image up to four times
separately in regard of height and width.
Syntax MAG<nexp
1
>,<nexp
2
>
<nexp
1
> is the magni cation in regard of height (1, 2, 3, or 4).
<nexp
2
> is the magni cation in regard of width (1, 2, 3, or 4).
Default value: 1,1
Reset to default by: PRINTFEED execution
Remarks
Magni cation makes the object grow in directions away from the selected
anchor point, see ALIGN statement.
The MAG statement has become more or less obsolete for fonts and bar
fonts with the implementation of scaleable fonts. Even if MAG works for
such fonts, the printout quality will be much better by using a larger font
size rather than magnifying a smaller one. However, the MAG statement is
retained to allow compatibility with programs originally written for older
Intermec Fingerprint versions.
The MAG statement also works with images. However, since the MAG
statement simply enlarges the bitmap pattern of an image, it gives a better
printout quality to download and use a larger version of an image rather
than magnifying a smaller one.
Note that the MAG statement cannot be used for bar code patterns (use
BARHEIGHT and BARMAG statement for that purpose).
Example
This example illustrates how the image "GLOBE.1" is printed both with
its original size and magni ed 4 times. Note the jagged edges of the
curves in the enlarged image.
10 ALIGN 2
20 PRPOS 300,50
30 FONT "Swiss 721 BT"
40 PRTXT "Normal Size"
50 PRPOS 300,125
60 PRIMAGE "GLOBE.1"
70 PRPOS 300,300
80 PRTXT "Enlarged 4X"
90 PRPOS 300,375
100 MAG 4,4
110 PRIMAGE "GLOBE.1"
120 PRINTFEED
RUN