Epcl Programmers Guide PDF
Epcl Programmers Guide PDF
This manual contains Programming information for Zebra Series Card Printers manufactured by
Zebra Technologies Corporation, Camarillo, California.
Proprietary Statement
This manual contains proprietary information of the manufacturer. It is intended solely for the in-
formation and use of parties operating and maintaining the equipment described herein. Such pro-
prietary information may not be used, reproduced, or disclosed to any other parties for any other
purpose without the expressed written permission of the manufacturer.
Product Improvements
Continuous improvement of products is a policy of the manufacturer. All specifications and signs
are subject to change without notice.
Liability Disclaimer
The manufacturer takes steps to assure that its published Engineering specifications and Manuals
are correct; however, errors do occur. The manufacturer reserves the right to correct any such er-
rors and disclaims liability resulting therefrom.
All other marks are trademarks or registered trademarks of their respective holders.
This copyrighted manual and the software described herein are owned by the manufacturer. All
rights are reserved. Copyright violators may be subject to civil liability.
i
ii
Table of Contents
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Common Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Programming Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Basic Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Command Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Image Memory Arrangements . . . . . . . . . . . . . . . . . . . . . . 1-8
Bit-Map Compression Algorithm . . . . . . . . . . . . . . . . . . . . . 1-9
Data-to-Card Mapping . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
Card Handling Process . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
Command Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
Sample Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
Parallel Port Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
Error Line Coding. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
iii
+DLAMI - Set Lamination Configuration . . . . . . . . . . . . . . . 2-41
+DLAMI - Set Lamination Configuration (Continued) . . . . . . . . 2-42
+DLAMI - Set Lamination Configuration (Continued) . . . . . . . . 2-43
+DLAMI - Set Lamination Configuration (Continued) . . . . . . . . 2-44
D/vD - Draw Diagonal Line (Monochrome/Overlay). . . . . . . . . . 2-45
E - Retransmit Last Response . . . . . . . . . . . . . . . . . . . . . 2-46
&E - Write Single Track . . . . . . . . . . . . . . . . . . . . . . . 2-47
&E* - Write Track Buffers . . . . . . . . . . . . . . . . . . . . . . 2-48
+EC - End of Print . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
$F - Clear Color Image Buffers . . . . . . . . . . . . . . . . . . . . 2-50
!FF - Set Ribbon Color Sequence . . . . . . . . . . . . . . . . . . 2-51
$FP - Clear Specified Bit-Maps . . . . . . . . . . . . . . . . . . . . 2-52
FS - Control Use of Card Feed Sensor . . . . . . . . . . . . . . . . 2-53
F/vF - Clear Monochrome Image Buffers . . . . . . . . . . . . . . . 2-54
GS - Download Color Graphic . . . . . . . . . . . . . . . . . . . . 2-55
G/vG - Initialize Monochrome Graphic (B/W). . . . . . . . . . . . . 2-56
%HEAD - Get Print Head Serial Number . . . . . . . . . . . . . . . 2-57
I - Print Monochrome Panel . . . . . . . . . . . . . . . . . . . . . 2-58
IH - Print Hologram Overlay . . . . . . . . . . . . . . . . . . . . . 2-59
IM - Print Color Test Card . . . . . . . . . . . . . . . . . . . . . . 2-60
IMB - Print Gray Test Card . . . . . . . . . . . . . . . . . . . . . . 2-61
IS - Print Card Panel . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
IV - Print Clear Varnish . . . . . . . . . . . . . . . . . . . . . . . . 2-63
+ISC - Set Smart Card Serial Port Data Rate . . . . . . . . . . . . . 2-64
+ISC2 - Set Smart Card Serial Port Data Rate (Advanced) . . . . . . 2-65
ISERIES - i-Series Printer Test . . . . . . . . . . . . . . . . . . . . 2-66
J - Print Multiple Monochrome Cards . . . . . . . . . . . . . . . . . 2-67
!L - Check Status: P720 Laminator Sensor Levels . . . . . . . . . . 2-68
!L - Check Status of Printer Sensors . . . . . . . . . . . . . . . . . 2-69
$L - Draw a Horizontal Line/Rectangle in a Color Buffer . . . . . . . 2-71
&L - Read Single Track . . . . . . . . . . . . . . . . . . . . . . . 2-72
+$L - Adjust Specified Color Intensity . . . . . . . . . . . . . . . . 2-74
!LC - Check Lamination Counter . . . . . . . . . . . . . . . . . . 2-75
$LD - Initialize a Color Buffer to a Specified Intensity Level . . . . . 2-76
!LT - Check Lamination Temperature . . . . . . . . . . . . . . . . 2-77
+LT - Set Lamination Temperature . . . . . . . . . . . . . . . . . 2-78
!LTI - Check Lamination Time . . . . . . . . . . . . . . . . . . . . 2-79
+LTI - Set Lamination Time . . . . . . . . . . . . . . . . . . . . . 2-80
L/vL - Draw Horizontal Line (Monochrome/Overlay) . . . . . . . . . 2-81
!M - Move Print Head Up . . . . . . . . . . . . . . . . . . . . . . . 2-82
MB - Return Card To Card Feeder . . . . . . . . . . . . . . . . . . 2-83
MC - Clear Media Path . . . . . . . . . . . . . . . . . . . . . . . . 2-84
MCL - Move Contactless . . . . . . . . . . . . . . . . . . . . . . . 2-85
ME - Exit Card To Output Hopper . . . . . . . . . . . . . . . . . . 2-86
MF - Flip Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-87
MI - Move Card Into Print Ready Position . . . . . . . . . . . . . . 2-88
MIB - Move Card Back To Print Ready Position . . . . . . . . . . . 2-89
MM - Move Card Through Printer . . . . . . . . . . . . . . . . . . 2-90
M/m - Multiple Command . . . . . . . . . . . . . . . . . . . . . . . 2-91
MO - Move Card To Output Hopper . . . . . . . . . . . . . . . . . 2-92
MR - Check for Card Presence . . . . . . . . . . . . . . . . . . . . 2-93
iv
MRB - Move Card to Reject Box . . . . . . . . . . . . . . . . . . . . 2-94
MS - Move Card To Smart Card Programmer . . . . . . . . . . . . . 2-95
MS - Move Card To Smart Card Programmer . . . . . . . . . . . . . 2-96
&– Select Magnetic Encoding Standard . . . . . . . . . . . . . . . . 2-97
!NL - Get Printer Impression and Error Counters . . . . . . . . . . . . 2-98
!O - Check Card Offset . . . . . . . . . . . . . . . . . . . . . . . . . 2-99
+O - Print Offset X-Axis . . . . . . . . . . . . . . . . . . . . . . . 2-100
+OCL - Offset Contactless . . . . . . . . . . . . . . . . . . . . . . 2-101
!OFP - Check X-Axis Patch Offset . . . . . . . . . . . . . . . . . . 2-102
+OFP - Adjust X-Axis Laminator Patch Offset . . . . . . . . . . . . 2-103
+OLP - Offset Overlaminate Patch . . . . . . . . . . . . . . . . . . 2-104
!OP - Check Patch Offsets . . . . . . . . . . . . . . . . . . . . . . 2-105
+OP - Adjust Laminator Patch X and Y Offset . . . . . . . . . . . . 2-106
+OS - Smart Card X-axis Offset . . . . . . . . . . . . . . . . . . . 2-107
O/vO - Load Single Line Bit-map (Monochrome) . . . . . . . . . . . 2-108
+OY - Print Offset Y-axis . . . . . . . . . . . . . . . . . . . . . . . 2-110
!P - Move Card Forward 8 cm . . . . . . . . . . . . . . . . . . . . 2-111
&P - Check Card Present - Encoder . . . . . . . . . . . . . . . . . 2-112
+PRF - Pre-Feed a Card Close to the Print Area . . . . . . . . . . . 2-113
PS - Download Color Image Buffer . . . . . . . . . . . . . . . . . . 2-114
P/vP - Draw Single Dot (Monochrome/Overlay) . . . . . . . . . . . . 2-115
R - Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-116
!R - Print Head Resistance . . . . . . . . . . . . . . . . . . . . . . 2-117
&R - Reset Magnetic Encoder . . . . . . . . . . . . . . . . . . . . 2-118
>R - Read Data From Smart Card Serial Interface . . . . . . . . . . 2-119
+RB - Set Reject Box Usage . . . . . . . . . . . . . . . . . . . . . 2-120
>RB - Read Data From Smart Card Serial Interface in ASCII hex Form
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-121
RCBC - Reset Rejected Card Box Counter . . . . . . . . . . . . . . 2-122
>RG - Contact Internal Gemplus Smart Card Read Command. . . . 2-123
+RIB - Set Ribbon Type . . . . . . . . . . . . . . . . . . . . . . . 2-124
!RIBBON - Check Ribbon Type . . . . . . . . . . . . . . . . . . . 2-125
!RIBBON - Get ribbon type installed. . . . . . . . . . . . . . . . . . 2-126
+RIBBON - Set Ribbon Type . . . . . . . . . . . . . . . . . . . . 2-127
!RIBPN- Get ribbon part number . . . . . . . . . . . . . . . . . . . 2-128
!RIBLEN- Get number of remaining panels on ribbon . 2-129
+RO - X-Axis Offset, Relative. . . . . . . . . . . . . . . . . . . . . 2-130
+ROY - Y-Axis Offet, Relative . . . . . . . . . . . . . . . . . . . . 2-131
!SA - Self Adjust . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-132
!SAN - Perform pre-calibration baseline testing . . . . . . . . . . . . 2-134
!SB - Check Stand-By Mode Settings . . . . . . . . . . . . . . . . . 2-135
+SB - Configure Laminator Stand-By Mode . . . . . . . . . . . . . 2-136
SDATA - Force immediate save of parameters . . . . . . . . . . . . 2-137
!SERIE - Get Laminator Serial Number . . . . . . . . . . . . . . . . 2-138
%SERIE - Get Printer Serial Number . . . . . . . . . . . . . . . . . 2-139
SF - Synchronize Film (Overlaminate) . . . . . . . . . . . . . . . . 2-140
!SIDE - Check Lamination Mode . . . . . . . . . . . . . . . . . . . 2-141
+SIDE - Set Lamination Mode . . . . . . . . . . . . . . . . . . . . 2-142
&SVM - Disable/Enable Magnetic Encoding Verifications . . . . . . . 2-143
&T - Magnetic Encoder Card Eject . . . . . . . . . . . . . . . . . . 2-144
+TC - Set Laminator Head Temperature . . . . . . . . . . . . . . . 2-145
v
TF - Film Type . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-146
T/vT - Draw Text (Monochrome/Overlay) . . . . . . . . . . . . . . 2-147
T/vT - ASCII Text (Continued) . . . . . . . . . . . . . . . . . . . . 2-148
V - Check Printer Type/Version . . . . . . . . . . . . . . . . . . . 2-149
!V - Return Operational Parameter . . . . . . . . . . . . . . . . . 2-150
+V - Black Print Speed . . . . . . . . . . . . . . . . . . . . . . . 2-151
+VL - Set Lamination Speed . . . . . . . . . . . . . . . . . . . . 2-152
!W - Move Card Backward 8 cm . . . . . . . . . . . . . . . . . . 2-153
&W - Change Encoding Direction . . . . . . . . . . . . . . . . . 2-154
>W - Write Data To Smart Card Serial Port. . . . . . . . . . . . . 2-155
>WB - Write Data Formatted in ASCII HEX To Smart Card Serial Port
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-156
>WG - Contact Internal Gemplus Smart Card Write Command . . 2-157
!X - Check Command Initiator. . . . . . . . . . . . . . . . . . . . 2-158
+X - Change Command Initiation Character . . . . . . . . . . . . 2-159
!Z - Re-Synchronize Card . . . . . . . . . . . . . . . . . . . . . . 2-160
Z/vZ - Load Bit-map (Monochrome) . . . . . . . . . . . . . . . . . 2-161
. - Clear Error Status Lines . . . . . . . . . . . . . . . . . . . . . 2-163
Appendix A . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Code 39
(Code 3 of 9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Standard 2 of 5
(Code 2/5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
Interleaved 2 of 5
(Code I 2/5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
UPC-A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
EAN-8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
EAN-13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
Code 128
Subsets B & C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
EAN International Regulation Agencies . . . . . . . . . . . . . . . . . A-11
Appendix B . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Parallel Port Printer Data Handshake Signal Lines. . . . . . . . . . . . . B-1
Parallel Port Printer Error Response. . . . . . . . . . . . . . . . . . . . B-1
Serial Port Printer Data Handshake . . . . . . . . . . . . . . . . . . . . B-1
Serial Port Printer
Error Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2
Appendix C . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Magnetic Encoders. . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Encoder Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Data Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
Encoder Default Configuration. . . . . . . . . . . . . . . . . . . . . . C-3
Basic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-4
Advanced Encoder Commands . . . . . . . . . . . . . . . . . . . . . C-4
Resetting The Encoder To ANSI/ISO Track Defaults. . . . . . . . . . . . C-5
Change Track Density . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
vi
Changing Read Configuration . . . . . . . . . . . . . . . . . . . . . . C-5
Changing Write Configurations . . . . . . . . . . . . . . . . . . . . . C-5
Custom ISO Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6
Unique Custom Data Formats . . . . . . . . . . . . . . . . . . . . . . C-7
vii
viii
INTRODUCTION
Features
Models Color Duplex Duplex Log-On
RFID Printing Printing Lamination Security
P110i • •
P120i • • •
P205
P210 • •
P310F
P310C •
P310i • •
P320i • • •
P330i • •
P420 • •
P420i • • • •
P430i • • •
P520 • • •*
P520i • • • •* •
P720 • • • •†
* Model that laminates duplex using same lamination patch type for both card sides
† Model capable of applying different upper and lower lamination patch types onto cards
1-1
Common Features All covered models can print bar-codes in several formats
and have resident scalable font descriptions. Also, all
models can include a Smart-Card Docking Station. P310
and P420 variants can have a Proximity Card docking
Station. All models are offered with or without a Magnetic
Stripe Encoder. A Serial Host Interface is optional on the
P205, P210, P310, and P420 variants, where an
associated RS-232C Setup Command exists. All models
can have USB Ports, either standard or as an option.
The programming commands control the printing process
by color and by ribbon material, allowing overprinting
and separate control of various protective coverings.
1-2
Ribbons Ribbon types exist in the following configurations:
1-3
Models
Printer Ribbons *Panel
Count P205 P310 P420 P520 P720
P210 P320
Kresin (all monochrome colors) 1 • • • • •
Scratch-off Gray 1 • • • •
KresinO 2 • • •
KdyeO 2 • • •
YMC 3 • •
YMCK 4 • •
YMCKresinO 5 • • •
YMCKresinKresin 5 • •
YMCKresinOKresin 6 •
* P310 monochrome and P205 printers only use 1-panel ribbons.
1-4
16- character LCD screen and allow operator responses
and Printer Control. Power and Alert LEDs also appear.
This element also has its own CPU that carries out the
details of instructions received.
1-5
• P310 Color Card Printers have five image buff-
ers—three for color and another for two for mono-
chrome. The color buffer receives downloads of Cyan,
Magenta, and Yellow image data, each five bits deep.
The Monochrome Buffer receives black and/or varnish
data one bit deep. Separate data for Resin Black and
Overlay Varnish can often be avoided. Because of its du-
rability, card areas with resin images may not require var-
nish for the associated ultraviolet protection. Therefore,
by using a reverse imaging for varnish, the same bit-map
used for resin produces a varnish overlay that omits the
areas with resin. Also, through reverse imaging, a Clear
Command can prepare Monochrome Memory for a
full-coverage varnish.
• P420s employ the same Print Engines as the P310 Color
described above. Because P420s also have a Card-Flip
assembly and a Rejected Card Box, these models have
some additional related commands. P420s also have an
interface that supports the programming of Proximity
Cards (also called Contactless Cards). Memory size is
doubled to support two-sided printing.
• P520s have all the same implementations as a P420, in-
cluding Smart Card stations, and Magnetic Encoders as
options. However, P520s also have a Card Laminator
Station. Laminators serve as heat-transfer devices for
material or panels contained on Lamination Ribbons. A
variety of these kinds of ribbons exist, as follows:
• Ribbons with transparent die-cut patches that offer
near edge-to-edge card coverage
• Die cuts with cutouts for Smart Card Contacts, and
smaller die cuts that serve to avoid Magnetic Stripes
• Preprinted Patches that contain security devices such
as graphics, holograms, or other optically-encoded
safeguards
<Esc>#<Space>1<Space>
1-6
• P720s have P420 elements plus a Laminator module
that fully implements simultaneous near edge-to-edge
patch applications from above and below the Card
Path. Integral sensors assure accurate patch placements
and signal the Ribbon Types in use and the amount re-
maining on their cores.
WRITE TEXT
<Esc>T p1 p2 p3 p4 p5 p6 p7 data<Rtn>
Command
Text
Parameters
1B54203130302031303020302031203230203330203120546578740D
Hexadecimal Programming Code
Space (Delimiters)
Escape (Command Initiator)
Carriage Return (Command Terminator)
1-7
Command Editor Any ASCII based Text Editor can serve to create simple
command files. In the DOS environment, MS-DOS EDIT
offers a good choice. To execute the file, use the Print
Command from the editor, or from DOS, the COPY
Command, to send the file to the printer. Examples using
the COPY Command are:
Image Memory Figure 1-1 shows elements involved in image data flow.
Arrangements Note that two Image Memory Configurations exist and
that Image Memory always contains compressed data.
Ideally, hosts should send compressed data, which
requires a compatible compression algorithm. This can
substantially reduce the data transfer times of most image
files.
1-8
Host Computer
Figure 1-1 Bypassed
Image Memory when Host
Compressed
Arrangements
Magenta Magenta
Mono. Image buffer buffer
Buffer Buffers
Cyan Cyan
Buffer Buffer
Image Data
Black Black
Decompression Buffer Buffer
Algorithm
Varnish Varnish
Buffer Buffer
Print Head
Registers SINGLE DUPLEX
1-9
Rule 2. When low, the Flag Bit of a data sequence
indicates that the remaining seven bits of the byte specify
the number of following bytes that represent
non-repeating image data. Here, however, the range
allows a specification of from zero to 31 bytes of data.
Rule 3. The first byte in the Data Field of any command
specifying a Compressed Bit-Map must have the
Compression Flag high, even if a one must be entered as
the number of bytes repeated.
Rule 4. No other algorithm can be used to compress
image data for this card printer.
Figure 1-2 includes examples of data strings employing
compression.
1-10
Figure 1-2
Bit-Map
Compression
0XXX XXXX ---Bytes (0~31)---
Data Compression Flag Off
No. of Non-Compressed Bytes
Non-Compressed Data
Compression Example 1
0001 1111 0001 1111 0001 1111 0001 1111 0001 1111 0000 0011 0000 0011 0000 0011
85 1F 83 03
Compressed Data
1000 0101 0001 1111 1000 0011 0000 0011
Compression Example 2
0001 1111 0001 1111 0001 1111 0001 1111 0001 1111 0000 0100 0000 1011 0000 0011
85 1F 03 04 0B 03
Compressed Data
1000 0101 0001 1111 0000 0011 0000 0100 0000 1011 0000 0011
1-11
1-12
Figure 1-3
Bit-Map
Non-Compressed
1 Byte
1B 5A
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 03 F0 00 00 00
00 0F FC 00 00 00
00 1F FE 00 00 00
00 3F FF 00 00 00
00 3F FF 00 00 00
00 7F FF 80 00 00
00 7F FF 80 00 00
00 7F FF 80 00 00
00 FC 0F C0 00 00
00 F0 03 C0 00 00
00 E0 01 C0 00 00
00 C0 00 C0 01 00
00 C0 00 C0 01 00
x axis
00 C0 00 C0 01 00
00 C0 00 C0 03 00
00 FF FF FF FF 00
00 FF FF FF FF 00
00 FF FF FF FF 00
00 FF FF FF FF 00
00 FF FF FF FF 00
00 FF FF FF FF 00
bit-map in association with compressed data.
00 FF FF FF FF 00
00 FF FF FF FF 00
00 C0 00 00 03 00
non-compressed data. Figure 1-4 shows the same
00 80 00 00 01 00
00 80 00 00 01 00
Figure 1-3 shows how a bit-map relates to associated
00 80 00 00 01 00
00 00 00 00 00 00
0D
Figure 1-4
00
00
00
00
00
00
00
00
00
00
00
00
87
Compressed
02
02
02
02
3C
00
00
00
00
00
00
01
01
01
03
00
00
00
00
00
00
00
00
03
01
01
01
Bit-Map
00
00
00
00
00
00
80
80
C0
C0
C0
C0
C0
C0
C0
02
02
02
02
02
02
02
18
00
00
00
00
99 00 02
84
84
84
84
84
80
FF
FF
0F
03
01
00
00
00
00
FF
FF
FF
FF
FF
FF
FF
FF
00
00
00
00
1B 5A
F0
FC
FE
FF
FF
FF
7F
7F
FC
F0
E0
C0
C0
C0
C0
84
84
84
84
84
84
84
84
C0
80
80
80
03
0F
1F
3F
3F
7F
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0D
1 Byte
1-13
Download Buffer Data Command
Figure 1-5 Buffer Select (YMCK) Parameter
Data Sent verses Compressed vs. Uncompressed Parameter
Data Downloaded (300dpi/11,8dpmm)
Card Mapping
PS p1 p2 data.............................data
First Out
Last In
Image Buffer
IS p1
Print Direction
Card Size
3.375 x 2.125 in
85,7 x 53,9 mm
Partial-
Image
Origin MAXIMUM CARD IMAGING
646 Line Bytes by 1030 Lines
ASSOCIATED COMMANDS
Monochrome Overlay Color
G IH PS
O IV GS
Z vZ IS
P vP
L* vL*
C* vC*
D* vD*
T vT
B vB
I
* Objects drawn with these commands have an upper-left origin.
1-14
Color Printer Data When converting from another color system to CMY, the
Considerations best possible results occur when a table maps each
source color to a visually equivalent CMY printer color.
Such a table must convert all possible printer colors.
Also, the conversions must be fine-tuned to produce
optimum results. However, for RGB data, a simple
conversion can occur via the following:
Y = 255 - B
M = 255 - G
C = 255 - R.
Color data always enters a color image buffer, either as
Yellow, Magenta, or Cyan. This is also true for KdyeO
ribbon, which images with black dye. The command
designates the buffer differently according to the Buffer
Specification Parameter in the command. Note that the
specification for Dye Sublimation only applies to images
produced using a Dye Sublimation Black Ribbon. All
data associated with these commands represent imaging
consisting of five-bits-per-dot.
Whether downloading data for a partial image (GS
command) or for a complete card image (PS command)
the data must match the associated card area. For partial
images (sometimes called logos because of a typical
application) the GS Command Parameters specify the
area imaged. This assures proper line breaks. Any either
over- or under-flow produces an error. For proper
appearance, color images should not overprint other
card printing.
1-15
Monochrome Data P-Series Printers always download monochrome data
Considerations into a Monochrome Image Buffer. In printers without
Laminators, monochrome data commands prefaced with
a “v” designate the Varnish Buffer. Commands without
the “v” preface designate the buffer used for resin
printing. If only one Monochrome Image Buffer exists, the
command designates the buffer differently depending on
the associated data.
However, most color imaging does not need a
pre-established Varnish Buffer to apply the varnish
coating. If no Varnish Buffer is downloaded, the printer
defaults to the Resin Buffer for the application of varnish.
This works for three reasons. First, color ribbons have
resin black followed by varnish panels, both limited to
monochrome data. Second, the primary use of varnish is
to protect the dye sublimation imaging from ultraviolet
radiation. Third, because resin may need no varnish
protection, an inverted-resin bit-map can apply varnish.
The IV command has a parameter setting to produce an
inverted data print. Therefore, when suitable, leave the
Resin Buffer unchanged after printing resin. Then, issue
an IV command to print the varnish.
Note that full-coverage varnish, as required for ultraviolet
protection using dye-sublimation black ribbons, requires
only a buffer clear command (F) followed by the inverted
print command (IV).
A watermark simulation can result by, in effect, punching
holes in the varnish image. Similarly, suitable holes in the
varnish application are necessary to prevent coverage
over Magnetic Stripes or Smart Card Contacts. However,
this concern can be avoided by limiting images requiring
varnish to the card sides without contacts or stripes.
A hologram transfer from an associated ribbon occurs by
printing a Varnish Buffer that images the area of the
ribbon containing the hologram. Both of these images
require data previously downloaded into the Varnish
Buffer.
1-16
Monochrome graphic objects can download into
either a Resin or Varnish Buffer. As with the preceding,
a “v” preface designates a buffer that prints with the
“IV” Command, and commands without the “v” preface
designate a buffer that prints with the “I” Command.
Commands exist for downloads of the following graphic
objects:
P/vP Write Dot
L/vL Write Line
C/vC Write Box
D/vD Write Diagonal Line
T/vT Write Text
B/vB Write Bar-Code
1-17
Bar Codes Bar Codes vary in capacity, size, character sets, and
density. Several industries have adopted specific coding
and bar code formats. A selected Bar Code must match a
code supported by the scanning equipment.
All the Bar Codes offered by the card printers have the
data characters, 2 quiet zones, and Start and Stop
Characters. The Bar Codes can include Text as part of
the Printed Bar Code. Some of the Bar Codes include a
printer-generated Check Digit (or Data Check Sum)
Character automatically or as an option.
A command error condition occurs when Image Data
extends beyond the addressable range of the Image Buffer.
The Bar Code and Text Fields must remain within the ad-
dressable area of the Image Buffer. Each of the Bar Codes,
in the Command B and Appendix-A Descriptions have a
formula to determine a Bar Code Length.
1-18
Control The card printers can perform a variety of print, card,
Commands ribbon, head movement, and other control command
operations.
1-19
Card Handling The following outlines a recommended card handling
Process sequence:
Yellow
Magenta
Cyan
Black
Clear Varnish
4. Duplex - Flip Card - Option
5. Print Card Backside - Option
For color, print:
Yellow
Magenta
Cyan
Black
Clear Varnish
Hologram Lamination
6. Eject Card
Never image or laminate over magnetic stripes or Smart
Card Contacts. Encoding and/or Smart Card Programming
Errors can result. Those with lamination capabilities can
order patches that leave these areas uncovered.
1-20
Sample Card Figure 5-6 shows a printed card along with the
commands used.
Commands Descriptions
Figure 1-6 +RIB Ribbon Type, Monochrome
Sample Monochrome +C 4
F
Thermal Intensity
Clear Mono. Buffer
Card B 512 600 4 0 2 4 100 1 TEST
T 512 75 4 0 0 35 1 Company Name, Incorporated
Write Bar Code
Write Text
T 200 200 0 1 0 50 1 FIRST NAME Write Text
T 200 300 0 1 0 50 1 LAST NAME Write Text
T 200 400 0 1 0 50 1 ACCOUNT NUMBER Write Text
T 65 320 7 1 0 50 0 Reverse text Write Text
L 15 80 970 4 1 Write Line
I Print Monochrome
1-21
Parallel Port Signals P205, P210, P310 and P420 Printers have a Serial Port
Option. Serial equipped printers communicate with the
host over an RS-232C interface using ACK/NAK flow
control. Parallel Ports are standard. The other card printer
models have no Serial Port Option.
Card printers with Parallel Ports communicate with the
host using the following signal lines:
1-22
COMMAND REFERENCE
Figure 2-1
Command Entry
Space
Command String Delimiter—Use Spaces
<Sp> between Commands and Parameters.
Send Key—Press <Rtn> to send Command
Enter String to Printer.
# Placed after and followed by number (n)
(<Esc>#<sp>n<Sp>) directs Command
to Station n.
P1~Pn Indicates Required Parameter(s) in String
{P1~Pn} Indicates Optional Parameter(s) in String
data Indicates Data Position in String
2-1
Command List
COMMAND
DESCRIPTION
Page
Setup Commands
2-2
COMMAND
DESCRIPTION
Page
Tests
2-3
COMMAND
DESCRIPTION
Page
Check Ribbon Type
!RIBBON 2-125
Check Patches Remaining
!RLEVEL
!SB Check Stand-By Mode Settings 2-135
%SERIE Get Printer Serial Number 2-139
%HEAD Get Print Head Serial Number 2-57
!SERIE Get Laminator Serial Number 2-138
!SIDE Check Laminator Mode 2-141
V Check Printer Type/Version 2-149
!V Return Operational Parameter 2-150
!W Move Card Backward 8 cm 2-153
!X Check Command Initiator 2-158
Image Data Download Commands
2-4
COMMAND
DESCRIPTION
Page
Print Commands
2-5
A - Print Test Card
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Where:
None =
Standard Test Card(s)
1 = Printer Test Card
2 = Magnetic Encoder Test Card
3 = Lamination Test Card
Figure 2-2
Standard
Monochrome
Test Cards
Figure 2-3
Standard
Color Test Cards
Figure 2-4
Printer and
Laminator
Card Sides
2-6
!AO - Check Patch Sensors
Where:
0 = Upper laminator patch position sensors
1 = Lower laminator patch position sensors
Where:
None = Default settings
0 = X-Axis Sensor
1 = Y-Axis Sensor
2-7
!AT - Check Heat Offset
Syntax <Esc>#-1-!AT p1
Where:
0 = Top Heat Roller
1 = Bottom Heat Roller
2-8
ATM - Set Card Feeding Mode
Description Select card feeding mode and control how printer reacts
to an out-of-card condition.
Syntax <Esc>ATM p1
2-9
&B - Load Magnetic Encoder Track Write Buffer
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Load data into the write buffer for a single selected track
of encoding
Where:
1 = Track 1 ASCII data
2 = Track 2 ASCII data
3 = Track 3 ASCII data
11= Track 1 hexadecimal data*
12= Track 2 hexadecimal data*
13= Track 3 hexadecimal data*
data =
Each track has unique character and length
limitations due to formatting, and each has its own
data buffer. When <p1> = 1..3, <data> should be
expressed as a simple string of ASCII characters. If
<p1> = 11..13, <data> should be expressed as a
variable length sequence of 2-digit ASCII
hexadecimal numbers.
2-10
&B - Load Mag Encoder Track Write Buffer (Continued)
2-11
+B - Serial Interface Rate
Where:
0 = 9600 (Default)
1 = 19200
2 = 38400
3 = 57600
Where:
None = ACK after Baud switch
1 = ACK before Baud switch
2-12
+BS - Set Black Synchro
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+BS p1
Parameters p1 = Speed
Where:
0 = High speed printing
1 = High quality printing
2-13
B/vB - Write Bar Code
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Figure 2-5
Bar Code Rotation
Samples
2-14
B/vB - Write Bar Code (Continued)
Where:
1 = yes
0 = no.
data =
Represents a fixed data field. Each bar code type
has a differing data field length and allowable
character requirements. See Appendix A.
A printer error occurs when a bar code extends beyond the
addressable area of the image buffer. See Appendix A for
field size calculations for total bar code length and height.
2-15
&C - Set Coercivity
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&C p1
Parameters p1 = Coercivity
Where:
0 = Low
1 = High
2-16
+C - Adjusts Monochrome Intensity
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+C p1
Parameters p1 = Intensity
Where:
5 = Printer default
0~10 = range
2-17
+$C - Adjust Color Contrast
Models Supported P110i, P120i, P210i, P310c, P310f, P310i, P320i, P330i,
P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+$C p1 p2
Where:
0 = Yellow (Y)
1 = Magenta (M)
2 = Cyan ©)
3 = Dye Sublimation Black (Kdye)
p2 = Contrast:
Where:
5 = Printer default
0~10 = p2 range
2-18
!CC - Get Number of Cards Printed
Models Supported P110i, P120i, P210i, P310i, P320i, P330i, P420i, P430i,
P520i
Syntax <Esc>!CC
Parameters None
2-19
!CCLN - Check Cleaning Parameters
Syntax <Esc>#-1-!CCLN
Parameters None
2-20
+CCLN - Set Cleaning Parameters
Syntax <Esc>#-1-+CCLN p1 p2
2-21
%CDER - Get Magnetic Encoder Read Settings
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Returns the magnetic encoder read settings that are presently in
effect, as set by the &CDER command. The string returned is
formatted like this:
Syntax <Esc>%CDER
Parameters None
2-22
&CDER - Set Magnetic Encoder Track Read En-
code Parameters
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&CDER p1 p2
<Esc>&CDER p1 p2
Where:
0 = Reset of ALL tracks to ISO default
configuration parameters
2-23
&CDER - Set Magnetic Encoder Track Read Encode Pa-
rameters (Continued)
Where:
Acceptable values = 3, 4, 5, 6, and 7
2-24
&CDEW - Set Magnetic Encoder Track Write En-
code Parameters
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&CDEW p1 p2
<Esc>&CDEW p1 p2 p3
Where:
0 = Reset of ALL tracks to ISO default
configuration parameters
2-25
&CDEW - Write Custom Track Data (Continued)
Where:
Acceptable values = 3, 4, 5, 6, and 7
2-26
+CDOTS - Image Print Quality Compensation
Factor
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Card design elements that run the length of a card side
can sometimes appear with density variations. An ID
badge containing a portrait and a solid, card length, bar
at a side can exhibit these variations.
Any changes should occur in small increments followed by
card prints using trial-and-error as a basis. Zebra Technical
Support guidance is recommended.
Where:
0 = No change
1 ~ 50 = Compensation factor
p2 = 1 = Return current compensation factor
2-27
+CH - Adjust Hologram Intensity
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+CH p1
Parameters p1 = Intensity
Where:
5 = Printer default
0~10= range
2-28
CHECK - Return Checksum
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>CHECK
2-29
CLEAN - Set Cleaning Card Sequence
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
2-30
!CLEAN - Clean the Laminator
Parameters None
Syntax <Esc>+CLEAN
C-31
%CLN - Check Due-for-Cleaning Parameters
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Where:
p1 = Total number of Head-down Image Passes
made by printer since new (note that each
ribbon panel used counts as a pass)
2-32
CLNCARD - Set Cleaning Parameters
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>#-1-CLNCARD p1 p2
2-33
CRB - Set Reject Box Card Count Warning Thresh-
old
Description P420, P520, and P720 Printers have a counter that keeps
track of the number of cards sent to the Rejected Card
Box. This command allows selection of a card count that
produces the REJECTED BOX FULL message on the
LCD. Note that, after removing the cards, users press the
Panel Button. For this command, release of the Panel
Button resets the counter. The box can safely hold twenty
30-mil cards, and P420, P520, and P720 Printers ship
with this setting. Users of less thick cards may wish to
increase the count.
Syntax <Esc>CRB p1
Where:
10 = Default
2-34
!CT - Check Cooling Time
2-35
+CT - Set Cooling Time
Description Adjusts the transition time for cards passing between the
lamination rollers and the output hopper
Where:
Default = 0
2-36
+CV - Adjust Clear Varnish Intensity
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+CV p1
Parameters p1 = Intensity
Where:
5 = Default
0~10 = Range
2-37
C/vC - Write Box (Monochrome)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>C p1 p2 p3 p4 p5 p6
<Esc>vC p1 p2 p3 p4 p5 p6
Where:
0 = Reverse Bit Map—Clear Print Area and load
Reverse Bit Map Image
1 = Standard Bit Map—Clear Print Area and load
Bit Map Image
2 = Merge Bit Map—Overwrite Background Bit
Map Image with Printable Dot
Locations,
leaving Non-printing Dot
Locations alone
Hollow Box
Image Origin
2-38
!D - Move Print Head Down
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Moves the Print Head assembly down to the card (and
platen roller)
Syntax <Esc>!D
Parameters None
2-39
&D - Change Track Density
Models Supported P205, P210i, P310c, P310f, P310i, P320i, P330i, P420c,
P420i, P520c, P520i, P720c
Syntax <Esc>&D p1 p2
Where:
1 = Tracks 1 and 3
2 = Track 2
3 = Tracks 1 and 3
Where:
75 = 75 bpi
210 = 210 bpi
2-40
+DLAMI - Set Lamination Configuration
Syntax <Esc>+DLAMI p1 p2
Where:
0 = Disable
1 = Enable
p2 = Laminator
.000n
Where:
0 = Disable
1 = Enable
2 = Enable and flip to laminate (applies to
YMCKO and YMCK ribbons to laminate the
color side after imaging Kresin on the
monochrome side)
Examples Using Print YMCK on both sides then laminate first side:
YMCKO Ribbon
+DLAMI 0 1 Laminate enabled (side-1 default)
IS 0 Print Y (side 1)
IS 1 Print M (side 1)
IS 2 Print C (side 1)
I Print K (side 1)
IV 10 No varnish, just a return
MF Flip Card & return
+DLAMI 0 0 Disable both varnish & lamination
IS 0 Print Y (side 2)
IS 1 Print M (side 2)
IS 2 Print C (side 2)
I Print K (side 2)
IV Flip card, laminate, eject (no varnish)
2-41
+DLAMI - Set Lamination Configuration (Contin-
ued)
On first side, print YMCK then laminate. On second
side, print YMCKO panels (no laminate):
+DLAMI 0 1 Laminate enabled (side-1 default)
IS 0 Print Y (side 1)
IS 1 Print M (side 1)
IS 2 Print C (side 1)
I Print K (side 1)
IV 10 No varnish, just a return
MF Flip Card & return
+DLAMI 1 0 Varnish enabled
IS 0 Print Y (side 2)
IS 1 Print M (side 2)
IS 2 Print C (side 2)
I Print K (side 2)
IV Print O (side 2), flip, laminate, & eject
2-42
+DLAMI - Set Lamination Configuration (Contin-
ued)
On first side, print YMCK panels then laminate. On
second side, print just last K panel:
+RIB 10 YMCKOK ribbon in use
+DLAMI 1 0 Laminate enabled (side-1 default)
IS 0 Print Y (side 1)
IS 1 Print M (side 1)
IS 2 Print C (side 1)
I Print K (side 1)
IV 10 No varnish, just a return
MF Flip Card & return
+DLAMI 0 0 Varnish enabled
I 20 Print K (side 2) & return
MO Flip card, laminate, & eject
On first side, print YMCKO panels (no lamination). On
second side, print just last K panel (No lamination):
+RIB 10 YMCKOK ribbon in use
+DLAMI 1 0 Varnish enabled
IS 0 Print Y (side 1)
IS 1 Print M (side 1)
IS 2 Print C (side 1)
I Print K (side 1)
IV 10 Print O & return
MF Flip Card & return
+DLAMI 1 0 Varnish enabled
I 20 Print K (side 2) & return
MO Eject card
2-43
+DLAMI - Set Lamination Configuration (Contin-
ued)
On first side, print K and laminate. On second side, print
K and varnish:
+DLAMI 0 1 Laminate enabled (side-1 default)
IS 3 Print K (side 1)
IV 10 No varnish, just a return
MF Flip Card & return
+DLAMI 1 0 Varnish enabled
IS 3 Print K (side 2)
IV Print O, flip card, & laminate
Print KdyeO on both sides without lamination:
+DLAMI 1 0 Varnish enabled
IS 3 Print K (side 1)
IV 10 Print O (side 2) & return
MF Flip Card & return
+DLAMI 1 0 Varnish enabled
IS 3 Print K (side 2)
IV Print O (side 2) & eject
2-44
D/vD - Draw Diagonal Line (Monochrome/Overlay)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>D p1 p2 p3 p4 p5 p6 p7
p7 = Graphic Mode:
Where:
0 = Reverse Bit Map—Clear Print Area and load
Reverse Bit Map Image
1 = Standard Bit Map—Clear Print Area and load
Bit Map Image
2 = Merge Bit Map—Overwrite Background Bit
Map Image with Printable Dot Locations,
leaving Non-printing Dot Locations alone
Diagonal Line
Figure 2-2 Image Origin
Lines (x)
Diagonal Line Values
0 P1
P2
D
o
t P5
s P4 P6-2
(y)
P3 P6-1
2-45
E - Retransmit Last Response
Models Supported P110i, P120i, P310c, P310f, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
ModelsDescription
Supported This command directs the printer to repeat the last Status
Message.
2-46
&E - Write Single Track
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
2-47
&E* - Write Track Buffers
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Encodes, Writes, and Reads (verifies) for all tracks of data
stored in Printer Memory.
The printer positions a card at the Encoder Station and
magnetically writes data (previously entered in memory)
to the pre-selected ISO track(s). If no card is present in
the Card Path, a card is sent from the Card Feeder.
Following the Encoder Write Operation, the card returns
to the Write-Ready Position, and a read-verification of
Encoded Card Data follows. The card then travels to the
Print-Ready Position, and an Encoder Data Buffer Clear
occurs in preparation for the next operation.
Syntax <Esc>&E*
Parameters None
2-48
+EC - End of Print
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Start of Start of
Printing Printing
P210 P310
X and EC X and EC
Origin Origin
Syntax <Esc>+EC p1
<Esc>+EC 10
2-49
$F - Clear Color Image Buffers
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Clears the yellow, cyan, and magenta color panel image
buffers to the default (all pixels off) state.
Syntax <Esc>$F
Parameters None
2-50
!FF - Set Ribbon Color Sequence
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>!FF p1
2-51
$FP - Clear Specified Bit-Maps
Models Supported P110i, P120i, P210i, P310c, P310f, P310i, P320i, P330i,
P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>$FP p1
Where:
0 = Yellow
1 = Magenta
2 = Cyan
3 = Dye Black (Using KdyeO Ribbon)
2-52
FS - Control Use of Card Feed Sensor
Description The printer provides a sensor located near the card feed
slot that can detect when a card has been inserted into
the slot by the user. When the card feed sensor is
enabled (and the ‘ATM’ feature is enabled - see ATM
command) the printer can accept a card fed by the user
without requiring the user to actually start a print job on
the host or press a button on the printer - the printer
accepts a card for printing in much the same way that a
ATM machine accepts a card, hence, “ATM mode”.
In some environments, it may be preferable to have the
printer act like earlier single card models, where the
printer card feed mechanism is activated when a print
job is started, rather than the mere presence of a card in
the card feed slot. This command, in conjunction with
the “ATM” command, controls how the printer handles
card feeding..
Syntax <Esc>FS P1
2-53
F/vF - Clear Monochrome Image Buffers
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>F
Parameters None
2-54
GS - Download Color Graphic
p2 = Data Mode:
Where:
32 = Uncompressed Data - 256 levels
(00~FF Hex.)
30 = Compressed Data - 32 levels (00-1F Hex.)
2-55
G/vG - Initialize Monochrome Graphic (B/W)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>G p1 p2 p3 p4 p5 p6
Where:
0 = Reverse Bit Map—Clear Print Area and load
Reverse Bit Map Image
1 = Standard Bit Map—Clear Print Area and load
Bit Map Image
2 = Merge Bit Map—Overwrite Background Bit
Map Image with Printable Dot
Locations,
leaving Non-printing Dot
Locations alone
2-56
%HEAD - Get Print Head Serial Number
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>%HEAD
Parameters None
2-57
I - Print Monochrome Panel
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Where:
None =
Monochrome Buffer Print and card eject
10 = Card Print and return to Print Ready Position
20 = For Kr or Ks Ribbons—Prints card and
returns card to Print Ready Position. When
appropriate, synchronizes ribbon
For P520s using YMCKrOKr Ribbon—Ejects
card after last application of either Kr or
laminate. A prior +DLAMI Command
determines when the I 20 Command invokes
lamination.
30 = Print card but leave in place—used when
next Station is BUSY.
I 20
IV
MF
I 20
IV
MO
2-58
IH - Print Hologram Overlay
Where:
None =
Prints 100% of Image Buffer as Hologram
Lamination and ejects card
2-59
IM - Print Color Test Card
Models Supported P110i, P120i, P210i, P310c, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
Syntax <Esc>IM
Parameters None
Figure 2-3
Color Test Card
2-60
IMB - Print Gray Test Card
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>IMB
Parameters None
Figure 2-4
Print Black Test Card
2-61
IS - Print Card Panel
Models Supported P110i, P120i, P210i, P310c, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
Syntax <Esc>IS p1
Where:
0 = Yellow (Y)
1 = Magenta (M)
2 = Cyan ©)
3 = Dye Sublimation Black (Kdye)
2-62
IV - Print Clear Varnish
Where:
None =
Print Varnish from all of Image
Buffer and
eject card
1 = Print Varnish using Inverted Image Buffer data
and eject card
10 = Print card and return card to Print Ready
Position
11 = Print Varnish using Inverted Image Buffer
data and return card to Print
Ready Position
30 = Print card but leave in place (used when
next Station is BUSY
31 = Similar to 30, but inverts Image data
2-63
+ISC - Set Smart Card Serial Port Data Rate
Syntax <Esc>+ISC p1
2-64
+ISC2 - Set Smart Card Serial Port Data Rate
(Advanced)
Syntax <Esc>+ISC2 p1 p2 p3 p4
2-65
ISERIES - i-Series Printer Test
Models Supported P110i, P120i, P210i, P310i, P320i, P330i, P420i, P430i,
P520i,
Syntax <Esc>ISERIES
Parameters None
2-66
J - Print Multiple Monochrome Cards
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>J p1
2-67
!L - Check Status: P720 Laminator Sensor Levels
Parameters p1 = Sensor
Where:
None = All sensors
0 = Ribbon Top (0~255)
1 = Ribbon Bottom (0~255)
2 = Temperature Top (0~255)
3 = Temperature Bottom (0~255)
4 = Decurling (0~255)
5 = Entry (0~255)
6 = X Top (0~255)
7 = Y Top (0~255)
8 = X Bottom (0~255)
9 = Y Bottom (0~255)
10 = Top Ribbon Detect (0~7)
11 = Bottom Ribbon Detect (0~7)
2-68
!L - Check Status of Printer Sensors
2-69
P330i Only: In addition to the values described above, the P330i
model returns four additional values, all formatted as
3-fixed-digit decimal values separate by a single space.
The additional values returned by the P330i are:
Card feed sensor level - A value under 32 indicates
the presence of a card. A value over 192 indicates the
absence of one.
Yellow ribbon color sensor level - Values below 100
(typically) indicate that a yellow or overlay ribbon panel is
in print position.
Blue ribbon color sensor level - Values below 100
(typically) indicate that a cyan or overlay ribbon panel is
in print position.
Smart card position sensor level - Values under 32
indicate the presence of a card in the smart card station
position, whereas values over 192 indicate the absence of
one.
Syntax: <Esc>!L
Parameters: None
2-70
$L - Draw a Horizontal Line/Rectangle in a Color
Buffer
2-71
&L - Read Single Track
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&Ln
<Esc>&L n
Where:
1 = Return Track 1 data as an ASCII string
2 = Return Track 1 data as an ASCII string
3 = Return Track 1 data as an ASCII string
2-72
&L - Read Single Track - Continued
2-73
+$L - Adjust Specified Color Intensity
Models Supported P110i, P120i, P210i, P310c, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+$L p1 p2
Where:
0 = Yellow (Y)
1 = Magenta (M)
2 = Cyan ©)
3 = Dye Sublimation Black (Kdye)
p2 = Intensity
Where:
5 = Printer default
0~10 = p2 range
2-74
!LC - Check Lamination Counter
Parameters None
Syntax <Esc>!LC
Parameters None
2-75
$LD - Initialize a Color Buffer to a Specified Inten-
sity Level
Models Supported P110i, P120i, P210i, P310c, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
2-76
!LT - Check Lamination Temperature
Where:
0 = Top
1 = Bottom
p2 = If not 0, returns Default Value
2-77
+LT - Set Lamination Temperature
Where:
0 = Upper
1 = Lower
p2 = Temperature
Do not set lamination temperature above 2000F.m an
ISO-track-specified encoding format to ASCII. See Appen-
dix C for default ANSI/ISO data formats and custom data
encoding commands.
2-78
!LTI - Check Lamination Time
2-79
+LTI - Set Lamination Time
Description Sets time it takes for cards to pass between the lamination
rollers
2-80
L/vL - Draw Horizontal Line (Monochrome/Over-
lay)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>L p1 p2 p3 p4 p5
Where:
0 = Clear Print Area and load Reverse Bit Map
Image
1 = Clear Print Area and load Standard Bit Map
Image
2 = Overwrite Background Bit Map Image in
Printable Dot Locations, leaving Non-Printing
Dot Locations alone
2-81
!M - Move Print Head Up
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Moves the Print Head Assembly up from the card (and
platen roller)
Syntax <Esc>!M
Parameters None
2-82
MB - Return Card To Card Feeder
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Moves the card in the reverse direction and returns the
card to the card feed point (just inside the card printer)
from any position between the card feeder and the
output hopper.
When sent to P520 laminator:
Returns a card in laminator to card flip station.
Syntax <Esc>MB
Parameters None
2-83
MC - Clear Media Path
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Sends any card in the media path of the printer to the
output hopper
NOTE: A ribbon error can leave a card in the printer. if
issued at power-on, this command assures a clear media
path for subsequent operations.
Syntax <Esc>MC
Parameters None
2-84
MCL - Move Contactless
Syntax <Esc>MCL p1 p2
p2 = Direction
Where:
0 = Forward
1 = Backward
2-85
ME - Exit Card To Output Hopper
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Moves and exits a single card from any position to the
output hopper.
When sent to a P520 laminator, sends a card in the
laminator to the output hopper.
2-86
MF - Flip Card
Syntax <Esc>MF
Parameters None
2-87
MI - Move Card Into Print Ready Position
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Moves a card from the card input hopper to the print
ready position
2-88
MIB - Move Card Back To Print Ready Position
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>MIB
Parameters None
2-89
MM - Move Card Through Printer
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
2-90
M/m - Multiple Command
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
<Esc>M 3 MI[!D[!M[MO
2-91
MO - Move Card To Output Hopper
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>MO
Parameters None
2-92
MR - Check for Card Presence
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
2-93
MRB - Move Card to Reject Box
Syntax <Esc>MRB
Parameters None
2-94
MS - Move Card To Smart Card Programmer
Syntax <Esc>MS
Parameters None
2-95
MS - Move Card To Smart Card Programmer
Syntax <Esc>MS p1
2-96
&– Select Magnetic Encoding Standard
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&N P1
2-97
!NL - Get Printer Impression and Error Counters
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Every time the printer makes a single printing pass over a
card, the printer increments its impression counter, and
saves this value in non-volatile memory. The printer also
maintains a count of the number of times it failed to print
a card due to mechanical and print engine related
problems.
This command allows the host to read the value of both
of these counters. The values are reported in ASCII
decimal, seperated by a space, with the print impression
counter value reported first.
The impression counter does not necessarily reflect the
total number of CARDS printed. For example, a
full-color single-sided card printed using a YMCKO ribbon
will require up to 5 print impressions - one for each
ribbon panel Y, M, C, K and O - to generate a single
printed card. The !CC command (described elsewhere in
this document) can be used to get the actual number of
cards printed.
Syntax <Esc>!NL
Parameters None
2-98
!O - Check Card Offset
Where:
If p1 is not 0, Printer returns default value.
2-99
+O - Print Offset X-Axis
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+O p1
Where:
8 = Default
0~20 = Range
2-100
+OCL - Offset Contactless
Syntax <Esc>+OCL p1
2-101
!OFP - Check X-Axis Patch Offset
Where:
0 = upper
1 = lower
2-102
+OFP - Adjust X-Axis Laminator Patch Offset
Where:
0 = upper
1 = lower
p2 = Offset
Where:
Range = 100~800
2-103
+OLP - Offset Overlaminate Patch
2-104
!OP - Check Patch Offsets
Where:
0 = Top
1 = Bottom
P2 = Axis Selection
Where
0 = X Axis
1 = Y Axis
p3 = If different than 0, returns default value
2-105
+OP - Adjust Laminator Patch X and Y Offset
Where:
0 = Top
1 = Bottom
Where:
0 = X Axis
1 = Y Axis
2-106
+OS - Smart Card X-axis Offset
Syntax <Esc>+OS p1
Where:
112 = Default*
0~192 = Range*
2-107
O/vO - Load Single Line Bit-map (Monochrome)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Parameters data =
Uncompressed or compressed monochrome bit-map
data. Data length must match the line length
specified in the proceeding “G” command.
<esc>Odata Line1
<esc>Odata Line2
<esc>Odata Line3
etc.
2-108
O/vO - Load Single Line Bit-map (Continued)
EscO
Data
Figure 2-6 1 Byte
CR
Line by Line Image
Object &
Hexadecimal Code 1B 4F 00 00 0D
1B 4F 00 00 0D
1B 4F 00 00 0D
1B 4F 00 00 0D
1B 4F 03 F0 0D
1B 4F 0F FC 0D
1B 4F 1F FE 0D
1B 4F 3F FF OD
1B 4F 3F FF OD
1B 4F 7F FF OD
1B 4F 7F FF OD
1B 4F 7F FF OD
1B 4F FC 0F OD
1B 4F F0 O3 OD
1B 4F E0 01 OD
Data
Figure 2-7
1 Byte
CR
Line by Line Image
Object &
1B 4F 5B 1B 00 0D
Hexadecimal Code 1B 4F 00 5B 0D 0D
with control 1B 4F 5B 1B 5B 0D 0D
1B 4F 5B 5B 6A 0D
characters 1B 4F C5 5B 1B 0D
2-109
+OY - Print Offset Y-axis
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+OY p1
Where:
18 = Default
2-110
!P - Move Card Forward 8 cm
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>!P
Parameters None
2-111
&P - Check Card Present - Encoder
Syntax <Esc>&P
Parameters None
2-112
+PRF - Pre-Feed a Card Close to the Print Area
Syntax <Esc>+PRF p1
0 = Disable Pre-Feed
1 = Enable Pre-Feed
2-113
PS - Download Color Image Buffer
Models Supported P110i, P120i, P210i, P310c, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
Where:
0 = Yellow (Y)
1 = Magenta (M)
2 = Cyan ©)
3 = Dye Sublimation Black (Kdye)
p2 = Data Mode:
Where:
32 = Uncompressed Data - 256 levels
(00~FF Hex.)
30 = Compressed Data - 32 levels (00~1F Hex.)
data =
Uncompressed or compressed Color Bit-Map Data
for a single separated color.
Where the Color Buffer Maximum is:
655,360 Compressed Bytes
2-114
P/vP - Draw Single Dot (Monochrome/Overlay)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>P p1 p2 p3
vP p1 p2 p3
Where:
0 = Clear print area and load reverse bit map
image
2-115
R - Reset
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>R
Syntax <Esc># 1 R
(P520 Laminator)
Parameters None
2-116
!R - Print Head Resistance
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>!R p1
Parameters p1 = Resistance
Where:
For P310, P320, P420, P520, P720:
p1 = 1400~2350
<Esc>!R 1567
2-117
&R - Reset Magnetic Encoder
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
This command does not return the track data format or den-
sity to default values. This command should be sent when
reformatting the encoder parameters. Do not send this com-
mand for every card.
Syntax <Esc>&R
Parameters None
2-118
>R - Read Data From Smart Card Serial Interface
Description This command will read data from the smart card serial
interface and pass it back to the host, unchanged, until
the internal serial port receive buffer is emptied. The
printer logic constantly monitors and buffers data
received by the smart card serial port (even when the
>R command is not executing) so there is little danger
that receive data will be lost unless the internal serial
receive buffer overflows.
To receive a complete data stream from the smart card
serial port, simply continue to issue >R commands,
adding whatever data is sent back to the host into a
buffer until the expected end-of-data token or packet
block is received.
The communication mode (contact vs. contactless) used
is dependent on the mode set by the last >W or >WB
command that was issued.
The printer logic does not modify the data from the
serial port that is passed back to the host in any way, but
the printer logic will add the usual (OK) acknowledge
code at the end of the data stream for each invocation of
the >R command.
Syntax <Esc>>R
Parameters None
Communication mode (contact vs. contactless) depends
on the mode specified in the last >W or >WB
command issued.
2-119
+RB - Set Reject Box Usage
Syntax <Esc>+RB p1 p2
Where:
0 = Encoding & printing
1 = Encoding only
2 = Printing only
p2 = Hopper used
Where:
0 = Exit hopper
1 = Reject hopper
Examples: +RB 1 1
+RB 2 0
2-120
>RB - Read Data From Smart Card Serial Inter-
face in ASCII hex Form
Description Like the >R command, this command will read data
from the smart card serial port receive buffer and pass it
back to the host until the contents of the receive buffer
have been emptied. Unlike the >R command, which
sends data to the host in raw binary form, the >RB
command formats the data as a stream of 2-digit ASCII
hexadecimal values. Each byte received is represented
by exactly 2 digits (with leading zero if needed). There is
NO intervening space placed between values sent.
Alphabetic digits (A through F) are sent in lowercase.
The example below shows how the data sent to the host
would be formatted:
05413fb50d
Note the presence of leading 0’s for some values (05
and 0d), the use of lowercase values for alpha digits,
and the lack of spaces between each 2-digit pair.
The communication mode (contact vs. contactless) used
is dependent on the mode set by the last >W or >WB
command that was issued.
Syntax <Esc>>RB
Parameters None
Communication mode (contact vs. contactless) depends
on the mode specified in the last >W or >WB
command issued.
2-121
RCBC - Reset Rejected Card Box Counter
Syntax <Esc>RCBC
Parameters None
2-122
>RG - Contact Internal Gemplus Smart Card Read
Command
Description Read data from the Gemplus internal smart card reader.
The >RG command formats the received data (from the
reader) as a stream of 2-digit ASCII hexadecimal values.
Each byte received is represented by exactly 2 digits
(with a leading zero if needed. There is NO intervening
space placed between values sent. Alphabetic digits (a
through f) are sent in lower case.
Syntax <Esc>>RG
Parameters None
2-123
+RIB - Set Ribbon Type
Description For non RFID printers, sets printer operation for either a
standard or one of the nonstandard ribbons, as follows:
• standard ribbons:
kresin (Monochrome—except P310)
YMCKresinO
KdyeO
KresinO
• Nonstandard ribbons:
YMCKresinOKresin
YMC
YMCKresin
YMCKresin_Kresin
Syntax <Esc>+RIB p1
Where:
0 = Standard ribbon
4 = Monochrome ribbon
10 = 6-Panel ribbon (YMCKresinOKresin)
11 = 3-Panel ribbon (YMC)
13 = 4-Panel ribbon (YMCKresin)
21 = 5-Panel ribbon w/two Kresin (YMCKresin_Kresin)
IS 0 Image Yellow
IS 1 Image Magenta
IS 2 Image Cyan
I Image Black & Return (YMCKOK only)
IV 10 Image Varnish and Return
I 20 Image Black and Return
MO Eject Card
2-124
!RIBBON - Check Ribbon Type
Where:
0 = Upper
1 = Lower
Where:
None = Current ribbon type setting
0 = Default Temperature for Ribbon Type
1 = Temperature Setting for installed
2 = X Offset Setting for installed
3 = Y Offset Setting for installed
4 = Cassette available (Upper or Lower)
5 = Color Signature for installed
6 = Part Number for installed
2-125
!RIBBON - Get ribbon type installed
Syntax: !RIBBON
Parameters: None
2-126
+RIBBON - Set Ribbon Type
Where:
0 = Top
1 = Bottom
p2 = Ribbon type
Where:
0 = No Ribbon
1 = Unknown Ribbon
2 = Single Side Lamination Top
3 = Single Side Lamination Bottom
4 = 800015-714
5 = 800015- 712
6 = 800015-713
7 = 800015-715
8 = 800015-716
9 = 800015-717
10 = 800015-718
19 = 800015-031
2-127
!RIBPN- Get ribbon part number
Syntax: !RIBPN
Parameters: None
Part numbers for printer supplies (including ribbons) are
subject to change. Consult the most recent Card Printer
Supplies List to ensure the part numbers for ribbons to be
ordered is correct.
2-128
!RIBLEN- Get number of remaining panels on ribbon
Models Supported: P110i, P120i, P210i, P310i, P320i, P330i, P420i, P430i,
P520i
Syntax: !RIBLEN
Parameters: None
2-129
+RO - X-Axis Offset, Relative
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Offsets X-axis print origin plus or minus dot values from
current setting
NOTE: For entry of exact X-Axis offsets, see the +O
command.
Parameters p1 = Direction
Where:
0 = increase
1 = decrease
p2 = Offset (default = 1)
2-130
+ROY - Y-Axis Offet, Relative
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Offsets Y-axis print origin plus or minus dot values from
current setting
NOTE: For entry of exact Y-Axis offsets, see the +OY
command.
Parameters p1 = Direction
Where:
0 = increase
1 = decrease
p2 = Offset (default = 1)
2-131
!SA - Self Adjust
Models Supported P110i, P120i, P310c, P310f, P310i, P320i, P330i, P420c,
P420i, P430i, P520c, P520i, P720c
2-132
9. Mag encoder saturation threshold in mV
10. Mag encoder power setting (0-255)
If the external smart-card encoding option is installed:
11. Smart card station card position sensor active
threshold in mV
12. Smart card station card position emitter power
setting (0-255)
For all other printers, the values returned are:
1. Card position sensor active threshold in mV
2. Card position emitter power setting (0-255)
3. Ribbon color sensor active threshold in mV
4. Ribbon color sensor power setting (0-255)
5. Desired ribbon take-up spool motor voltage
(while printing) in 0.1V units (e.g. 185 = 18.5V)
6. Ribbon motor power setting for printing (0-255)
(lower values indicate a higher voltage/power
setting)
If the mag encoder option is installed:
7. Mag encoder saturation threshold in mV
8. Mag encoder power setting (0-255)
2-133
!SAN - Perform pre-calibration baseline testing
Syntax <Esc>!SAN
Parameters (NONE
2-134
!SB - Check Stand-By Mode Settings
Parameters None
2-135
+SB - Configure Laminator Stand-By Mode
2-136
SDATA - Force immediate save of parameters
Description Many of the printer parameters that can be set using the
various commands described in this reference are
backed up to the printers non-volatile memory on a
periodic basis; usually once every 10 minutes.
However, if parameters are changed and the printer is
powered down before the auto-save cycle has started,
the new values will not be saved, and the printer will
power up using the older settings.
The SDATA command can be used after modifying one
or more parameters to force a save operation. This
command is best used following a sequence of
parameter setting commands, so all the changes can be
saved in one write operation. The FLASH memory
used by the printer to save its settings can only tolerate a
finite number of write cycles, so the number of write
cycles that are initiated by SDATA should be restricted
to the minimum necessary.
Syntax <Esc>SDATA
Parameters None
2-137
!SERIE - Get Laminator Serial Number
Parameters None
2-138
%SERIE - Get Printer Serial Number
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>%SERIE
Parameters None
2-139
SF - Synchronize Film (Overlaminate)
Parameters None
2-140
!SIDE - Check Lamination Mode
Parameters None
2-141
+SIDE - Set Lamination Mode
Parameters p1 = Mode
Where:
0 = Single side
1 = Double side
Where:
0 = Single side laminated faces up
1 = Single side laminated faces down
None =
Same as 0's for both parameters
2-142
&SVM - Disable/Enable Magnetic Encoding Verifi-
cations
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&SVM p1
Parameters p1 = Disable/Enable
Where:
0 = Disable
1 = Enable (Default)
2-143
&T - Magnetic Encoder Card Eject
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>&T
Parameters None
2-144
+TC - Set Laminator Head Temperature
Where:
165 @ P520 overlaminate
155 @ P520 varnish
2-145
TF - Film Type
Syntax <Esc># 1 TF p1
Where:
0 = Varnish
1 = 1-mil Clear Overlaminate
10 = Hologram Varnish
12 = 0.6-mil Hologram Patch
13 = 1-mil Hologram Patch
19 = Full Alternated with Mag. Patches
2-146
T/vT - Draw Text (Monochrome/Overlay)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Where:
Value Description Origin
0 No rotation Lower Left
1 90 degrees Lower Left
2 180 degrees Lower Left
3 270 degrees Lower Left
4 No rotation Centered
5 90 degrees Centered
6 180 degrees Centered
7 270 degrees Centered
p4 = Font selection
Where:
0 = 100 points Normal
1 = 100 points Bold
2-147
T/vT - ASCII Text (Continued)
p6 = Vertical (Y-axis) Height (before rotation) of Text (data
string) Graphic in dots as measured from top of
ascender to bottom of decender
Examples:
For 28-point normal, p6 = 104
For 28-point bold, p6 = 140
p7 = Graphic Mode:
Where:
0 = Clear Print Area and load Reverse Bit Map
Image
data =
A single line of Modified ANSI Text Data. See
Appendix A for the font characters supported.
The printer interprets the <Space> Character as a Com-
mand Field Delimiter and the <Enter> character as a Com-
mand Terminator. However, except as the first character,
the <Space> character may be used within a Text Data
String without invoking its Delimiter Function.
2-148
V - Check Printer Type/Version
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Where:
None = Returns Printer Type and Firmware
Version.
10 = No error if P310/P320
12 = No error if Magnetic Encoder
13 = No error if Smart Card Docking
14 = No error if Card Flip
20 = No error if Edge-to-Edge Printing
50 = No error if Monochrome Printer
70 = No error if P520
81 = No error if P720
90 = No error if printer also has USB Interface
2-149
!V - Return Operational Parameter
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
2-150
+V - Black Print Speed
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>+V p1
Where:
p1 = 1 ~ 25 (Default = 4)
Note: 1 is fast
9 is slow.
2-151
+VL - Set Lamination Speed
Parameters p1 = Speed
Where:
For 1-mil overlaminate ribbon:
p1 = 4500 (default — 4.8mm/s)
2-152
!W - Move Card Backward 8 cm
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>!W
Parameters None
2-153
&W - Change Encoding Direction
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Change the direction that the Encoder starts writing and
reading operations.
Syntax <Esc>&W p1
Where:
0 = Forward
1 = Reverse
2-154
>W - Write Data To Smart Card Serial Port
2-155
>WB - Write Data Formatted in ASCII HEX To
Smart Card Serial Port
2-156
>WG - Contact Internal Gemplus Smart Card
Write Command
Description Write data into the Gemplus internal smart card. The
data field for this command is assumed to be a series of
1 or 2 digit ASCII hexadecimal values separated by a
space. Each 1 or 2 digit ASCII hex value is converted to
an 8-bit value and sent to the smart card reader.
Parameters p1:
0 = Contact smart card.
p2:
0 = Connect serial communication port to contact
smart card reader.
2-157
!X - Check Command Initiator
Models Supported P310c, P310f, P310i, P320i, P330i, P420c, P420i, P430i,
P520c, P520i, P720c
The card printer responds to commands (with data or error
codes) via the bi-directional serial interface only. Printers
with parallel interfaces cannot respond to this command,
(other than flagging an error). In a test environment, card
printers can operate with both interfaces attached and com-
municating with the printer. The printer CPU board has as-
sociated connectors.
Syntax <Esc>!X
Parameters None
2-158
+X - Change Command Initiation Character
Syntax <Esc>+X p1
Where:
p1 = 33~255 Decimal
p1 = 21~FF Hexadecimal
2-159
!Z - Re-Synchronize Card
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Syntax <Esc>!Z
Parameters None
2-160
Z/vZ - Load Bit-map (Monochrome)
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Parameters data =
Uncompressed or Compressed Monochrome
Bit-Map data. The Bit-Map data must match the size
and dimensions specified in the proceeding “G”
command.
2-161
Z/vZ - Load Bit-map Monochrome (Continued)
2-162
. - Clear Error Status Lines
Models Supported P110i, P120i, P205, P210i, P310c, P310f, P310i, P320i,
P330i, P420c, P420i, P430i, P520c, P520i, P720c
Description Clears the paper error (paper fault) and error (fault)
printer return signal status lines. Note that this command
does not execute when sent via the driver. Send the
command directly to the parallel port.
Parameters None
2-163
2-164
Appendix A
A-1
Resident Fonts The Programming Language supports 2 different fonts;
Arial Normal and Arial Bold. The Fonts are proportionally
generated by the printer from 100 Point Normal and 100
Point Bold font descriptions.
$ 4 D T d t Ä Ô ä ô
4
4 20 36 52 64 84 100 116 132 148 164 180 196 212 228 244
% 5 E U e u Å Õ å õ
5
5 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245
& 6 F V f v Æ Ö æ ö
6
6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246
' 7 G W g w Ç × ç ÷
7
7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247
( 8 H X h x È Ø è ø
8
8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248
) 9 I Y I y É Ù é ù
9
9 25 41 57 73 89 106 121 137 153 169 185 201 217 233 349
* : J Z j z Š š º Ê Ú ê ú
A
10 26 42 58 74 90 107 122 138 154 170 186 202 218 234 250
+ ; K [ k Ë Û ë û
B
11 27 43 59 75 91 108 123 139 155 171 187 203 219 235 251
, < L \ l Œ œ Ì Ü ì ü
C
12 28 44 60 76 92 109 124 140 156 172 188 204 220 236 252
- = M ] m Í Ý í ý
D
13 29 45 61 77 93 110 125 141 157 173 189 205 221 237 253
. > N ^ n Î Þ î þ
E
14 30 46 62 78 94 111 126 142 158 174 190 206 222 238 254
/ ? O _ o Ÿ ¿ Ï ß ï ÿ
F
15 31 47 63 79 95 112 127 143 159 175 191 207 223 239 255
A-2
Where:
L = Length of Bar Code
C = Number of Characters
R = Ratio of wide to narrow bars
X = Number of Dots times 0.0033 inches per dot
(0.0847 mm per dot)
For the 5:2 ratio, the X = Dots times 2
The specified minimum recommended height is 0.25
inches (6.35 mm) or 75 dots. The recommend Quiet
Zone is 0.25 inches (6.35mm or 75 dots) or, when
larger, 10 times X.
The set of Characters (49) for Code 39 are as follows:
4 D T
4 4 20 36 100 116
52 64 84
% 5 E U
5 5 21 101 117
37 53 69 85
6 F V
6 6 22 38 102 118
54 70 86
7 G W
7 7 23 39 103 119
55 71 87
8 H X
8 8 24 40 104 120
56 72 88
9 I Y
9 9 25 41 106 121
57 73 89
* J Z
A 10 26 58 107 122
42 74 90
+ K
B 11 27 59 91 108 123
43 75
L
C 12 28 44 60 92 109 124
76
- M
D 13 29 61 93 110 125
45 77
. N
E 14 30 62 94 111 126
46 78
/ O
F 15 31 63 95 112 127
47 79
A-3
Standard 2 of 5 The 2 of 5 Code Symbology encodes all information in
(Code 2/5) the width of the bars. Spaces carry no information . Bars
are wide or narrow and the Wide Bars are set by the
Ratio ®). Spaces are the same width as the narrow bars.
2 of 5 Code supports the numeric characters:
0 through 9
The supported ratio of narrow bar to wide bar widths are:
2:1, 5:2 (2.5:1), and 3:1.
To calculate the full length of a 2 of 5 Bar Code:
L = [ C (2R + 8) + 14] X
Where:
L = Length of bar code
C = Number of characters
R = Ratio of wide to narrow bars
(For 5:2, R = 2.5)
X = Number of Dots times 0.0033 inches per dot
(0.08847 mm per dot)
For 5:2 ratio, the X = Dots times 2
A-4
Interleaved 2 of 5 The name Interleaved 2 of 5 derives from the method
(Code I 2/5) used to encode two characters. The Bar Code Symbol
pairs two characters, using bars to represent the first
character and the interleaved spaces to represent the
second character. Therefore, each character has two
definitions, one for bars and the other for spaces. Each
consists of two wide elements and three narrow
elements. Bars and spaces are wide or narrow and the
wide bars are set by the Ratio ®).
Interleaved Two of Five Code supports the numeric
characters:
0 through 9
The printer automatically adds a leading Zero (0)
Character) to Code I 2/5 Bar Codes with an odd number
of Bar Code Data Characters.
The supported ratio of narrow bar to wide bar widths
are: 2:1, 2:5 (2.5:1), and 3:1.
To calculate the full length of an I 2/5 Bar Code:
L = [ C (2R + 3) + 6 + R ] X
Where:
L = Length of bar code
C = Number of characters
R = Ratio of wide to narrow bars (5:2=2.5)
X = Number of Dots times 0.0033 inches per
dot (0.08847 mm per dot)
Where:
The minimum recommended height of a Code I 2/5 Bar
Code is 0.25 inches (6.35 mm) or 75 dots. Ideally the
Bar Code Height should be 15% of the Bar Code
Length. The recommend “Quiet Zone” is 0.25"
(6.35mm or 75 dots) or, when larger, 10 times X.
A-5
UPC-A UPC (Universal Product Code version A) is the basic
version of UPC and is usually the version seen on grocery
store items in the United States. The symbology encodes
10-digit Universal Product Code numbers. An eleventh
digit, at the beginning, indicates the Type of Product, and
a twelfth digit is a Module Check Digit.
The UPC Code Number and check digit are assigned by:
Uniform Code Council (UCC)
8163 Old Yankee Rd., Ste. J, Dayton, OH 45458 Phone
(513) 435-3870; Fax: (513) 435-4749
UPC-A code supports the numeric characters:
0 through 9
The printer ignores the Ratio Command Parameter
(narrow bar to wide bar width).
The equation to calculate the UPC-A Bar Code length is:
L = (91) X
Where:
L = Length of bar code
X = Number of Dots times 0.0033 inches per dot
(0.08847 mm per dot)
H = (42) X
Where:
H = Height of Bar Code in dots
X = Bar Code Multiplier
A-6
EAN-8 European Article Numbering, now also called IAN
(International Article Numbering), is the International
Standard Bar Code for retail food packages,
corresponding to the Universal Product Code (UPC) in
the United States. The symbology encodes a seven-digit
EAN-8 number. The printer automatically generates an
eighth Check Digit.
Numerous international agencies assign EAN Code
Numbers and Check Digits. See the list at the end of this
appendix.
EAN-8 Code supports the numeric characters:
0 through 9
The printer ignores the Ratio Command Parameter
(narrow bar to wide bar width).
The equation to calculate the EAN-8 Bar Code Length
is:
L = (67) X
Where:
L = Length of bar code
X = Number of Dots times 0.0033 inches per dot
(0.08847 mm per dot)
H = (42) X
Where:
H = Height of Bar Code in Dots
X = Bar Code Multiplier
A-7
EAN-13 EAN-13 is one of two versions of the European Article
Numbering system (EAN) and is a super set of UPC.
EAN-13 has the same number of bars as UPC Version A,
but encodes a 13th digit. The 12th and 13th digits define
the Country Code. The codes 00-04 and 06-09 are
assigned to the United States.
Numerous international agencies assign the EAN-13
Code Numbers. See the list at the end of this appendix.
EAN-13 Code supports the numeric characters:
0 through 9
The printer ignores the Ratio Command Parameter
(narrow bar to wide bar width).
The equation to calculate the EAN-13 bar code length is:
L = (98) X
Where:
L = Length of Bar Code
X = Number of dots times 0.0033 inches per dot
(0.08847 mm per dot)
H = (42) X
Where:
H = Height of Bar Code in dots
X = Bar Code Multiplier
A-8
Code 128 Code 128 is a high density Alphanumeric Bar Code.
Subsets B & C Zebra printers in Code 128 B Mode encode single digit
alphanumerics as single Bar Code Characters. The
printer in Code 128 C Mode encodes two numeric digits
as a Single Bar Code Character.
The printer accepts ASCII input data and encodes with a
Code 128 Bar Code Value (or digit). The following table
shows the Code 128 B Encoded Value and
corresponding ASCII Characters supported by the
printers. Code 128 C encodes numeric ASCII pairs (i.e.,
0 & 5 would encode to the single Code 128 C digit 05.
The printers automatically add a leading zero character
to data specifying an odd number of Code 128 C Bar
Code Characters.
The percentile (%) character must precede another
percentile character to encode.
Example: %% = %
Encoded Code Code Code Encoded Code Code Code Encoded Code Code Code
Value A B C Value A B C Value A B C
0 SP SP 00 37 E E 37 74 LF j 74
1 ! ! 01 38 F F 38 75 VT k 75
2 " " 02 39 G G 39 76 FF l 76
3 # # 03 40 H H 40 77 CR m 77
4 $ $ 04 41 I I 41 78 SO n 78
5 % % 05 42 J J 42 79 SI o 79
6 & & 06 43 K K 43 80 DLE p 80
7 ' ' 07 44 L L 44 81 DC1 q 81
8 ( ( 08 45 M M 45 82 DC2 r 82
9 ) ) 09 46 N N 46 83 DC3 s 83
10 * * 10 47 O O 47 84 DC4 t 84
11 + + 11 48 P P 48 85 NAK u 85
12 , , 12 49 Q Q 49 86 SYN v 86
13 - - 13 50 R R 50 87 ETB w 87
14 . . 14 51 S S 51 88 CAN x 88
15 / / 15 52 T T 52 89 EM y 89
16 0 0 16 53 U U 53 90 SUB z 90
17 1 1 17 54 V V 54 91 ESC { 91
18 2 2 18 55 W W 55 92 FS | 92
19 3 3 19 56 X X 56 93 GS } 93
20 4 4 20 57 Y Y 57 94 RS ~ 94
21 5 5 21 58 Z Z 58 95 US DEL 95
22 6 6 22 59 [ [ 59 96 FNC3 FNC3 96
23 7 7 23 60 \ \ 60 97 FNC2 FNC2 97
24 8 8 24 61 ] ] 61 98 SHIFT SHIFT 98
25 9 9 25 62 ^ ^ 62 99 CodeC CodeC 99
26 : : 26 63 _ _ 63 100 CodeB FNC4 CodeB
27 ; ; 27 64 NUL . 64 101 FNC4 CodeA CodeA
28 < < 28 65 SOH a 65 102 FNC1 FNC1 FNC1
29 = = 29 66 STX b 66 103 Start A Start A Start A
30 > > 30 67 ETX c 67 104 Start B Start B Start B
31 ? ? 31 68 EOT d 68 105 Start C Start C Start C
32 @ @ 32 69 ENQ e 69
33 A A 33 70 ACK f 70
34 B B 34 71 BEL g 71
35 C C 35 72 BS h 72
36 D D 36 73 HT i 73
A-9
The equation to calculate the Code 128 B Bar Code
length is:
L = [ C (11) + 24] X
Where:
L = Length of bar code
C = Number of characters & checksum character
X = Number of Dots times 0.0033 inches per dot
(0.08847 mm per dot)
L = [ (11 C) / 2) + 24 ] X
Where:
L = Length of Bar Code
C = Number of characters (rounded up to the
next even digit) & checksum char-
acter
X = Number of dots times 0.0033 inches per dot
(0.08847 mm per dot)
A-10
EAN International General Specifications for the Article Symbol Marking
Regulation (1987), EAN Prefix List
EAN International (EAN)
Agencies Rue Royale 29, B-1000 Bruxelles (Belgium)
Reinhold Van Lennep, Secretary General
prEN 797 Bar coding - Symbology specifications -
EAN/UPC
NNI
P.O. Box 5059, NL-2600 GB DELFT
THE NETHERLANDS
ANSI
11 West 42nd Street, 13th floor
New York, N.Y. 10036, USA
Australian EAN Coding Authority
Australian Product Numbering Association, Ltd. (APNA),
Unit 8, 417 Femtree Gully Rd.
Mount Waverlet, Vidoria 3149, Australia
England EAN Coding Authority
Article Numbering Assoc. (UK) Ltd. (ANA)
11 Kingsway
London WC2B 6AR, England
Japan EAN Coding Authority
Distribution Code Center (DCC)
No. 3 TOC-Bldg.7-23-1
Nishigotanda, Shinagawaku, Tokyo 141, Japan
Mexico EAN Coding Authority
Asociacion Mexicana del Codigo de Producto (AMECOP)
Horatio,1855-6O, Col. Polanco, DFCP 11570, Mexico
New Zealand EAN Coding Authority
New Zealand Product Number Association, Ltd.
PO Box 11-110, Wellington, New Zealand
South Africa EAN Coding Authority
South Africa Numbering Association
PO Box 41417, Craighall, 2024, Johannesburg, South Af-
rica
A-11
A-12
Appendix B
Parallel Port The Busy and Acknowledge signal lines transfer data to
Printer Data the printer only.
Handshake Signal
Lines
Serial Port Printer Some programs use Acknowledge (ACK) and Not
Data Handshake Acknowledge (NACK) to display these communication
protocol responses. The ACK response signals
Command Accepted, Waiting for Command. The NACK
response signals an Error or Check Status condition
B-1
exists and typically includes a corresponding error or
status code. The NACK can also signify an Input Buffer
Full condition.
Serial Port Printer The printers respond, via the Serial Port, to various
Error Response conditions with Status and Error Codes.
Status and Error Responses have the following format:
(NACK)05(EOT) - Card in Magnetic Encoder.
B-2
Code Error Status Condition
-1 • Mechanical Error - Printer
01 • Ribbon Broken/Missing
02 • Temperature
03 • Mechanical
04 • Feeder Empty
05 • Card In Encoder
06 • Card Not In Encoder
07 • Cover or head latch open, or
cleaning in progress
08 • Printer busy
09 • Remove ribbon (reg during
cleaning)
10 • Invalid Command or
Parameter
11 • Invalid Coordinates
(Image placement)
12 • Unknown Bar Code
Reference
13 • Unknown Text/Font
Reference
14 • Unknown Command
15 • Invalid bar code size
20 • Bar Code Data Syntax
21 • Text Data Syntax
22 • Graphic Data Syntax
30 • Graphic Image
Initialization - Failed
31 • Graphic Image Maximum
Width Exceeded
32 • Graphic Image Maximum
Height Exceeded
33 • Graphic Image Data
Checksum Error
34 • Data Transfer Time-out
35 • Check ribbon
40 • Parameter/Syntax
41 • Mag. Encoder Write
42 • Mag. Encoder Read/Verify
43 • Mag. Encoder Mechanical
44 • Mag. Encoder Not
Responding
45 • 1) Magnetic Stripe Missing
2) Card Jam
50 • Card flipper jam
60 • FLASH write error
61 • End of ribbon
B-3
B-4
Appendix C
Magnetic Encoders All printers with encoders write and read ANSI 4.16 and
ISO 7811/2/3. Encoder track positions are fixed and
cannot be modified.
Two encoder read write head mounting options exist:
Forward
Recording
Direction
Recording Area
Encoder Operation
C-1
The encoder executes commands received one at a time.
When the encoder receives a command, it performs the
requested action and reports the result. The printer
cannot execute a new encoder command prior to
completion of the previous encoder command. Detailed
encoder (and general printer) status Information is
reported to the host via an optional serial interface port
only. See Appendix B for a detailed listing of printer and
encoder responses.
Read The encoder can only read (back to the host) a single
track of data at a time. The &L command performs
read-only operations, see command reference, page
2-73.
However, the “M or m” commands can serve as linking
operators for several read commands. The encoder
performs each command in the string until completion of
the command string. An error terminates an “M”
Command string, while command execution resumes
with error correction for an “m” Command string. The
“M” command concatenates the read data into a single
response to the host.
Example of Multiple Read Command String
(Escape and carriage returns not shown)
<Esc>M 1 &L1[&L2[&L3
Data sent to the host, in a single response:
111122223333
C-2
Data Errors The encoder retries, up to six times, any read or write
(write-verify read) operation, before reporting an error.
Encoder Default The encoder reads and writes standard ANSI/ISO track
Configuration data formats in the standard ANSI/ISO track locations.
The following shows the three standard ANSI/ISO tracks.
C-3
Basic Commands All card printers with encoders, perform the basic
functions of reading and writing to ANSI/ISO tack and
data formats. The commands for these basic encoder
functions are as follows:
The encoder does not write data unless the read buffer is
programmed to read identical data parameters. Otherwise,
an error occurs.
C-4
Resetting The To ensure a proper encoder configuration, the
Encoder To programmer should reset the encoder to ANSI/ISO track
data, format, density and location.
ANSI/ISO Track
Defaults
Reset the encoder to ANSI/ISO defaults with the
following command sequence.
Changing Read The &CDER command serves to change the read data
Configuration format configuration. This command can configure a
given track to:
• Its ANSI/ISO data format.
• Change it to another ANSI/ISO track format.
• Allow forward or reverse data reads.
• Change to raw data format, which has custom track data
formatting and data block encoding.
The &L read command needs to be configured to read raw
(or hexadecimal) custom data.
Changing Write The &CDEW command allows changes to the read data
Configurations format configuration. This command can configure a
given track to:
• Its ANSI/ISO data format.
• Change to another ANSI/ISO track format.
C-5
• Change to raw data format having custom track data
format and data block encoding.
The &B read command needs to be configured to store to
write raw (or hexadecimal) custom data.
Custom ISO Data The encoder can be configured to process ISO track data
in non-ISO track locations. The printer interprets and
processes the ASCII data normally. The custom data
control commands are &D (track density), &CDER (read
data format) and the &CDEW (write data format).
The printer automatically read-verifies after a write, so all
three commands (&D, &CDER, and &CDEW) must be
properly configured to function without reporting a data
error.
C-6
Unique Custom The encoder is capable of reading and writing
Data Formats non-ANSI/ISO data. The data block and the track data
string formatting is “stripped away” and “passed
through” the encoder (and printer) without error
checking, encoding, or decoding. The host sends and
receives raw hexadecimal data strings.
Each hexadecimal block sent to the encoder represents a
block of magnetic card encoded data. The encoder
stripes the most significant bits of the data blocks off of
each hexadecimal block.
Raw Hexadecimal
FF AA Encoded as
Encode (1111 1111) (1010 1010) 6 bit on Card
111111101010
Decode
3F 2A
(0011 1111) (0010 1010)
Decoded Hexadecimal
C-7
Zebra Technologies Corporation
980471- 001