Check Digits; Line Breaks; Reverse Video - Datamax MP-Compact4 Programmer's Reference Manual

Datamax mp-compact4: reference manual
Hide thumbs Also See for MP-Compact4:
Table of Contents

Advertisement

PROGRAMMER'S REFERENCE MANUAL
Label layout definition commands

Check digits

Three different checksum types can be inserted in the textfield, EAN/UPC, Code39 and
UPU. For usage, se table below.
%Z
EAN/UPC checksum. If the characters %Z are inserted in the text they will
be replaced by a 3:1 weighted modulo-10 check digit.
%zC
Code39 checksum. If the characters %zC are inserted in the text, they will
be replaced by weighted modulo-43 check digit, which is calculated on the
preceding code39 characters.
%zP
UPU checksum. If the characters %zP are inserted in the text, they will be
replaced by specially weighted modulo-11 check digit, which is calculated
on the preceding 8 digits.

Line breaks

The text to print may include line breaks (carriage return characters) which cause a new
field to be automatically generated at a standard distance below the previous field. This is a
convenient shorthand method when entering a number of text lines that are to be printed in the
same font.
Example:
!F T N 100 100 L 12 0 94021 "Printer
SÄTERIGATAN 20
S-417 64 GÖTEBORG, Sweden"
Note! If a % or " character is to be printed it must be entered twice (%% or ""), to
distinguish it from a % character marking a reference, or the " that terminates the text to
print.

Reverse video

Text can be printed in reverse video. This means that the text will be printed with a white
font on a black background. The black background square will extend one half character at the
sides of the text and extend up to the maximum ascender and down to the maximum
descender of the font. It is also possible to change the size of the background square in
percent, from 2-999(%) of its original size, which is the described scenario above.
The command to enable/disable reverse video mode is
enable and 0 to disable. To change the background square n can be set to a value between 2
and 999.
Example
!C
!F T N 100 100 L 24 0 92500 "Normal Video"
!Y162 1
// Turn on reverse video mode
!F T N 200 100 L 24 0 92500 "Reverse Video"
!Y162 200 // Turn on reverse video mode and set background
!Y162 <n>,
where n is set to 1 to
// square to
Page 13

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MP-Compact4 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF