0% found this document useful (0 votes)
644 views

EPCL Programming Guide PDF

Zebra mobile printer programing guide

Uploaded by

Gordon Kouba
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
644 views

EPCL Programming Guide PDF

Zebra mobile printer programing guide

Uploaded by

Gordon Kouba
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 162

Card Printer Programmers Manual

Users Manual No. 980081-001


1999 Zebra Technologies Corporation.

Rev. E

FOREWORD
This manual contains installation and operation information for the Privilege Series card printers manufactured by Zebra Technologies Corporation, Camarillo, California.

RETURN MATERIALS AUTHORIZATION


Before returning any equipment to Zebra Technologies Corporation for in-warranty or out-of-warranty repair, contact Repair Administration for a Return Materials Authorization (RMA) number. Repack the equipment in the original packing material and mark the RMA number clearly on the outside. Ship the equipment, freight prepaid, to the address listed below:

Zebra Technologies Corporation 1001 Flynn Road Camarillo, CA. 93021-8706. USA Phone: +1 (805) 579-1800 FAX: +1 (805) 579-1808 Card Printers: Eltron International, Southern Europe Zone Indutrielle, Rue d'Amsterdam 44370 Varades, France Phone: +33 (0) 240 097 070 FAX: +33 (0) 240 834 745

COPYRIGHT NOTICE
This document contains information proprietary to Zebra Technologies Corporation. This docu ment and the information contained within is copyrighted by Zebra Technologies Corporation and may not be duplicated in full or in part by any person without written approval from Zebra. While every effort has been made to keep the information contained within current and accurate as of the date of publication, no guarantee is given or implied that the document is error-free or that it is accurate with regard to any specification. Zebra reserves the right to make changes, for the purpose of product improvement, at any time.

TRADEMARKS
Privilege, and Privilege P310 are service marks. Privilege Card is a trademark of Privilege Card, S. A., a subsidiary of Eltron International Incorporated and Eltron is a trademark of Eltron Interna tional Incorporated. Windows and MS-DOS are registered trademarks of Microsoft Corp. All other marks are trademarks or registered trademarks of their respective holders.

980081-001 Rev. E

iii

WARRANTY INFORMATION
WE NEED TO HEAR FROM YOU! To Establish Your Warranty Period And Provide Access To Technical Support, Send Us Product Registration Card Today! your

Zebra warrants the mechanism, control electronics and power supply, under normal use and ser vice, to be free from defects in material and workmanship for a period of twelve (12) months from the date of purchase by the end user. Zebra warrants the print head, under normal use and service, to be free from defects in material and workmanship for a period of twelve (12) months or 100k passes (whichever occurs first) from the date of purchase by the end user. Proof of purchase or product registration is required. If proof of purchase or product registration cannot be established, shipment date to the original buyer (dealer or distributor) will be used to establish the warranty pe riod.

Failure to exercise caution to protect the equipment from electrostatic discharge damage, adverse temperature and humidity conditions or physical abuse may void the warranty. Failure to use only Eltron approved media may void the warranty. Zebra will, at its option, repair or replace the equipment or any parts which are determined to be defective within this warranty period, and which are returned to Zebra F.O.B. factory of origin.

The warranty set forth above is exclusive and no other warranty, whether written or oral, is expressed or implied. Zebra specifically disclaims the implied warranties of merchantability and fitness for a particular purpose.

DECLARATIONS OF CONFORMITY
European Council Directive
89/336/EEC EMC Directive

Compliance to Standards
EN 55022-B, CISPR 22 EN 500082-1, IEC 801 RF Emissions control Immunity to Electromagnetic Disturbances

91/31/EE

EMC Directive

Model: P310 conforms to the following specification: FCC Part 15, Subpart A, Section 15.107(a) and Section 15.109(a) Class A digital device Supplemental Information:
This device complies with Part 15 of the FCC Rules. Operation is subject to the following Two Conditions: (1) This device may not cause harmful interference , and (2) this device must accept any interference received, including interference that may cause undesired operation.

INDUSTRY CANADA NOTICE:


This device complies with Industry Canada ICS-003 class A requirements. Cet equipement est conforme a lICS-003 classe A de la norm Industrielle Canadian

iv

980081-001 Rev. E

TABLE OF CONTENTS
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . 1-1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Related Publications:. . . . . . . . . . . . . . . . . . . . . . 1-8 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 Basic Command Syntax . . . . . . . . . . . . . . . . . . . . 1-9 Command Editor . . . . . . . . . . . . . . . . . . . . . . . 1-10

Memory Arrangements. . . . . . . . . . . . . . . . . . . . . 1-11 Bit-Map Compression Algorithm . . . . . . . . . . . . . . . . 1-12 Data-to Card Mapping . . . . . . . . . . . . . . . . . . . . . 1-15 Control Commands . . . . . . . . . . . . . . . . . . . . . . 1-21 Card Handling Process . . . . . . . . . . . . . . . . . . . . 1-22

Batch Processing. . . . . . . . . . . . . . . . . . . . . . . . 1-23 Port Signals . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23

Error Line Coding . . . . . . . . . . . . . . . . . . . . . . . 1-24

COMMAND REFERENCE . . . . . . . . . . . . . . . . . .

2-1

Command List . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 . Command - Clear Error Status . . . . . . . . . . . . . . . . 2-5 R Command - Reset . . . . . . . . . . . . . . . . . . . . . . 2-6 MC Command - Clear Media Path . . . . . . . . . . . . . . 2-7 . . . . . . . . . 2-8

V Command - Check Printer Type/Version

!V Command - Return Operational Parameter . . . . . . . . . 2-9 +O Command - Print Offset X-axis . . . . . . . . . . . . . . 2-10 +OY Command - Print Offset Y-axis +EC Command - End of Print . . . . . . . . . . . . . 2-11

. . . . . . . . . . . . . . . . 2-12

+LAYER Command - Choose Number of Card Layers . . . . 2-13 !R Command - Print Head Resistance . . . . . . . . . . . . . 2-14 M/m Commands - Multiple Command . . . . . . . . . . . . 2-15

MI Command - Input Card To Print . . . . . . . . . . . . . . 2-16 MIB Command - Reverse Card To Card Feeder ME Command - Exit Card To Output Tray . . . . . . . 2-17

. . . . . . . . . . 2-18 . . . . . . . . 2-19

MB Command - Return Card To Card Feeder

MO Command - Exit Card To Output Tray . . . . . . . . . . 2-20 !FF Command - Set Ribbon Sequence +RIB Command - Set Ribbon Type !M Command - Move Print Head Up . . . . . . . . . . . . 2-21 . . . . . . . . . . . . . 2-22 . . . . . . . . . . . . . 2-24

!D Command - Move Print Head Down . . . . . . . . . . . . 2-25 !SA Command - Self Adjust . . . . . . . . . . . . . . . . . . 2-26 CLNCARD Command - Establish Cleaning Card Sequence . . 2-27 CLEAN Command - Start Cleaning Card Sequence . . . . . . 2-28 +BS Command - Set Black Speed . . . . . . . . . . . . . . 2-29

IM Command - Print Color Test Card . . . . . . . . . . . . . 2-30 IMB Command - Print Black Test Card A Command - Print Test Card . . . . . . . . . . . . 2-31

. . . . . . . . . . . . . . . . 2-32

F Command - Clear Monochrome Image Buffers . . . . . . . 2-33

980081-001 Rev. E

G Command - Initialize Monochrome Graphic (B/W) O/vO Commands - Load Single Line Bit-map (Mono.) Z/vZ Commands - Load Bit-map (Monochrome) P/vP Commands - Write Dot (Monochrome)

. . . . . . 2-34 . . . . . 2-35

. . . . . . . . 2-37

. . . . . . . . . . 2-39

L/vL Command - Write Line (Monochrome) . . . . . . . . . . . 2-40 C/vC Command - Write Box (Monochrome) . . . . . . . . . . 2-41 . . . . . . . 2-42

D/vD Commands - Write Diagonal (Monochrome)

T/vT Commands - ASCII Text (Monochrome) . . . . . . . . . . 2-43 B/vB Command - Write Bar Code . . . . . . . . . . . . . . . . 2-45 I Command - Print Monochrome Graphics . . . . . . . . . . . 2-47 . . . . . . . . 2-48

J Command - Print Multiple Monochrome Cards

+C Command - Adjusts Monochrome Intensity . . . . . . . . . 2-49 IV Command - Print Clear Veneer . . . . . . . . . . . . . . . . 2-50 +CV Command - Adjust Clear Veneer Intensity . . . . . . . . 2-51

$F Command - Clear Color Image Buffers . . . . . . . . . . . . 2-52 $FP Command - Clear Specified Bit-Maps . . . . . . . . . . . . 2-53 PS Command - Download Color Image Buffer . . . . . . . . . 2-54

GS Command - Download Color Graphic . . . . . . . . . . . . 2-55 +$L Command - Adjust Color Intensity . . . . . . . . . . . . . 2-56 +$C Command - Adjust Color Contrast IS Command - Print Color Graphic IH Command - Print Hologram . . . . . . . . . . . . 2-57

. . . . . . . . . . . . . . . 2-58

. . . . . . . . . . . . . . . . . 2-59 . . . . . . . . . . 2-60

+CH Command - Adjust Hologram Intensity MF Command - Rotate Card To Duplex &R Command - Reset Magnetic Encoder &E Command - Write Single Track

. . . . . . . . . . . . 2-61 . . . . . . . . . . . . 2-62

. . . . . . . . . . . . . . . 2-63

&B Command - Write Buffer Single Track . . . . . . . . . . . . 2-64 &E* Command - Write Track Buffers &L Command - Read Single Track . . . . . . . . . . . . . . 2-65

. . . . . . . . . . . . . . . 2-66 . . . . . . . . . . 2-67

&W Command - Change Encoding Direction &D Command - Change Track Density

. . . . . . . . . . . . . 2-68 . . . . . . . . . 2-69

&CDER Command - Read Custom Track Data

&CDEW Command - Write Custom Track Data . . . . . . . . . 2-71 &T Command - Mag. Encoder - Eject Card . . . . . . . . . . . 2-73

&C Command - Set Coercivity . . . . . . . . . . . . . . . . . . 2-74 MS Command - Move To Smart Card Programmer . . . . . . . 2-75 +OS Command - Smart Card Y-axis Offset . . . . . . . . . . . 2-76 SXY Command - Center Image Maps . . . . . . . . . . . . . . 2-77 +B Command - Serial Interface Rate . . . . . . . . . . . . . . 2-78 . . . . . . . . . . . . 2-79 . . . . . . . . . . 2-80

E Command - Retransmit Last Response

+X Command - Change Command Initiator

!X Command - Check Command Initiator . . . . . . . . . . . . 2-81 &P Command - Check Card Present - Encoder . . . . . . . . . 2-82 . . . . 2-83

%CLN Command - Check Due-for-Cleaning Parameters

SF Command - Synchronize Film (Overlaminate) . . . . . . . . 2-84 TF Command - Film Type . . . . . . . . . . . . . . . . . . . . 2-85 +TC Command - Set Temperature . . . . . . . . . . . . . . . 2-86

vi

980081-001 Rev. E

+DLAMI Command - Set Lamination Configuration +VL Command - Set Lamination Speed

. . . . . 2-87

. . . . . . . . . . . 2-92 . . . . . . . . . 2-93

+VC Command - Reduce Color Print Speed

Appendix A

. . . . . . . . . . . . . . . . . . . . . . . . .

A-1

Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . A-2 Code 39(Code 3 of 9) . . . . . . . . . . . . . . . . . . . . . A-3 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-2 Serial Port Printer Error Response . . . . . . . . . . . . . . . B-2

Appendix C

. . . . . . . . . . . . . . . . . . . . . . . . .

C-1

Magnetic Encoders. . . . . . . . . . . . . . . . . . . . . . . C-1 Encoder Operation Data Errors . . . . . . . . . . . . . . . . . . . . . . C-2

. . . . . . . . . . . . . . . . . . . . . . . . . . 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-6 Changing Read Configuration . . . . . . . . . . . . . . . . . C-6 Changing Write Configurations . . . . . . . . . . . . . . . . C-6

Custom ISO Data . . . . . . . . . . . . . . . . . . . . . . . C-7 Unique Custom Data Formats . . . . . . . . . . . . . . . . . C-7

Appendix D

. . . . . . . . . . . . . . . . . . . . . . . . .

D-1

Sample P600 Command Sequence . . . . . . . . . . . . . . D-2

Appendix E

. . . . . . . . . . . . . . . . . . . . . . . . .

E-1

Sample Max3000 Command Sequences. . . . . . . . . . . . E-2 Sample Max3300 Command Sequences. . . . . . . . . . . . E-4

980081-001 Rev. E

vii

viii

980081-001 Rev. E

INTRODUCTION
This manual describes programming commands that control operations and specify data for the following card printer models:

P3xx Monochrome P3xx Color (P300 and P310) P400 Duplex Color P500 Duplex Color with Laminator P600 Multiple-Station Duplex Color Max Secure Series Card Systems (Max3000 and Max3300)

Features

All of the covered models can print bar-codes in several formats and have resident scalable font descriptions. Also, except for the Max Secure Series, all models can include a Smart-Card Docking Station. All models are offered with or without a Magnetic Stripe Encoder. A Serial host interface is an option on the P3xx and P400 series, where an associated RS-232C setup Command exists. Max Secure Systems all have parallel host ports. The programming commands control the printing process by color and by ribbon material, allowing

980081-001 Rev. E

1-1

overprinting and separate control of various multiple-overlay finishes.

Significant model/configuration differences related to programming include the following: P3xx Monochrome card printers have a limited
command set along with an image buffer sufficient for a one-bit image mapping depth. Only imaging using the thermal transfer methodology can occur. For gray-scale images, host software must produce multiple-dot pixel matrixes sized for the desired gray-scale range (e.g., a four-by-four dot pixel matrix can produce 16 levels of gray plus white, [(4 x 4) /16 + white]).
2

P3xx Color card printers employ dye sublimation


methodology for color imaging and thermal transfer methodology for imaging from resin monochrome ribbons or ribbon panels. A yellow, magenta, and cyan imaging sequence occurs using five-bit-perdot data for imaging with three associated ribbon panels. The black panels on Zebra-supplied ribbons with color panels have a resin coating that particularly suits bar-code and other solid image printing (i.e., no gray scale). However, resin responds poorly as a dye sublimation print medium. Therefore, the black used for gray-scale imaging comes from formulations of yellow, magenta, and cyan (YMC), which means dye-sublimation black also has a five-bitper-dot range (32 levels of gray). If the need for a resin-panel-generated gray scale should ever become necessary, host software must generate multiple-dot pixel matrixes as with the P3xx Monochrome.

Standard P3xx Color Card Printers have two


image buffersone used for color and another used for monochrome. The single color buffer requires print passes that follow each of the three downloads sublimation buffer associated imaging. print with full-color dye The single monochrome separate

requires

passes

following

downloads for resin black and for overlay varnish in situations that require different bit-maps. However, because of its durability, card areas with resin im-

1-2

980081-001 Rev. E

ages may not require varnish 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. Reverse imaging also means that a fullcoverage varnish can result after a clear command sent for the monochrome buffer.

P3xx Color Printers with Extended Memory


installed have the potential for three color buffers and two monochrome buffers. These buffers have the same uses as described for the P3xx Color above. However, more buffers means that a high probability exists that data for a complete card image can download in a single host access. With a complete image resident in the printer, multiple card prints can occur at a much faster rate.

P400s have all the same implementations as the


P3xx Color, including Extended Memory as an option. Because P400s have a Card-Flip assembly, these models respond to commands related to duplex printing.

P500s have all the same implementations as a


P400, including Extended Memory, Smart Card stations, and Magnetic Encoders as options. However, P500s also have a Card Laminator station. Laminators serve as heat-transfer devices for material or panels contained on Laminator Ribbons. A variety of these kinds of ribbons exist:

Ribbons with die-cut panels can carry die-cut panel sizes that substantially cover the card Die cuts with cutouts for Smart card contacts, and smaller die cuts that serve to avoid magnetic stripes Preprinted die cuts can contain security devices such as graphics, holograms, or o p t i-

cally-encoded patches. Laminators also serve a thermal-transfer function of ribbon coated material instead of the die-cut panels. However, only a total card application can occur. Because the print station can have a dye sublimation ribbon with a varnish panel, many choices exist for selection of protective coatings. Additional commands exist to implement Laminator use.

980081-001 Rev. E

1-3

Whereas

P3xxs

and

P400s

have

single

CPU

boards, P500s employ twoone controls printing and card feeds (Module 1 operations); the other controls card flips and lamination (Module 2 operations). Because of 1 also a master-slave arrangement, Laminator commands. Module receives

However, all commands destined for Module 2 require a #

1 preface, for example:

#1+TC165
P600s have two complete Print Station modules
(including associated CPU Boards) separated by a Card-Flip assembly. Although controlled by a common parallel host interface, both Print Stations respond to the same command set (with some additional positioning parameters and some differing responses to positioning commands). To simplify memory management, both Print Stations have Extended Memory as a standard feature. Overall, the same commands apply, but the Card Feed command applies only to the print station attached to the Card Feed assembly (Module 1). Similarly, the Card Flip commands apply only to the Print Station closest to the Card Output (Module 2). A communication protocol serves to direct commands through the common parallel interface lines to either Module. While not being designed around a master-slave arrangement, Module 2 commands can nevertheless be sent to Module 1. As with P500s, Module 2 commands sent to Module 1 require a # Either and/or module a can have a Magnetic Stripe set.

1 preface.
with

Smart-Card Encoder, However,

Station an Zebra

associated

command

recommends Module 1 as the best place to locate these options. Also, the faster path for commands is the direct route.

Max Secure Systems all have Extended Memory


and can include the following:

Print

Station

Module

(Max3000

or

Max3300) Laminator and Die Cutter Module Magnetic Encoder Module

1-4

980081-001 Rev. E

None of the media used in the other printer models is intended for use in this model. Instead, the following are used:

Cards
The cards placed in the Input Hopper are oversized White Chip Cards, either with or without a Magnetic Stripe and with or without a printable surface. An additional card material is used. This clear material feeds from a roll, and the printer has a Shear that delivers card-sized sections to the card path. Max Secure Systems use 0.030-inch thick White Cards for laminates. two-card laminates and 0.020-inch thick White Cards for three-card

Ribbons
Five imaging ribbons are offered: A YMC ribbon for die sublimation only printing, a YMCKr ribbon for those that need Kr (black resin) imaging on one surface only, and a YMCKr_Kr ribbon for those that need Kr images used. Also, destination control of commands can be used, as follows: to appear on two surfaces. Monochrome ribbons KsO and KrO can also be

#11command

- directs an associated com-

mand to the Print Station.

Printing occurs on Clear and White Chip Card media components. Color and black resin images can print on the Clear Card, and Black Resin images can print on the White Card.

Max3000 Systems laminate the Clear and White


media into two-card composites. These systems cannot perform two jobs simultaneously. For example, the printer cannot receive downloaded data with printing in process, and printing cannot occur with downloading in process. Because of this, programming should employ the M operator to concat-

980081-001 Rev. E

1-5

enate printing for all panels within one command string (e.g., M 1 IS 0[IS 1[IS 2[I[MO[MF[I[MO).

Max3300 Systems can add another Clear Card


that, while remaining unprinted, protects White Card images, including any security devices. Therefore, users can produce either two- or three-card composites using these systems. Unlike the Max3000s, these systems can receive data downloads while printing. Therefore, optimum speed can result by alternating downloads with print commands, so that one process can overlap the other. Errors sensed during a series of download and print commands results in the assertion of BUSY, during which time, the bad card gets ejected, the ribbon gets synchronized, and the printing sequence resumes using the data associated with the rejected card. None of these operations require issuance of additional commands.

The following describes a typical Max Secure System operation:


A Clear Card feeds first. This card receives color imaging associated with the YMC ribbon panels, and if desired, also from a Kr panel. After imaging, the Clear Card goes to the output of the Print Station. A White Card feeds next. Any image placed on this card normally depends on the availability of an unused Kr ribbon panel. A YMCKr ribbon used to place a black resin image on the Clear Card would not have a Kr panel left for imaging on the White Card without first skipping over a whole set of color panels. For Kr on both cards, a YMCKrKr ribbon should be used. After receiving any images, the White Card also travels to the output of the Print Station and comes to rest on top of the Clear Card. As with a Max3000, these cards go on to the Laminator. For three-card composites, a second Clear Card enters the card path. This Clear Card first transitions in and out of a Card Flip Station before going on to the Laminator Module. This transition directs the side of the Clear Card with the bonding agent for contact with the White Card.

1-6

980081-001 Rev. E

Note that Max3300s have a lever for users to select between two- and three-layer composites. Users must also load cards having the related thickness. The +LAYER command also exists for use in specifying the number of layers. Card alignment occurs at the first station in the Laminator and Die Cutter assembly. From there, the cards get laminated and then trimmed to the standard card size. A heat sink between the Laminator and the Die Cutter reduces card temperatures that became elevated during lamination. During this transition, a speed setting for card cooling takes effect. Notably, only up-facing surfaces receive images. After lamination, an inside surface has the image placed on the Clear Card. Viewing from the backside produces a mirrored picture of the Clear Card image.

Magnetic Encoder Modules, when part of Max


Secure Systems, receive card composites after lamination and die cutting. Encoder commands for this printer duplicate those used by the other printer models. For Max Secure configurations without the Magnetic Encoder Module, cards exit the system after a die cut. Since the magnetic stripes on White Cards need direct contact with read/write heads, stripe encoding must only occur during production of two-card composites.

980081-001 Rev. E

1-7

Related Publications:

Users Guide for P300, P310, and P400, Available in French, German, Italian (except P310), Spanish, Chinese, and English versions. Users Guide for Max Secure Series Maintenance Manual for P300 and P400 (Available in English Only) Maintenance Manual for Max Secure (Available in English Only)

Conventions

In this manual, the following conventions apply: Escape Key (Indicates command characters follow)

Space Key (Delimiter used to separate commands from parameters and parameters from other parameters)

p1 ~ pn

Required parameters that follow some com-

{p1 ~ pn}
data
[

mands, separated by space delimiters

Optional Parameters Enter Key (Indicates the end of a Command and Parameter string Command string continues on next line (no line feed at this text wrap) Specifies where to place data in an associated Command String Linking delimiter when used with M and m commands, which see; Also, placed in front of [,

, and to specify

data instead of control characters # Placed after

and followed by number to di-

rect command to other than module receiving command.

1-8

980081-001 Rev. E

Basic Command Syntax

Each command begins with a Command Initiator (the Escape character). For some models, directing characters follow the Escape character. The Command Initiator serves to mark the character(s) immediately following as command characters. Command characters vary between one and seven characters (or up to seven bytes of hexadecimal data). Some commands then have one or more additional parameters to supply the printer with information necessary to complete the command. A Space character delineates individual command control parameters. The following Text command shows a typical example.

Each command line requires a Carriage Return (

character (13 dec. or 0D hex.). A single Line Feed (LF) character (Dec. 10 or 0A Hex.) is ignored by the printer when it immediately follows the command terminating Carriage Return. Most PC based systems pressed.
Command Name

send

CR/LF

when

the

Enter

key

is

WRITE TEXT

Tp1p2p3p4p5p6p7data
Command Parameters Text

ASCII Programming Code

100

100

20

30

Text

1B54203130302031303020302031203230203330203120546578740D
Hexadecimal Programming Code Escape (Command Initiator) Carriage Return (Command T erminator)

980081-001 Rev. E

1-9

Command Editor

Any ASCII based text editor can serve to create simple command files. In the DOS environment, MSDOS 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:

COPY file name.ext LPT1


or

COPY file name.ext COM1


For more information on the use of the COPY command, refer to a DOS software manual. Some text editing programs can cause printer errors by adding extra characters or by changing existing characters when generating a near ASCII formatted file. Example: A common ASCII editor, BRIEF,

changes all NUL characters to the SPACE or TAB characters with a file save. The graphic data for print intensity level 0" is the NUL character. This causes the resulting file to print with horizontal lines in all graphics with solid white, i.e., no print, areas. Other editors may add a SUB character (Dec. 26 or 1A Hex.), which causes the printer to error.

1-10

980081-001 Rev. E

Memory Arrangements

Figure 1-1 shows elements involved in image data flow. Note that three Image Memory configurations exist and that Image Memory always contains compressed pressed data. data, Ideally, which hosts should a send comrequires compatible

compression algorithm. This can substantially reduce the data transfer times of most image files.

Figure 1-1 Memory Arrangements

Host Computer Bypassed when Host Compressed

Color Card Printers Only

CARD PRINTER

:
Image Data Compression Algorithm Image Buffers Image Data

Extended Memory

Y ellow Buffer

Normal Memory

Color Buffer

Magenta buffer

Mono. Buffer

Cyan Buffer

Decompression Algorithm

Black Buffer Varnish Buffer

Print Head Registers

Monochrome printers have no color buffers. Color printers without Expanded Memory have single color and monochrome buffers, requiring a print pass after each color download for yellow, magenta, and cyan data, and as stated previously, the same operation for monochrome when black and varnish require different bit-maps. In contrast, Extended Memory makes possible a single download containing commands that specify the contents of all five buffers. For Max Secure Systems, which have no varnish requirements, the varnish buffer supplies the bit map for the White Card image.

980081-001 Rev. E

1-11

Bit-Map Compression Algorithm

Characteristically,

bit-map

compression

algo-

rithm flags data segments as either repeating or non-repeating, specifies the bytes repeated, and the number of repeats. For these card printers, compression applies to byte-wide bit-map segments, which the host sends with the PS, GS, Z, and vZ commands. The PS and GS commands include parameters specifying a buffer (YMCK). Monochrome commands Z and vZ send associated bit-map data to the black (K) and Varnish buffers, respectively. All of these commands include parameters that specify whether or not the command applies to compressed data. For recognition by the card printer, compressed data must conform to the following rules:

Rule 1. When high, the most significant bit (the flag


bit) of a two-byte sequence indicates that the second byte repeats. The remaining seven bits of the first byte specify the number of repeats, allowing a field-specification of from zero to 127 repeats.

Rule 2. When low, the most significant bit of a data


sequence indicates that the remaining seven bits of the byte specify the number of the following bytes that represent non-repeating image data. However, only from zero to 31 repeats can occur.

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-12

980081-001 Rev. E

Figure 1-2 Bit-Map Compression

0XXX XXXX ---Bytes (0~31)--Data Compression Flag Off No. of Non-Compressed Bytes Non-Compressed Data

Mono. Panel 8-Dot Data Field

1XXX XXXX XXXX XXXX Data Compression Flag Set No. of Repeats (1~127) Data Byte Repeated

Dye Sub. Panel 1-Dot Data Field

1XXX XXXX XXXX XXXX Data Compression Flag Set No. of Repeats (1~127) Data Byte Repeated

Compression Example 1
0001 1111 0001 1111 0001 1111 0001 1111 0001 1111 0000 0011 0000 0011 0000 001 1

1F Hex (5 repeats)

03 Hex (3 repeats)

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 001 1

1F Hex (5 repeats)

04 0B 03 Hex (0 repeats)

85 1F

03 04 0B 03

Compressed Data
1000 0101 0001 1111 0000 0011 0000 0100 0000 1011 0000 001 1

980081-001 Rev. E

1-13

1-14 Figure 1-3 Non-Compressed Bit-Map


1 Byte
x axis

same bit-map in association with compressed data

Figure 1-3 shows how a bit-map relates to associ-

ated non-compressed data. Figure 1-4 shows the

1B 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 00 00 00 00 00 00 00 0D

5A 00 00 00 00 03 0F 1F 3F 3F 7F 7F 7F FC F0 E0 C0 C0 C0 C0 FF FF FF FF FF FF FF FF C0 80 80 80 00

00 00 00 00 F0 FC FE FF FF FF FF FF 0F 03 01 00 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00

00 00 00 00 00 00 00 00 00 80 80 80 C0 C0 C0 C0 C0 C0 C0 FF FF FF FF FF FF FF FF 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 01 03 FF FF FF FF FF FF FF FF 03 01 01 01 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 00 00 00 00 00 00 00 00

980081-001 Rev. E

1B 5A 99 00 02

Data-to Card Mapping

Figure 1-5 shows a card consistent with the orientation of a card traveling right to left in the card path of a printer. From this perspective, the data field of the PS, GS, Z, and vZ commands first becomes a memory-resident image in a designated image buffer. The Image Buffer, as shown, fills from top to bottom and from right to left. Because the Image Buffer has a last-in-first-out arrangement, card images build from bottom to top and from left to right.

1 Byte

980081-001 Rev. E

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

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

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

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

Figure 1-4. Compressed Bit-Map

00 00 00 00 00 00 00 00 00

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

00 00 00 87

1-15

This suits the front-to-back loading of Print Head Registers and the right-to-left card movement during print cycles. As noted in the figure, an object mirrored in both axis in the data sent to the buffer would print normally on the card.

Figure 1-5 Data Sent verses Card Mapping

Download Buffer Data Command Buffer Select (CMYK) Parameter Compressed vs. Uncompressed Parameter Data Downloaded (300dpi/11,8dpmm)

PS p1 p2 data.............................data

Last In First Out

Image Buffer
Print Buffer Command Buffer Select (CMYK) Parameter

IS p1

Print Direction
Card Size 3.375 x 2.125 in 85,7 x 53,9 mm

PartialImage Origin

* Objects drawn with these commands have an upper-left origin.

MAXIMUM CARD IMAGING 624 Line Bytes by 1008 Lines (Standard Memory) 640 Line Bytes by 1024 Lines (Extended Memory) 652 Lines Bytes by 1048 Lines (Max Secure Systems) ASSOCIATED COMMANDS Monochrome Color Overlay G PS IH O GS IV Z IS vZ P vP L* vL* C* vC* D* vD* T vT B vB I

1-16

980081-001 Rev. E

Color Data Considerations

Color data always enters a color image buffer, either as yellow, magenta, cyan, or in the case of a KsO ribbon, dye sublimation black. If only one color image buffer exists, 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 five-bit-per-dot imaging. 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. Note that the previous figure shows different full-card image areas for Standard, Extended, and Max Secure memory. For proper appearance, color images should not overprint other card printing.

Max Secure Monochrome Data Considerations

Max Secure printers have no need to print varnish. However, the varnish buffer is used for monochrome data. Therefore, all data commands for monochrome data require the v preface. A subsequent I command prints data stored in the varnish buffer. Note that the IV command serves to indicate the presence of a ribbon with varnish panels that then get bypassed.

P3xx~P600 Monochrome Data Considerations

P3xx~P600 chrome data

printers to a

always

download image

monobuffer.

monochrome

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

980081-001 Rev. E

1-17

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. In summary, leave the resin buffer unchanged after printing resin. Then, issue an IV command for inverted data 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. A watermark simulation can result by, in effect, punching holes in the varnish image. 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-18

980081-001 Rev. E

Monochrome graphic objects can download


into either the 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 L/vL C/vC D/vD T/vT B/vB Write Dot Write Line Write Box Write Diagonal Line Write Text Write Bar-Code

Rotational parameters (clockwise) exist for the following: D/vD Center of Rotation T/vT Center of Rotation B/vB Center of Rotation 0, 90, or 180 lower-left 90 Increments (0~270) lower-left or object center 90 Increments (0~270) lower-left or object center

980081-001 Rev. E

1-19

Monochrome bit-maps require entry of two


commandsfirst an initializing command (G) and then the associated data command. The G command specifies image placements associated with the following commands: O/vO Z/vZ Download Single Line Download Multiple Lines

Figure 1-5 shows the relationship between data sent by O or Z commands and an area previously established by a G command. The G command can also define data as single bits (i.e., image dots). With dots selected as the data mode in the G command, data sent to the printer must, nevertheless, finish on an even byte boundary. When necessary, add zeros where byte bits extend past the boundary specified in the G command. Data is handled in bytes (0~255 decimal or hexadecimal 00~FF) by the printer.

Bar Codes

Bar codes vary in capacity, size, character sets, and density. Several industries have adopted specific coding and bar code formats. Verify that the selected bar code matches a code supported by the scanning equipment. All the bar codes supported by the card printers have the data characters, 2 quiet zones, and a start and stop character. 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 addressable area of the image buffer. Each one of the bar codes, described in the Command B and Appendix A, have a formula to determine a bar code length.

1-20

980081-001 Rev. E

Selecting a larger bar code width multiplier and a higher ratio of the narrow to wide bars (and spaces where applicable), improves the general readability of a given bar code. Additionally, for a given bar code, wider bars and spaces increase the depth of field for improved performance with moving-beam lasers and other non-contact scanning devices .

Control Commands

The card printer can perform a variety of print, card, ribbon, and head movement and control command operations.

Print Controls

1. Intensity - Adjusts the amount of heat applied to transfer a maximum intensity color or Monochrome dot. 2. Contrast (Color Only) - Adjusts the minimum amount of heat applied when printing the dots at the lowest color setting. 3. Image Positioning - Locates the printable image on the card. 4. Head - Raises the print head to move the card and lowers it to print. Not normally required. 5. Print Test Cards

980081-001 Rev. E

1-21

Card Movement

1. Print Ready position - The card moves to a position just prior to the card edge sensor. 2. Exit Card - The printer exits the card to the Output Hopper or tray. Printers with multiple stations, exit the card to the next station. 3. Duplex - Flips the card over using the Card-Flip Assembly, initiated by the MF command. 4. Ready Smart Card - Positions a Smart Card under the Smart Card Docking station with the contacts of a Smart Card chip engaged. 5. Encode Ready position - The card moves to a position just prior to the magnetic encoding station read/write head.

Ribbon

1. Reset Ribbon - Sets the ribbon panel to the first panel (color - yellow panel) or cycles the continuous color Monochrome ribbon. 2. Select Panel - Resets, then selects a specific ribbon panel.

Card Handling Process

The following outlines a recommended card handling sequence.

1. 2. 3.

4.

Smart Card Programming - Option Magnetically Encode Card - Option Print Card For color printing: Yellow Magenta Cyan Black Clear Varnish or Hologram Transfer Duplex - Flip Card - Option

1-22

980081-001 Rev. E

5.

6.

Print Card Backside - Option For color printing: Yellow Magenta Cyan Black Clear Veneer Hologram Lamination Eject Card

DO NOT print, veneer or laminate over the magnetic stripe or Smart Card contacts. This can impair subsequent associated read and write operations and must be controlled by the programming.

Batch Processing

The M and m commands serve as command linking operators. A string of linked commands may execute one (1) time or multiple times. The [ character acts as delimiter for linked commands in the associated syntax. For the complete M command syntax, and an example, see M/m in the Command Reference,

Port Signals

P3xx and P400 printers have a serial port as an option. When so equipped, these printers communicate with the host over an RS-232C interface using ACK/NAK flow control. Parallel ports are the standard configuration. P500, P600, and Max Secure card printers have no serial option. Card printers with Parallel Ports communicate with the host using the following signal lines:

980081-001 Rev. E

1-23

DATA (0~7) STROBE (Pin 1) ACK/ (Pin 10)

Eight bits of parallel data. A signal that the host activates to indicates stable data on the DATA lines A signal that the printer activates to indicate recep tion of data. The host drops the STROBE signal in response.

BUSY (Pin 11)

A signal that the printer activates to indicate an in ability to accept commands due to ongoing proc essing associated with a previously received command. Note that P500 and P600 card print ers have two processors. A BUSY response from one processor does not automatically imply a BUSY at the other processor.

READY (Pin 13)

A signal that the printer activates to indicate its availability for reception of host commands.

PAPER ERROR (Pin 12)


Card printers report errors to the host by encoding the PAPER ERROR and ERROR lines (see Error Line Coding below).

ERROR/ (Pin 15)

Card printers report errors to the host by encoding the PAPER ERROR and ERROR lines (see Error Line Coding below).

INIT (Pin 14)

Only used by P600 card printers, where a high (1) directs commands to Module 1 (Master) and a low (0) directs commands to Module 2 (Slave).

Error Line Coding


Paper Error
0 0 1 1

Error/
1 0 1 0

Description
No Error Syntax Error Ribbon Feeder Mechanical Error End or Empty

Note: To clear an Error, Send:

(1B 2E 0D Hex)

1-24

980081-001 Rev. E

COMMAND REFERENCE
This section contains descriptions of printer commands used to print, magnetically encode, position, and control card movements. The following table groups commands by function. Note printer applicability.

Command List
P400 Duplex Color P3xx Monochrome

P600 Dual Print

P500 Laminate

COMMAND

DESCRIPTION

Max Secure

P3xx/Color

Setup Commands +O +OY +EC


+LAYER

Offset Start Print Position (X-axis) Offset Start Print Position (Y-axis) Print Length (X-axis) Choose Number of Card Layers (Max3300) Print Head Resistance Set Ribbon Color Sequence Ribbon Type Set Black Speed

2-10 2-11 2-12 2-13 2-14 2-21 2-22 2-29

!R !FF +RIB +BS

980081-001 Rev. E

2-1

PAGE

P400 Duplex Color

P3xx Monochrome

P600 Dual Print

P500 Laminate

COMMAND

DESCRIPTION

Max Secure

P3xx/Color

+C +CV +$L +CH +$C +OS SXY Tests A IM IMB

Adjust Thermal Transfer Intensity Level Adjust Overlay Application Intensity Level Adjust Independent Color Intensity Level Adjust Hologram Application Intensity Adjust Independent Color Contrast Level Offset (X-axis) Smart Card Center Image Maps (P310)

2-49 2-51 2-56 2-60 2-57 2-76 2-77

Print Test Card Print Color Test Card Print Test Card

2-32 2-30 2-31

Initialize Commands

.
R F $F $FP &R &W &D
&CDER &CDEW

Clears Error Status Lines Reset Printer Clear Monochrome Image Buffers Clear Color Bit-maps Clear Specified Bit Map (P310 only) Reset Encoder Change Encoding Direction Change Encoder Track Write Density Custom Encoder Read Density Custom Encoder Write Density Set Encoder Coercivity Serial Interface Rate (Serial I/O) Change Control Character (Serial I/O) Synchronize Film (P500 Overlaminate Only) Film Type (P500 Laminator) Set Temperature (P500 Laminator) Set Lamination Configuration (P500) Set Lamination Speed Reduce Color Print Speed (P310 only)

2-5 2-6 2-33 2-52 2-53 2-62 2-67 2-68 2-69 2-71 2-74 2-78 2-80 2-84 2-85 2-86 2-87 2-92 2-93

&C +B +X SF TF +TC
+DLAMI

+VL +VC

Printer Query Commands V !V Check Printer Type/Version Return Operational Parameter (Max3300) 2-8 2-9

2-2

980081-001 Rev. E

PAGE

P400 Duplex Color

P3xx Monochrome

P600 Dual Print

P500 Laminate

COMMAND

DESCRIPTION

Max Secure

P3xx/Color

E !X &P %CLN

Retransmit Last Response (Serial I/O) Check Command Initiator (Serial I/O) Check Card Presence - Encoder (Serial I/O) Check Due-for-Cleaning Set (P310/Max3300)

2-79 2-81 2-82 2-83

Image Data Download Commands G O/vO Z/vZ P/vP L/vL C/vC D/vD T/vT B/vB PS GS Initialize Monochrome Graphic Load Single Line Graphic Dots Download Multiple Line of Graphic Dots Download Write Dot Write Line Write Box Write Diagonal Line Write Text Write Bar Code Download Color Image Data Download Color Graphic 2-34 2-35 2-37 2-39 2-40 2-41 2-42 2-43 2-39 2-54 2-55

Card Positioning Commands MC MI MIB ME MB MO MF MF &T MS Clear Media Path Input Card To Print Position Reverse Card to Print Position Exit Card To Output (Hopper) Back Card Into Feeder Exit Loaded Card To Output Flip-over the card 180 Switch to White Card (Max3000) Eject Card with Magnetic Encoder Option Move Smart Card to Programming Station 2-7 2-16 2-17 2-18 2-19 2-20 2-61 2-61 2-73 2-75

Print Commands IS I IV IH J Print Card Panel (YMC) Print Card Monochrome Panel Print Varnish Overlay Print Hologram Overlay Print Multiple Cards N times 2-58 2-47 2-50 2-59 2-48

Magnetic Stripe Encoder Commands

980081-001 Rev. E

2-3

PAGE

P400 Duplex Color

P3xx Monochrome

P600 Dual Print

P500 Laminate

COMMAND

DESCRIPTION

Max Secure

P3xx/Color

&E &B &E* &L

Encode Single Data Track Buffer Track Data Encode All Data Tracks Read Single Track Data

2-63 2-64 2-65 2-66

Miscellaneous Commands M/m !M !D


CLNCARD CLEAN

Multiple Command Strings Move Print Head Up Move Print Head Down Set Cleaning Card Sequence (P310/Max3300) Start Cleaning Card Sequence (P310/Max3300)

2-15 2-24 2-25 2-27 2-28

2-4

980081-001 Rev. E

PAGE

P3xx M

P3xx C

P400

P500

P600

. Command - Clear Error Status

Description

Clears the Paper Error (Paper Fault) and Error (Fault) printer return signal status lines.

Syntax . Parameters None

980081-001 Rev. E

2-5

Max

P3xx M

P3xx C

P400

P500

P600

R Command - Reset

Description

Max

Reinitializes module.

printeralso

the

Max3000

Printer

To reset another Max3000 module, direct the command to the Laminator/Die Cutter Station, or Encoder.

Syntax

Syntax (Max3000 #11 R Laminator) Parameters None

2-6

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

MC Command - Clear Media Path

Description

Sends any card in the Media Path of the printer to the Output Tray.

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 MC Parameters None

980081-001 Rev. E

2-7

Max

P3xx M

P3xx C

P400

P500

P600

V Command - Check Printer Type/Version

Description

Max

This command serves to check the model (and options) of a printer. Serial port connected printers respond with a model number and firmware version. Parallel does port connected the printers respond A with

NACK when the V command parameter received not match configuration. matching printer parameter code produces an ACK response.

Note that parallel-connected color printers do not report firmware and model. For this information, use the A command.

Syntax V{p1}

p1 = Optional Configuration Parameter (for Parallel I/O)


P3xx, P400, P500, and P600 Printers
None 10 12 13 14 20 30 50 70 80 100 SN<7000 Monochrome printers only. P3xxCF Magnetic Encoder Installed Smart-Card Docking Installed P400CF Extended Memory Option Installed Magnetic Encoder with expanded encoder command set. (Serial numbers > 5000) Monochrome printer with Parallel or Serial Port (Serial numbers >7000). P500 Printer P600 Printer P310 Printer

Max Secure Printers

80 81 82 83 85

Encoder and Laminator Laminator only Encoder only Printer Max3300

2-8

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

!V Command - Return Operational Parameter

Description

Returns value for a selected parameter.

Note that this command only applies to Max3300 Printer and Laminator Modules.

Syntax !V{p1}}

p1 = Requested Parameter Where for Printer Module: None = Return Black Printing Parameters 0 = Return Black Printing Parameters 1 = Return X Offset 2 = Return Y Offset 3 = Return Print Head Resistance 4 = Return X offset for Clear Card Material 5 = (Not Used) 6 = Card Layers Set (0 for 2; 1 for 3) 7 = Return First Layer Cut Offset 8 = Return Third Layer Cut Offset For Laminator Module: 0 = Bottom Roller Temp. (Layer Configuration Dependant) 1 = Die Cutter Offset (!CM 08) 2 = Lamination Speed (Layer Configuration Dependant) 3 = Good Lamination Counter 4 = Error Counter 5 = Movement Speed 6 = Idle Time in Standby Mode 7 = Standby Mode Temp. 8 = Layer Configuration (0 for 2; 1 for 3) 9 = Top Roller Temp. Setting (Layer Configuration Dependant)

980081-001 Rev. E

2-9

Max

P3xx M

P3xx C

P400

P500

P600

+O Command - Print Offset X-axis

Description

Max

Alters the horizontal (X-axis) start print offset point, in dots.

Syntax +O p1 Parameters p1 = Horizontal (X-axis) start print offset, in dots:


Where: 10 = Default (Std Memory) 10 = Default (Max3000) 8 = Default (Expanded Memory) 0~20 =Range (1~20 for Max Secure)

2-10

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+OY Command - Print Offset Y-axis

Description

Offsets the vertical (Y-axis) start print location in dots.

Syntax +OY p1 Parameters p1 =


Where: Vertical (Y-axis) offset, in dots 15 = Default (Standard Memory) 6 = Default (Extended Memory) 6 = Default (Max)

980081-001 Rev. E

2-11

Max

P3xx M

P3xx C

P400

P500

P600

+EC Command - End of Print

Description

Max

Specifies a point, beyond which, no card printing occurs. Print stations with associated Extended Memory installed have storage for 1024 lines of imaging, which exceeds the x-axis image area on the cards. The parameter for End of Print causes the print head to raise at the end-of-card point, not the end of data. If left down beyond the end of card, the print head can shear the ribbon as the print head abruptly drops below the surface of the card.

Syntax +ECp1 Parameters p1 =


Where: line count for end-of-print 8 = default (standard) 0 = default (Max3000) 0~24=range

Example

The following example sets the End of Print to 8 (the default value).

+EC8

2-12

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+LAYER Command - Choose Number of Card Layers

Description

Specifies creation of two- or three-layer cards

Note that this command only applies to Max3300 Systems. When sent, both the Printer and Laminator receive this command.

Syntax +LAYERp1 Parameters p1 =


Where: Number of Layers 0 = Two Layers 1 = Three Layers

980081-001 Rev. E

2-13

Max

P3xx M

P3xx C

P400

P500

P600

!R Command - Print Head Resistance

Description

Max

Enters manufactures average resistance that appears on the print head label. Note that replacement to a print head with 10-micron glass can produce faint printing if not offset (typically from between 180 and 225 ohms). An offset that optimizes print quality should be found.

Note: This setting interacts with the following commands:


+C +$L +$C Thermal Transfer Intensity Color Intensity Color Contrast

Syntax !Rp1 Parameters p1 =


Where: Resistance p1 range = 1400~2350

Example

In the following example, 1567 ohms is entered based on the print head label.

!R1567

2-14

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

M/m Commands - Multiple Command

Description

Groups and repeats a string of commands N times. M differs from m only regarding the response to errors. Errors encountered during commands linked by m commands abort any remaining commands, while M-linked commands resume after error removal.

Note that Max3000s perform best with this kind of command linking for the print-related commands (see Appendix E).

Syntax M p1c1[c2[c3...[cn Parameters p1 =


C1~Cn = Number of times to repeat following command string. Series of linked commands repeated p1 times. Note the square bracket ([) delimiters.

Example

This example shows an M command used to group and repeat four commands.

M3MI[ !D[ !M[MO


The M command groups a command string. A card loads to the print ready position with the MI command. !D lowers the print head; !M raises the print head, and MO sends the card to the output tray. The M command specifies three repeats of this sequence. If an error occurs (e.g., the input hopper runs out of cards) a command sequence linked by the M command terminates. In contrast, after error correction and an associated pressing of the Panel Button, a command sequence linked by the m command resumes.

980081-001 Rev. E

2-15

Max

P3xx M

P3xx C

P400

P500

P600

MI Command - Input Card To Print

Description

Max

Moves a card from the Card Input Hopper to the Print Ready position. For P600: Moves card to the Print Ready position of Module 1.

Syntax MI Parameters None

2-16

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

MIB Command - Reverse Card To Card Feeder

Description

For P300/P400: Moves a card from beyond the print position back to the Print Ready position. For P500/P600: Sent to Module 1, returns a card from beyond the Print Ready position of Module 1 (not yet in Card Flip of Module 2) to the Print Ready position of Module 1. Sent to Module 2, returns a card to Laminate Ready position from beyond Laminator of Module 2.

Syntax MIB Parameters None

980081-001 Rev. E

2-17

Max

P3xx M

P3xx C

P400

P500

P600

ME Command - Exit Card To Output Tray

Description

Max

Moves and exits a single card from or any position except the card feeder to the output tray. For P500 and P600: Sent to Module 1, ejects a card anywhere in the card Module. Sent to Module 2, ejects any card present in Module 2. If no card is present, a Ribbon End or Card-Feed error occurs.

Syntax ME{p1} Parameters p1 =


Number of cards to pass through printer.

2-18

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

MB Command - Return Card To Card Feeder

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 tray. Sent to Module 2 of P500 and P600: Returns a card in Module 2 to the Module 1 exit point.

Syntax MB Parameters None

980081-001 Rev. E

2-19

Max

P3xx M

P3xx C

P400

P500

P600

MO Command - Exit Card To Output Tray

Description

Max

For P300 and P400: Moves and exits a single card from any position including the Input Hopper to the output tray. For P500: Sent to Module 1, ejects a card from anywhere in printer including the Input Hopper to the Output Tray. Sent to Module 2, ejects a card in Module 2 to the Output Tray. If no card is present, printer responds ACK. For P600: Sent to Module 1, moves card to Module 2 from any position in Module 1, including Input Hopper. Sent to Module 2, moves card to Output Tray from any position in Module 2. If no card is present, printer responds ACK. For Max: Sent before an MF command, sends Clear Card to the Card Assembly Station. Sent after an MF command, sends a White Card to the Card Assembly Station, and if needed, sends the assembled cards to the Laminator and Die Cutter module.

Syntax MO Parameters None

2-20

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

!FF Command - Set Ribbon Sequence

Description

Resets and moves the ribbon to a selected panel. The printer first aligns on the Cyan (and Black) panels and then counts ribbon panel positions from the Yellow 0" panel.

Syntax !FFp1 Parameters p1 =


Panel detection number where:

p1 = 0 = Move ribbon to Sync Position, as follows:


Ribbon
YMC YMCKr YMCKrO YMCKrOKr KsO KrO

Sync Position
Yellow Panel Yellow Panel Yellow Panel Yellow Panel Mid Overlay Mid Overlay

p1 =1 = Move to next transparent panel, unless already there p1 =2 = Move to next non-transparent panel, unless already there p1 = 3 = Move to beginning of Black (for YMCKrO ribbons only)

980081-001 Rev. E

2-21

Max

P3xx M

P3xx C

P400

P500

P600

+RIB Command - Set Ribbon Type

Description

Max

Sets printer operation for either a Standard or one of the nonstandard ribbons, as follows:

Standard Ribbons: Kr (Monochromeexcept P310 and Max3300) YMCKrO KsO KrO

nonstandard Ribbons: YMCKrOKr YMC YMCKr YMCKrKr YMCKr_Kr

Note: Parameter settings associated with this command establish the ribbon positioning that occurs following a long press of the Panel Button. P310s synchronize ribbons automatically after an unlatch and latch of the Print Head, but require a P1 setting of 4 to avoid attempted ribbon synchronization with monochrome ribbons installed. Without this setting, some ribbon waste occurs in an attempted synchronization.

Syntax +RIBp1 Parameters p1 =


Ribbon Type 0= 4= 10 = 11 = 13 = 20 = 21 = Standard Ribbon Monochrome Ribbon (P310/Max3300 only) 6-Panel Ribbon (YMCKrOKr) 3-Panel Ribbon (YMC) 4-Panel Ribbon (YMCKr) 5-Panel Ribbon (YMCKrKr) 5-Panel Ribbon w/spaced Kr (YMCKr_Kr) Where:

2-22

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+RIB Command - Set Ribbon Type Continued)


Note: Card imaging using the YMCKOK ribbon requires the following command sequence:

IS 0 IS 1 IS 2 I IV 10 I 20 MO

Image Yellow Image Magenta Image Cyan Image Black & Return (YMCKOK only) Image Varnish and Return Image Black and Return Eject Card

980081-001 Rev. E

2-23

Max

P3xx M

P3xx C

P400

P500

P600

!M Command - Move Print Head Up

Description

Max

Moves the Print Head assembly up from the card (and platen roller).

Syntax !M Parameters None

2-24

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

!D Command - Move Print Head Down

Description

Moves the Print Head assembly down to the card (and platen roller).

Syntax !D Parameters None

980081-001 Rev. E

2-25

Max

P3xx M

P3xx C

P400

P500

P600

!SA Command - Self Adjust

Max

Initiates a printer self-adjust sequence.

Note that this command requires the prior installation of a 5-panel ribbon and works best with 10-mil cards. Successful completion results in adjustment of all sensors and voltages, confirmed by no errors indicated. Note that this command only applies to P310 and Max3300 printers.

Syntax !SA Parameters None

2-26

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

CLNCARD Command - Establish Cleaning Card Sequence

Allows settings for a time-to-clean alert and the cycling of cleaning card in card path.

Note that this command only applies to P310 and Max3300 printers.

Syntax CLNCARDp1p2 Parameters p1 =


Ribbon Panel Count to Cleaning Notification (Default = 5000) p2 = Number of Cleaning Card Passes Through Printer (Default = 5)

980081-001 Rev. E

2-27

Max

P3xx M

P3xx C

P400

P500

P600

CLEAN Command - Start Cleaning Card Sequence

Max

This command requires the prior removal of any ribbon and a manual feed of a Cleaning Card. The following occurs:

Raise Print Head Feed a card to a position under Print Head Lower Print Head Move card back and forth the number of times specified by CLNCARD Command. Raise Print Head Exit card

Note that this command only applies to P310 and Max3300 printers.

Syntax CLEAN Parameters None

2-28

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+BS Command - Set Black Speed

Description

Optimizes Resin printing for either quality or print speed.

Syntax +BSp1 Parameters p1 = Speed


Where: 0 = High Speed Printing 1 = High Quality Printing

980081-001 Rev. E

2-29

Max

P3xx M

P3xx C

P400

P500

P600

IM Command - Print Color Test Card

Description

Max

Prints a card with a color test pattern.

Syntax IM Parameters None Figure 2-1 Color Test Card

2-30

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

IMB Command - Print Black Test Card

Description

Prints an all black card. Typically this card serves as a basis for Print Head adjustments. Note that a black ribbon is required (PVC-L BLK preferredPart Number 800015-001).

Syntax IMB Parameters None Figure 2-2 Print Black Test Card

980081-001 Rev. E

2-31

Max

P3xx M

P3xx C

P400

P500

P600

A Command - Print Test Card

Description

Max

Prints a standard test card with printer parameters, version number, and test pattern. Max systems print two cardsone for the Printer the other for the Laminator (if connected).

Syntax A{p1} Parameters p1 = Test Card


Where: None = Standard Test Card(s) (Includes a Test Card for each Max3000 Module con-

nected) 1 = Printer Test Card 2 = Magnetic Encoder Test Card 3 = Lamination Test Card

Figure 2-3 Standard Monochrome Test Card

Figure 2-4 Standard Color Test Card

Figure 2-5 Max Printer and Laminator Card Pair

2-32

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

F Command - Clear Monochrome Image Buffers

Description

Clears Monochrome image buffers of bit-maps and printable data (lines, text, bar codes, etc.).

Syntax F Parameters None

980081-001 Rev. E

2-33

Max

P3xx M

P3xx C

P400

P500

P600

G Command - Initialize Monochrome Graphic (B/W)

Description

Max

Initializes Monochrome graphic area using height, width and position.

Syntax G p1 p2 p3 p4 p5 p6 Parameters p1 =
p2 = p3 = Horizontal (X-axis) start position (X) in dots. Vertical (Y-axis) start position (Y) in dots. Download Mode for Graphic (Bit-map): When using bytes, the byte count must be rounded upward to the next nearest whole byte. Example: 25 dots = 3 bytes + 1 dot = 4 bytes
Data
Byte Byte Byte Byte Dot Dot Dot Dot Standard Standard with Checksum Compressed Compressed with Checksum Standard Standard with Checksum Compressed Compressed with Checksum

Value
0 1 2 3 10 11 12 13

Description

p4 = p5 = p6 =

Vertical (Y-axis) height of graphic in bytes. Round up the number of bytes loading in multiples of 8 bits (i.e. Monochrome dots). Horizontal (X-axis) width of graphic in dots (i.e. horizontal lines). Graphic Mode:
Value 0 1 Description

Reverse Bit-map - Clear print area


and load reverse bit-map image

Standard Bit-map - Clear print area


and load bit-map image

Merge Bit-map - Overwrite


2 background bit-map image with printable dot locations leaving non-printing dot locations alone.

2-34

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

O/vO Commands - Load Single Line Bit-map (Mono.)

Description

Loads a single line of Monochrome bit-map data into a monochrome image buffer. The printer uses the proceeding G command to specify and control the line bit-map placement. An O command specifies a Monochrome Buffer used for Resin printing, and a vO command specifies a Monochrome Buffer used for Varnish printing.

Syntax Odata{CHECKSUM}
vOdata{CHECKSUM}
Note: NO space (20 Hex.) exists between the O and the data.

Parameters data =

Uncompressed or compressed Monochrome bit-map data. Data length should match the line length as specified in the proceeding G command.

See Chapter 1 for the relationship of Monochrome Bit-maps to data. CHECKSUM = Single byte of XOR data generated from image data.

Example

Proceeding Command is:

G20020006321
(This G command specifies bit-map data) 32 lines of 6-byte

Remember, any chance control characters that appear among the data require a preceding open bracket ([) character. Control characters include Escape (1B hex), Return (OD hex), and the Open Bracket (5B hex).

980081-001 Rev. E

2-35

Max

O/vO Commands - Load Single Line Bit-map (Continued)

The 32 O command lines immediately follow the G command as:

OdataLine1 OdataLine2 OdataLine3 etc.


EscG

Figure 2-6 Line by Line Image Object & Hexadecimal Code

1B 1B 1B 1B 1B 1B 1B 1B 1B 1B 1B 1B 1B 1B 1B

79 79 79 79 79 79 79 79 79 79 79 79 79 79 79

00 00 00 00 03 0F 1F 3F 3F 7F 7F 7F FC F0 E0

00 00 00 00 F0 FC FE FF FF FF FF FF 0F 03 01

0D 0D 0D 0D OD 0D 0D 0D 0D 0D 0D 0D 0D 0D 0D

2-36

980081-001 Rev. E

CR

1 Byte

Data

P3xx M

P3xx C

P400

P500

P600

Z/vZ Commands - Load Bit-map (Monochrome)

Description

Loads a monochrome bit-map into a monochrome image buffer. The printer uses the proceeding G command to specify and control the bit-map placement. The Z command places the bit-map in a buffer used for Resin printing, and the vZ command places the bit-map in a buffer used for Varnish printing.

Syntax Zdata{CHECKSUM}

vZdata{CHECKSUM}
Note: NO space (20 Hex.) exists between the

Z/vZ and the data.

Parameters data =

Uncompressed or compressed Monochrome bit-map data. The bit-map data must match the size and dimension specified in the proceeding G command.

See Section 1 for the relationship on how monochrome bit-maps relate to data. CHECKSUM = Single byte of XOR data generated from the image data.

Remember, any chance control characters that appear among the data require a preceding open bracket ([) character. Control characters include Escape (1B hex), Return (OD hex), and the Open Bracket (5B hex).

980081-001 Rev. E

2-37

Max

Z/vZ Commands - Load Bit-map (Continued)

Example

The following command and figure shows a G command with an associated Z command containing data for the image buffer.

G20020002151 Zdata

Figure 2-7 Image Object & Hexadecimal Code

1 Byte

1B 00 00 00 00 03 0F 1F 3F 3F 7F 7F 7F FC F0 E0 OD

90 00 00 00 00 F0 FC FE FF FF FF FF FF 0F 03 01

EscZ

Data

CR

2-38

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

P/vP Commands - Write Dot (Monochrome)

Description

Writes a single monochrome dot to a monochrome image buffer. The Pcommand writes to the buffer used for Resin printing. The vP command writes to a buffer used for Varnish printing.

Syntax P p1 p2 p3 Parameters p1 =
p2 = p3 = Horizontal (X-axis) start position (X) in dots. Vertical (Y-axis) start position (Y) in dots. Graphic Mode:
Value 0 1 Description

Reverse Bit-map - Clear print area


and load reverse bit-map image

Standard Bit-map - Clear print area


and load bit-map image

Merge Bit-map - Overwrite


2 background bit-map image with printable dot locations leaving non-printing dot locations alone.

980081-001 Rev. E

2-39

Max

P3xx M

P3xx C

P400

P500

P600

L/vL Command - Write Line (Monochrome)

Description

Max

Writes a Monochrome graphic line using parameters to specify origin, height, and width. The resulting line overwrites any existing graphics data. The Lcommand writes to the buffer used for Resin printing. The vL command writes to a buffer used for Varnish printing.

Syntax L p1 p2 p3 p4 p5 Parameters p1 =
p2 = p3 = p4 = p5 =
Value
0 1

Horizontal (X-axis) start position (X) in dots. Vertical (Y-axis) start position (Y) in dots. Horizontal (X-axis) width of graphic in dots (i.e. horizontal lines). Vertical (Y-axis) height of graphic in dots. Graphic Mode
Description Reverse Bit-map - Clear print area and load
reverse bit-map image

Standard Bit-map - Clear print area and load


bit-map image

Merge Bit-map - Overwrite background


2 bit-map image with printable dot locations leaving non-printing dot locations alone.

Figure 2-8 Line /Rectangle Image Positioning


D O T S

LINES

Line Image Origin

2-40

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

C/vC Command - Write Box (Monochrome)

Description

Writes a hollow-box rectangle graphic to a monochrome image buffer by defining the height, width, line thickness (width) and origin. The Ccommand writes to the buffer used for Resin printing. The vC command writes to a buffer used for Varnish printing.

Syntax C p1 p2 p3 p4 p5 p6 vC p1 p2 p3 p4 p5 p6 Parameters p1 =
p2 = p3 = p4 = p5 = p6 =
Value
0 1

Horizontal (X-axis) start position in dots. Vertical (Y-axis) start position in dots. Horizontal (X-axis) width of graphic line in dots (i.e. horizontal lines). Vertical (Y-axis) height of graphic line in dots. Thickness/width of diagonal graphic line in dots. Graphic Mode
Description Reverse Bit-map - Clear print area and load
reverse bit-map image

Standard Bit-map - Clear print area and


load bit-map image

Merge Bit-map - Overwrite background


2 bit-map image with printable dot locations leaving non-printing dot locations alone.

Figure 2-9 Hollow Box Image Positioning

LINES

D O T S

P5

Hollow Box Image Origin

980081-001 Rev. E

2-41

Max

P3xx M

P3xx C

P400

P500

P600

D/vD Commands - Write Diagonal (Monochrome)

Description

Max

Write a monochrome diagonal line graphic by defining the total height, total width, line thickness (width) and position in the Monochrome image buffer. The D command writes to the Resin buffer, and the vD command writes to the Varnish buffer. The actual image placed is a rectangle.

Syntax Dp1 p2 p3 p4 p5 p6 p7 Parameters p1 =


p2 = p3 = p4 = p5 = p6 =
1 2

Horizontal (X-axis) start position, in dots. Vertical (Y-axis) start position, in dots. Horizontal (X-axis) width of graphic, in dots. Vertical (Y-axis) height of graphic, in dots. Thickness/width of the line, in dots. Rotation & Origin:
Value Description
90 degrees 180 degrees

Origin
Lower Left Lower Left

p7 =
Value
0 1

Graphic Mode:
Description Reverse Bit-map - Clear print area and load
reverse bit-map image

Standard Bit-map - Clear print area and


load bit-map image

Merge Bit-map - Overwrite background


2 bit-map image with printable dot locations leaving non-printing dot locations alone.

Figure 2-10 Diagonal Line Values


D

LINES

O T S

P4 P3
Diagonal Line Image Origin

2-42

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

T/vT Commands - ASCII Text (Monochrome)

Description

Downloads a single line of modified ANSI Windows characters as text. See Appendix A for Character Map. The T command downloads to the Resin buffer, and the vT command downloads to the Varnish buffer.

A printer error occurs when text extends beyond the addressable buffer area. The resident fonts derive from proportionally-spaced 100-point Arial Bold and 100-point Arial Normal. Because of kerning, characters spacing is minimized.

Syntax T p1 p2 p3 p4 p5 p6 p7data Parameters p1 =


p2 = p3 =
0 1 2 3 4 5 6 7

vT p1 p2 p3 p4 p5 p6 p7data Horizontal start position (X) in dots. Vertical start position (Y) in dots. Rotation & Origin
Value Description
No rotation 90 degrees 180 degrees 270 degrees No rotation 90 degrees 180 degrees 270 degrees

Origin
Lower Left Lower Left Lower Left Lower Left Centered Centered Centered Centered

p4 =
0 1

Font selection
Value Description
Arial, 100 points Normal Arial, 100 points Bold

p5 =

Horizontal (X-axis) width (before rotation) of text (data string) graphic in dots. If the value is zero (0) the text maintains normal font proportions and scales according to the value of the Y-axis (p6) value.

980081-001 Rev. E

2-43

Max

T/vT Commands - ASCII Text (Continued)

p6 =

Vertical (Y-axis) height (before rotation) of text (data string) graphic in dots. Examples: For 28-point normal, p6 = 104 For 28-point bold, p6 = 140

Note: With p5 a 0, fonts maintain normal proportions, and just p6 determines font size.

p7 =
Value
0 1

Graphic Mode:
Description Reverse Bit-map - Clear print area and
load reverse bit-map image

Standard Bit-map - Clear print area and


load bit-map image

Merge Bit-map - Overwrite background


2 bit-map image with printable dot locations leaving non-printing dot locations alone.

data =

Represents a single line modified ANSI text data field. See Appendix A for a supported character font map.

The printer interprets the Space character as a command field delimiter and the Carriage Return character as a command terminator. However, except as the first character, the Space character may be used within a text data string.

To use the Space character at the beginning of a text data field, the Leading Bracket character ( [ Dec. 91 or 5B Hex.) must be added as the first character of the text string. Also, to print a Leading

Bracket character two Leading Bracket characters


must be entered.

2-44

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

B/vB Command - Write Bar Code

Description

This command is used to print standard bar codes. See Appendix A for character maps and unique parameter settings for each bar code type.

Syntax B p1 p2 p3 p4 p5 p6 p7 p8data Parameters p1 =


p2 = p3 =
0 1 2 3 4 5 6 7

Horizontal (X-axis) start position, in dots Vertical (Y-axis) start position, in dots. Rotation:
Description
No rotation 90 degrees 180 degrees 270 degrees No rotation 90 degrees 180 degrees 270 degrees

Value

Origin
Lower Left Lower Left Lower Left Lower Left Centered Centered Centered Centered

p4 =
Value
0 1 2 3 4 5 6 7 107 8 108

Bar Code selection - See Appendix A


Bar Code Type
Code 39 (3 of 9) (alphanumeric) 2/5 Interleaved (Numeric, Even No.) 2/5 Standard (Numeric) EAN8 (Numeric, 7 digits encoded) EAN13 (Numeric, 12 digits encoded) UPC - A (Numeric, 12 digits encoded) Reserved for MONARCH Code 128 C without check digits * (Numeric Only, Even Number Printed) Code 128 C with check digits * (Numeric Only, Even Number Printed) Code 128 B without check digits * (alphanumeric) Code 128 B with check digits * (alphanumeric)

* -Not supported by some Monochrome printer models

980081-001 Rev. E

2-45

Max

B/vB Command - Write Bar Code (Continued)


p5 =
Value
0 1 2

Bar width ratio:


Narrow Bar
1 dot 1 dot 2 dots

Wide Bar
2 dots 3 dots 5 dots

Ratio
2:1 3:1 2.5:1 or 2:5

Note: Some bar code types have a selectable bar code width ratio. See Appendix A for supported ratio and settings.

p6 =

Bar code bar width multiplier. Range 3~9 for all Privilege card bar codes except UPC-A, EAN-8 and EAN-13 which have a range of 4~7. For a selected bar width ratio of 2:5, the range is 2~4. Note: Each bar code type has a specified standard for the width range of a narrow bar width. See Appendix A for optimal values. Bar code height in dots. Note: Each bar code type has an industry specified minimum height standard. See Appendix A for optimal values. Print human readable code. Acceptable values are 1 = yes or 0 = no. Represents a fixed data field. Each bar code type has a differing data field length and allowable character requirements. See Appendix A.

p7 =

p8 = data =

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-46

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

I Command - Print Monochrome Graphics

Description

This

command

serves

to

print

monochrome

graphic panel from a card image previously stored in the buffer designated for Resin images. After print completion, the card may be ejected to the output tray (hopper) or repositioned to print another image (ribbon panel). Typically the clear varnish, or for some models, the hologram lamination prints next. Then, a duplex printer may produce additional printing after flipping the card to the opposite side. Ribbon panels advance during printing, making the installed ribbon the overriding factor in choosing buffers for imaging.

Syntax I{p1} Parameters p1 =


Value
None 10

Optional Command Parameter


Description
Prints Monochrome image buffer and Ejects card. Prints card and returns the card to the print ready position.

Print Options

For Ribbons with Monochrome (1 panel) and clear veneer (1 panel) with printer firmware versions 2.00 and above - Prints card and
returns the card to the print ready position. Also, if appropriate, synchronizes multiple-panel ribbon for the next print pass. For P500s using YMCKOK ribbon, the card ejects after the last application of either Kr or laminate, and a prior +DLAMI command determines whether or not the I 20 command invokes lamination. For Max3300s using KrO ribbon, informs printer to synchronize to print Overlay panels. Print Card but leave in place (Allows preparation for Module 2 with Module 2 BUSY in P600s.

20

30

Max3300 with KrO Ribbon Example: I 20 IV MO MF I 20 IV MO

980081-001 Rev. E

2-47

Max

P3xx M

P3xx C

P400

P500

P600

J Command - Print Multiple Monochrome Cards

Description

Max

Note: This command only applies to monochrome printing using a Monochrome ribbon having a single continuos color and material; i.e., all black, all red, all green, etc.
This command serves to print several Monochrome cards from an image previously stored in the Resin image buffer. P600: P600 Printers do not respond to this command.

Syntax Jp1 Parameters p1 =


Number of cards to print.

2-48

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+C Command - Adjusts Monochrome Intensity

Description

Sets

the

Monochrome

ribbon

transfer

(heat) level. Varying the intensity level affects the Dot Gain or size of the dot and the density (opaqueness) of the transferred material.

Syntax +C p1 Parameters P1 =
Where: Intensity 3 = Printer Default 0~10 = Range

980081-001 Rev. E


intensity

2-49

Max

P3xx M

P3xx C

P400

P500

P600

IV Command - Print Clear Veneer

Description

Max

This command serves either to print the entire addressable image buffer or to reverse print with the clear veneer or any image data (line, rectangles, graphics, text, etc.) previously stored in a monochrome image buffer. After printing is complete, the card may be ejected to the output tray (hopper) or repositioned to print more ribbon panels for models that support the hologram, lamination, or the duplex operations. The ribbon panels advance during printing such

that completion of printing from one ribbon panel leaves the ribbon ready to print the next panel.

Syntax IV{p1} Parameters p1 =


Value
None 1 10 11

Optional Command Parameter


Description
Prints 100% of image buffer with the clear veneer material and ejects card. Prints the inverse of the image buffer data and ejects card. Prints card and returns the card to the print ready position. Print inverse of image buffer and return card to print ready position. Print card, but leave in place (facilitates advancing card in Module 1 in preparation for not BUSY in Module 2 (P500s and P600s). Similar to 30, but print inverse image.

Print Options

30

31

2-50

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+CV Command - Adjust Clear Veneer Intensity

Description

Sets the clear veneer ribbon transfer intensity (heat) level. Varying the intensity level affects the density (amount) of the transferred material.

Syntax +CV p1 Parameters p1 =


Where: Intensity 3 = Default 0~10 = Range

980081-001 Rev. E

2-51

Max

P3xx M

P3xx C

P400

P500

P600

$F Command - Clear Color Image Buffers

Description

Max

Clears the color image buffers.

This command can be used in conjunction with the IS print command to advance the ribbon without printing any data.

Syntax $F Parameters None

2-52

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

$FP Command - Clear Specified Bit-Maps

Allows Extended Memory users to clear areas reserved for specified colors.

Note that this command only applies to P310 and Max3300 printers.

Syntax $FP p1 Parameters p1 =


Where: Area Cleared 0= 1= 2= 3= Yellow Magenta Cyan Dye Black (Using KsO Ribbon)

980081-001 Rev. E

2-53

Max

P3xx M

P3xx C

P400

P500

P600

PS Command - Download Color Image Buffer

Description

Max

Initializes and downloads separated color data (C, M, Y, or K) for an associated complete single-color image buffer.

Syntax PS p1 p2 data Parameters p1 =


Color image buffer number: 0 = Yellow (Y) 1 = Magenta (M) 2 = Cyan (C) 3 = Thermal Transfer Black (K) p2 = Data Mode: 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 maximums are: 628,992 Compressed Bytes (Standard Printer) 655,360 Compressed Bytes (Extended. Memory) 683,296 Compressed Bytes (Max3300 Memory)

2-54

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

GS Command - Download Color Graphic

Description

Initializes, age.

downloads,

and

positions

color-separated data (C,M,Y, or K) for a partial imDefines the height, width and position of the graphic.

Syntax GS p1 p2 p3 p4 p5 p6 data Parameters p1 =


Color image buffer number: 0 = Yellow (Y) 1 = Magenta (M) 2 = Cyan (C) 3 = Dye Sublimation Black (K) Data Mode: 32 = Uncompressed Data - 256 levels (00-FF Hex.) 30 = Compressed Data - 32 levels (00-1F Hex.) Horizontal (X-axis) start position, in dots. Vertical (Y-axis) start position, in dots. Horizontal (X-axis) width of graphic, in dots (i.e. horizontal lines). Vertical (Y-axis) height of graphic, in bytes. Uncompressed or compressed color bit-map data for a single separated color.

p2 = p3 = p4 = p5 = p6 = data =

980081-001 Rev. E


individual

2-55

Max

P3xx M

P3xx C

P400

P500

P600

+$L Command - Adjust Color Intensity

Description

Max

Sets the maximum color intensity (heat) level applied to a selected dye sublimation ribbon panel.

Syntax +$L p1 p2 Parameters p1 =


Where: Color image buffer number: 0 = Yellow (Y) 1 = Magenta (M) 2 = Cyan (C) 3 = Dye Sublimation Black (K) Intensity 5 = Printer Default5 0~10 = Range

p2 = Where:

2-56

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+$C Command - Adjust Color Contrast

Description

Sets the range from the maximum to the minimum color intensity (heat) level applied to a selected dye sublimation ribbon panel.

Syntax +$C p1 p2 Parameters p1 =


Where: Color image buffer 0 = Yellow (Y) 1 = Magenta (M) 2 = Cyan (C) 3 = Dye Sublimation Black (K) Contrast: 5 = Printer Default 0~10 = Range

p2 = Where:

980081-001 Rev. E

2-57

Max

P3xx M

P3xx C

P400

P500

P600

IS Command - Print Color Graphic

Description

Max

This command serves to print from a selected color dye sublimation ribbon panel using data from an associated image buffer. After completing a printing pass, the card is repositioned to print the next ribbon panel. The ribbon panel advances during printing such that completion of one panel leaves the ribbon ready to print the next panel.

Note: Printing for Dye Sublimation Black occurs using data from a color buffer in conjunction with a KsO ribbon.

Syntax ISp1 Parameters p1 =


Where: Color image buffer number: 0= 1= 2= 3= Yellow (Y) Magenta (M) Cyan (C) Dye Sublimation Black (Ks)

Note: Card imaging using the YMCKOK ribbon requires the following command sequence:

IS 0 IS 1 IS 2 I

Image Yellow Image Magenta Image Cyan Image Black and Return (YMCKOK only) IV 10 Image Varnish and Return I 20 Image Black and Return MO Eject Card

2-58

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

IH Command - Print Hologram

Description

This command serves to print the entire address able Varnish image buffer or to reverse print any image data (line, rectangles, graphics, text, etc.) previously stored in the Resin image buffer. After printing is complete, the card may be ejected to the output tray (hopper) or repositioned to print more ribbon panels for models that support the duplex option. The ribbon panel advances during printing such that the next panel is ready to print.

Syntax IH{p1} Parameters p1 =


Optional Command Parameter, as follows:

Print Options
Value
None 1 10

Description
Prints 100% of image buffer as hologram lamination and ejects card. Prints the inverse of the image data to card and ejects card. Prints card and returns the card to the print-ready position.

980081-001 Rev. E

2-59

Max

P3xx M

P3xx C

P400

P500

P600

+CH Command - Adjust Hologram Intensity

Description

Max

Sets the Hologram material transfer intensity (heat) level. Varying the intensity level affects the Dot Gain or size of the dot and the density (opaqueness) of the transferred material.

Syntax +CH p1 Parameters p1 =


Where: Intensity 5 = Printer Default 0~10= Range

2-60

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

MF Command - Rotate Card To Duplex

Description

Flips the card 180 for duplex printing.

Note that for user safety, a card-flip requires a closed cover.


For P400: Card remains in the Card-Flip Assembly. For P500: If a card is in the printer, places card in Card-Flip, flips card, and returns card to Print-Ready position. If no card is in the printer, feeds a card prior to placing a card in Card Flip, flipping card, and returning card to Print-Ready position. For P600: If a card is anywhere in Module 2, places the card in Card-Flip and flips card. If a card is in Module 1, waits for card to arrive in Module 2 and then flips card. For Max3000: No flip occurs. Instead, white card printing is initiated.

Syntax MF Parameters None Example


See +DLAMI Command (Omit +DLAMI for P400)

980081-001 Rev. E

2-61

Max

P3xx M

P3xx C

P400

P500

P600

&R Command - Reset Magnetic Encoder

Description

Max

Clears the magnetic encoder command and data buffers.

Note: This command does not return the track data format or density to default values.

Syntax &R Parameters None

2-62

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&E Command - Write Single Track

Description

Encode, Write and Read (verify) a single track of data. The printer feeds a card (if a card is not loaded) and magnetically writes data to the selected ISO track. The card automatically read-verifies the encoded data. The card then moves to the print-ready position.

Syntax &Ep1data Parameters p1 =


data = Encoding Track Number (1~3). ISO track

The actual data encoded onto the card is converted from ASCII to the encoding format previously specified for the associated ISO card track. See Appendix C for default ANSI/ISO encoding commands. data formats and custom

980081-001 Rev. E

2-63

Max

P3xx M

P3xx C

P400

P500

P600

&B Command - Write Buffer Single Track

Description

Max

Load data into the write buffer for a single selected track of encoding.

Syntax &Bp1data Parameters p1 =


Encoding Physical Track Number. 1 = Track 1 Decimal data 2 = Track 2 Decimal data 3 = Track 3 Decimal data 11= Track 1 Hexadecimal data* 12= Track 2 Hexadecimal data* 13= Track 3 Hexadecimal data* Each track has unique character and length limitations due to formatting. For p1 values of 1~3, the printer automatically inserts the required ISO control characters (start and stop sentinel, longitudinal redundancy check character, etc.) into the data.
Characters (Default ANSI/ISO) Field Separator
^

data =

Track

Length

$ ( ) - . / 0 through 9 A through Z (All Caps) 0 through 9 0 through 9 Hexadecimal Hexadecimal Hexadecimal

76

2 3 11* 12* 13*

= = N/A N/A N/A

37 104 * * *

* - For encoders with printer serial number 5000 and greater, see Appendix C for extended encoder command set and custom track data and control parameters.

The actual data encoded on to the card is converted from ASCII to an ISO tracks specified encoding format. See Appendix C for default ANSI/ISO data

formats and custom data encoding commands.

2-64

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&E* Command - Write Track Buffers

Description

Encodes, Writes, and Reads (verifies) for all tracks of data stored in printer memory. The printer feeds a card (if a card is not loaded) and magnetically writes data (stored in memory) to the pre-selected ISO track(s). The card automatically repositions and read-verifies the encoded data. The card then is repositioned to the print ready position. The encoder data buffer is cleared for the next operation.

Syntax &E* Parameters None

980081-001 Rev. E

2-65

Max

P3xx M

P3xx C

P400

P500

P600

&L Command - Read Single Track

Description

Max

Reads data for a single track from a magnetic card.

Syntax &Lp1 Parameters p1 =


Track Number. 1 = Track 1 Decimal data per following table 2 = Track 2 Decimal data per following table 3 = Track 3 Decimal data per following table

Note: p1 values of 11, 12, and 13, require a preceding space.

11= Track 1 Hexadecimal data 12= Track 2 Hexadecimal data 13= Track 3 Hexadecimal data
Track Characters (Default) Field Separator
^

Length

$ ( ) - . / 0 through 9 A through Z (All Caps) 0 through 9 0 through 9 Hexadecimal* Hexadecimal* Hexadecimal*

76

2 3

= = N/A N/A N/A

37 104 * * *

11 12 13

* - For encoders with printer serial numbers 5000 and greater, see Appendix C.

The actual data encoded on to the card is converted automatically from an ISO tracks specified encoding format to ASCII. See Appendix C for default

ANSI/ISO data formats and custom data encoding commands.

2-66

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&W Command - Change Encoding Direction

Description

Change the direction that the encoder starts writing and reading operations.

Syntax &Wp1 Parameters p1 =


Direction Select, as follows:
Value
0 1

Description
Forward Reverse

980081-001 Rev. E

2-67

Max

P3xx M

P3xx C

P400

P500

P600

&D Command - Change Track Density

Max

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). The card printer can operate with both

interfaces attached and communicating with the printer.

Description

Change an individual track data encoding and decoding density.

Note:

To

send

this

command

Max3000 Encoder, use an stead of an Escape.

#21

directly

to

the

Initiation in-

Syntax &Dp1p2 Parameters p1 =


1 2 3

Track Select, as follows:


Description
Track 1 Track 2 Track 3

Value

p2 =
75 210

Density Select, as follows:


Description
75 bpi 210 bpi

Value

2-68

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&CDER Command - Read Custom Track Data

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through a parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

Set the encoder to read a selected data format. The &CDER command in conjunction with the &CDEW command resets the encoder to the default ISO track density and data format settings.

Note:

To

send

this

command

Max3000 Encoder, use an stead of just an Escape.

#21

directly

Initiation in-

Syntax &CDERp1p2 ISO Data &CDERp1p2p3 Raw Data Parameters p1 =


Where: p2 =
Value
0

Track Select: (values 1, 2, 3, or 0 (zero)). 0 resets ALL tracks to ISO default configuration parameters. Custom Data Select, as follows:
Description - ISO Format Data
Resets ALL tracks to ISO default configuration parameters.

Default Format Select


Q R S ISO Track 1 Data Format to Track 1 ISO Track 2 Data Format to Track 2 ISO Track 3 Data Format to Track 3

Custom ISO Track Format Location


qX rX sX Track 1 with ISO Track X Format Track 2 with ISO Track X Format Track 3 with ISO Track X Format

X = 1, 2, or 3 as the ISO default track format applied to the selected track (e.g., Q=q1, R=r2, and S=s3.

980081-001 Rev. E


to the

2-69

Max

&CDER Command (Continued)

p2 =
Value

Custom Data Select, as follows:


Description - Raw Data Format

Read Forward - Raw Data


U U Track 1 Track 1 read data with NULs in data string Track 2 Track 2 read data with NULs in data string Track 3 Track 3 read data with NULs in data string

V V

_ _

W W

Read Reverse - Raw Data


u u Track 1 Track 1 read data with NULs in data string Track 2 Track 2 read data with NULs in data string Track 3 Track 3 read data with NULs in data string

v v

_ _

w w

p3 = Where:

Data Block Size Select in Bits Acceptable values = 3, 4, 5, 6, and 7

The encoder cannot decode and convert Raw data into ASCII data. The encoder only reports data read after the process has completed.

2-70

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&CDEW Command - Write Custom Track Data

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through a parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

Configure the write data to encode a single, selected track of data. The &CDEW command in conjunction with the &CDER command resets the encoder to the default ISO track density and data format settings.

Note: To send this command directly to a Max Encoder, use an Escape.

#21 Initiation instead of just an

Syntax &CDEWp1p2 ISO Data &CDEWp1p2p3 Raw Data Parameters p1 =


Track Select: (values 1, 2, 3 or 0 (zero)) Where: 0 resets ALL tracks to ISO default configuration parameters. Data Format Select, as follows:
Description - ISO Format Data
Reset ALL tracks to ISO default configuration parameters. 0

p2 =
Value

Default Format Select


A B C ISO Track 1 Data Format to Track 1 ISO Track 2 Data Format to Track 2 ISO Track 3 Data Format to Track 3

Custom ISO Track Format Select


aX bX cX Track 1 with ISO Track X Format Track 2 with ISO Track X Format Track 3 with ISO Track X Format

X = ISO default track format applied to the selected track (e.g., A=a1, B=b2, and C=c3.

980081-001 Rev. E

2-71

Max

&CDEW Command - Continued

p2 =
Value

Custom Data Select, as follows:


Description - Raw Data Format

Read Forward - Raw Data


E E Track 1 Track 1 read data with NULs in data string Track 2 Track 2 read data with NULs in data string Track 3 Track 3 read data with NULs in data string

F F

_ _

G G

p3 = Where:

Data Block Size Select in Bits Acceptable values = 3, 4, 5, 6, and 7

The encoder cannot encode and convert ASCII data into Raw data. The encoder only reports data write process has completed.

2-72

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

&T Command - Mag. Encoder - Eject Card

Moves and exits a single card from any position between the card feeder to the output tray.

Note:

To

send

this

command

Max3000 Encoder, use an stead of just an Escape.

#21

directly

Initiation in-

Syntax &T Parameters None

980081-001 Rev. E


to the

2-73

Max

P3xx M

P3xx C

P400

P500

P600

&C Command - Set Coercivity

Description

Max

This command sets the Encoder to record on either High- or Low-Coercivity magnetic stripes.

Note: Recognition of this command requires an Encoder board that can change between high and low coercivity. Note: To send this command

Max3000 Encoder, use an stead of just an Escape.

#21

directly

to

the

Initiation in-

Syntax &Cp1 Parameters p1 =


Where: Coercivity 0 = Low 1 = High

2-74

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

MS Command - Move To Smart Card Programmer

Description

Moves a card to the Smart Card programming station.

Pins 5 and 9 of the DB-9 connector interconnect to notify an external programming device that the card is ready to program.

Syntax MS Parameters None

980081-001 Rev. E

2-75

Max

P3xx M

P3xx C

P400

P500

P600

+OS Command - Smart Card Y-axis Offset

Description

Max

Offsets the horizontal (X-axis) Smart Card programmer location in dots.

Syntax +OS p1 Parameters p1 =


Where: Horizontal start position (X) in dots 96 = Default 0~192=Range

2-76

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

SXY Command - Center Image Maps

Printers without Extended Memory can place images in an area 624-by-1008 dots, which measures slightly smaller than full-card dimensions. In contrast, Extended Memory equips the printers for 640-by-1024 dot images, an area sufficient for full-card images. If one placed a 624-by-1008 dot image using extended memory and no compensation, an off center card image would result. This command serves as a means to center a 624-by-1008 dot image on a card imaged using Extended Memory.

Note that this command only applies to P310 Printers.

Syntax SXY p1 Parameters p1 =


Where: Offset ON or OFF 0 = Origin Offset of 6 Dots in Both X and Y 1 = No Origin Offset

980081-001 Rev. E

2-77

Max

P3xx M

P3xx C

P400

P500

P600

+B Command - Serial Interface Rate

Max

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). The card printer can operate with both

interfaces attached and communicating with the printer.

Description

This command changes the baud rate of printers with serial interfaces.

Syntax +B{p1} Parameters p1 =


Serial Interface Baud Rate Options, as follows:
Select
0 1 2

Baud Rate
9600 (Default) 19200 38400

2-78

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

E Command - Retransmit Last Response

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through the printers parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

This command directs the printer to repeat the last status message.

Syntax E Parameters None

980081-001 Rev. E

2-79

Max

P3xx M

P3xx C

P400

P500

P600

+X Command - Change Command Initiator

Max

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through the printers parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

This command adds an alternate command initiation character. Some host systems cannot transmit an Escape command character. The printer then responds to both the Escape character and the added command initiation character.

Syntax +Xp1 Parameters p1 =


Where: A single ASCII character 33~255=Decimal 21~FF = Hexadecimal

Note: To remove an alternate command initiation character, send +X with p1 < 20Hex (except for 0DHex). A NACK response results, with error code 10 (Syntax Error). Then, Escape remains as the only command initiation character.

2-80

980081-001 Rev. D

P3xx M

P3xx C

P400

P500

P600

!X Command - Check Command Initiator

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through the printers parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

This command checks for an alternate command initiator. The printer either reports the alternate command initiation character or nothing.

Syntax !X Parameters None

980081-001 Rev. E

2-81

Max

P3xx M

P3xx C

P400 P400

P500 P500

P600 P600

&P Command - Check Card Present - Encoder

Max Max

The card printer responds to commands (with data or error codes) via the bi-directional serial interface only. The card printer cannot respond to this command, (other than flagging an error), through the printers parallel interface. The card printer can operate with both interfaces attached and communicating with the printer.

Description

This command is used to check for the presence of a card in the magnetic encoder station.

Syntax &P Parameters None Response Typical status response:


(NACK)05(EOT) - Card in magnetic encoder. (NACK)06(EOT) - Card not in magnetic encoder.

2-82

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

%CLN Command - Check Due-for-Cleaning Parameters

Description

Reports current values for the Printing, Cleaning and Cleaning Pass counters

Note that this commands only applies to P310 and Max3300 Systems

Syntax (sent) %CLN Syntax (received) Cpt imp: p1 next clean Prn: p2 nb_pass: p3 Parameters p1 =
p2 = P3 = Value in Print Counter Value in Clean Counter Value in Pass Counter

Example Cpt imp:0000100 next clean Prn:00001100 nb_pass:5

980081-001 Rev. E

2-83

Max

P3xx M

P3xx C

P400

P500

P600

SF Command - Synchronize Film (Overlaminate)

Description

Max

Positions Overlaminate Lamination Ribbon with black index mark at sensor. This is a first-time ribbon synchronization used to position a die-cut panel a known offset from the Laminator Station of P500 card printers. The command is only required for an initialization just after installing an Overlaminate ribbon. Subsequent applications of die-cut Overlaminate panels occur via offsets from the previous panel application. Note: A Laminator previously set for the application of Varnish (see TF Command) does not respond to this command.

Syntax #1SF Parameters None

2-84

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

TF Command - Film Type

Description

Specifies either Overlaminate or Varnish as the type of Ribbon installed in the Laminator Station of P500s.

Syntax #1TFp1 Parameters p1 =


Where: Type of Laminator Ribbon 0 = Varnish 1 = Overlaminate

980081-001 Rev. E

2-85

Max

P3xx M

P3xx C

P400

P500

P600

+TC Command - Set Temperature

Description

Max

Sets amount of heat applied in transferring material or die-cut panels from the Laminator Ribbon to the cards.

P500 Syntax #1+TCp1 Max3000 Syntax #11+TCp1 Parameters p1 =


Where: Temperature (degrees C) 165 P500 Overlaminate 155 P500 Varnish 185 Max3000 Laminate

2-86

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+DLAMI Command - Set Lamination Configuration

Description

Allows enabling or disabling of Print Station varnish or Laminator lamination. The associated application occurs with issuance of an IV command, or in some instances, an I command (In the following Examples, look for the +DLAMI that precedes an I or IV).

Note 1: This command applies to Module-1 and, therefore, requires no #1 preface.

Note 2: Only one card surface can receive lamination material.

Syntax +DLAMIp1p2 Parameters p1 =


p2 = Print Station Varnish 0 = Disable 1 = Enable Laminator Station Application 0 = Disable 1 = Enable 2 = Enable and flip to laminate (applies to YMCKO and YMCK ribbons to laminate the color side after imaging Kr on the monochrome side)

Examples Using YMCKO Ribbon

Print YMCK on both sides then laminate first side:

+DLAMI 0 1 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 0 0 IS 0 IS 1 IS 2 I IV

Laminate enabled ( side-1 default) Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) No varnish, just a return Flip Card & return Disable both varnish & lamination Print Y (side 2) Print M (side 2) Print C (side 2) Print K (side 2) Flip card, laminate, eject (no varnish)

980081-001 Rev. E

2-87

Max

+DLAMI Command - Set Lamination Configuration (Continued)

On first side, print YMCK then laminate. On second side, print YMCKO panels (no laminate):

+DLAMI 0 1 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 1 0 IS 0 IS 1 IS 2 I IV

Laminate enabled (side-1 default) Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) No varnish, just a return Flip Card & return Varnish enabled Print Y (side 2) Print M (side 2) Print C (side 2) Print K (side 2) Print O (side 2), flip, laminate, & eject

Print all ribbon panels on both sides without lamination:

+DLAMI 1 0 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 1 0 IS 0 IS 1 IS 2 I IV

Varnish enabled Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) Print O (side 1) & return Flip Card & return Varnish enabled Print Y (side 2) Print M (side 2) Print C (side 2) Print K (side 2) Print O (side 2) & eject)

2-88

980081-001 Rev. E

+DLAMI Command - Set Lamination Configuration (Continued)

Examples Using YMCKOK Ribbon

On first side, print YMCK panels then laminate. On second side, print last K panel then laminate:

+RIB 10 +DLAMI 0 1 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 0 1 I 20 MO +RIB 10 +DLAMI 0 1 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 1 0 I 20 MO

YMCKOK ribbon in use Laminate enabled (side-1 default) Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) No varnish, just a return Flip Card Laminate enabled Print K (side 2) Flip Card, Laminate, & Eject YMCKOK ribbon in use Laminate enabled (side-1 default) Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) No varnish, just a return Flip Card & return Varnish enabled Print K (side 2) & return Flip card, laminate, & eject

On first side, print YMCK panels then laminate. On second side, print just last K panel:

980081-001 Rev. E

2-89

+DLAMI Command - Set Lamination Configuration (Continued)

On first side, print YMCKO panels (no lamination). On second side, print just last K panel (No lamination):

+RIB 10 +DLAMI 1 0 IS 0 IS 1 IS 2 I IV 10 MF +DLAMI 1 0 I 20 MO

YMCKOK ribbon in use Varnish enabled Print Y (side 1) Print M (side 1) Print C (side 1) Print K (side 1) Print O & return Flip Card & return Varnish enabled Print K (side 2) & return Eject card

Examples Using KsO Ribbon

Print Ks and laminate side one and print Ks on side two:

+DLAMI 0 1 IS 3 IV 10 MF +DLAMI 0 0 IS 3 IV
print K and varnish:

Laminate enabled (side-1 default) Print K (side 1) No varnish, just a return Flip Card & return Disable both varnish & laminate Print K (side 2) Flip card, laminate, & eject Laminate enabled (side-1 default) Print K (side 1) No varnish, just a return Flip Card & return Varnish enabled Print K (side 2) Print O, flip card, & laminate

On first side, print K and laminate. On second side,

+DLAMI 0 1 IS 3 IV 10 MF +DLAMI 1 0 IS 3 IV

2-90

980081-001 Rev. E

+DLAMI Command - Set Lamination Configuration (Continued)

Print KsO on both sides without lamination:

+DLAMI 1 0 IS 3 IV 10 MF +DLAMI 1 0 IS 3 IV

Varnish enabled Print K (side 1) Print O (side 2) & return Flip Card & return Varnish enabled Print K (side 2) Print O (side 2) & eject

Examples Using Monochrome Ribbon

Print K and laminate side one:

+DLAMI 0 1 I 10 MF +DLAMI 0 0 I
just print K:

Laminate enabled (side-1 default) Place at print ready Flip Card & return Disable both varnish & laminate Print K, flip card, laminate & eject Laminate enabled (side-1 default) Print K (side 1), & return Flip Card & return Varnish enabled Print K, flip card, & eject Varnish enabled Print K & return Flip Card & return Disable both varnish & laminate Print K & eject card

On first side, print K and laminate. On second side

+DLAMI 0 1 I 10 MF +DLAMI 1 0 I +DLAMI 1 0 I 10 MF +DLAMI 0 0 I

Print K on both sides without lamination:

980081-001 Rev. E

2-91

P3xx M

P3xx C

P400

P500

P600

+VL Command - Set Lamination Speed

Max

Description

This command determines the speed that cards pass through the Lamination Rollers. Although users typically wish to attempt to achieve increased speed by setting a higher temperature, too much heat can distort cards. Card distortion produces increases in encoding errors.

Syntax #11+VLp1 Parameters p1 = Speed

2-92

980081-001 Rev. E

P3xx M

P3xx C

P400

P500

P600

+VC Command - Reduce Color Print Speed

Description

Allows a reduction in print speed for color printing, which can produce an increase in print quality.

Note that this command only applies to P310 and Max3300 printers.

Syntax +VCp1 Parameters p1 =


Where: Speed Value p1 = 0 ~ 10 (Default = 0)

980081-001 Rev. E

2-93

Max

2-94

980081-001 Rev. E

Appendix A
This section contains a listing of all fonts, bar codes, and their respective character sets supported by the Privilege Card Printer programming language.

980081-001 Rev. E

A-1

Resident Fonts

The programming language supports 2 different fonts based on The fonts are Arial Normal and Arial Bold. proportionally generated by the

printer from Arial 100 point Normal and Arial 100 point Bold font descriptions.

Hexidecimal - Most Significant Digit

0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 48

@ P
64 80

`
96

p
112 128 129 130 131 132 133 134 135 136 137 144 145 146 147 148 149 150 151 152 153 160 161 162 176 177 178 179 180 181 182 183 184 185

192

208

224

240

!
33

1
49

A
65

Q
81

a
97

q
113

193

209

225

241

"
34

2
50

B
66

R
82

b
98

r
114

194

210

226

242

Hexidecimal - Least Significant Digit

#
35

3
51

C
67

S
83

c
99

s
115

163 164 165 166 167 168 169 170 171 172 173 174 175

195

211

227

243

$
36

4
52

D
68

T
84

d
100

t
116

196

212

228

244

%
37

5
53

E
69

U
85

e
101

u
117

197 198

213 214

229 230

245

&
38

6
54

F
70 71

V
86 87

f
102

v
118


199

246

'
39

7
55

G W H
72

g
103

w
119

215

231

247

(
40

8
56

X
88

h
104

x
120

200

216

232

248

)
41

9
57

I
73

Y
89

i
105

y
121

201

217

233

249

*
42

:
58

J
74

Z
90

j
106

z
122 123 124 125 126 127

138 139 140 141 142 143

154 155 156 157 158

186 187 188 189 190

202

218

234

250

+
43

;
59

K
75

[
91

k
107

203

219

235

251

,
44

<
60

L
76

\
92

l
108

204

220

236

252

45

=
61

M
77

]
93

m
109

205

221

237

253

.
46

>
62

N
78

^
94

n
110

206

222

238

254

/
47

?
63

O
79

_
95

o
111

159

191

207

223

239

255

A-2

980081-001 Rev. E

Code 39 (Code 3 of 9)

Code 39 is an alphanumeric bar code. Each character consists of 5 bars and 4 spaces. 3 of the 9 bars or spaces are wide. The wide to narrow bar and space width is set by the ratio. The minimum narrow

bar or space is 3 dots or 0.010 inch (0.254 mm).


The supported ratio of narrow bar to wide bar widths are: 2:1, 5:2 (2.5:1), and 3:1. The equation to calculate the Code 39 bar code length is:

L = [ (C+2) (3R + 7) - 1] X 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 of a Code 39 bar code is 0.25 inches (6.35 mm) or

75 dots. The recommend Quite Zone is 0.25" (6.35mm or 75 dots) or 10 times X if larger.
Privilege card printers support Code 39 with the following 43 data characters, shown below:

Hexidecimal - Most Significant Digit

0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A B C D E F
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 48 64

P
80 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

1
49

A
65

Q
81

2
50

B
66

R
82

Hexidecimal - Least Significant Digit

3
51

C
67

S
83

4
52

D
68

T
84

%
37 38 39 40 41

5
53

E
69

U
85

6
54

F
70 71

V
86 87

7
55

G W H
72

8
56

X
88

9
57 58 59 60 61 62 63

I
73

Y
89

*
42

J
74

Z
90 91 92 93 94 95

+
43 44

K
75

L
76

45

M
77

.
46

N
78

/
47

O
79

980081-001 Rev. E

A-3

Standard 2 of 5 (Code 2/5)

The Two of Five code symbology encodes all information in the width of the bars. None of the information is carried by the spaces. Bars are wide or narrow and the wide bars are set by the ratio. Spaces are the same width as the narrow bars. Two of Five code supports the numeric characters:

0123456789
The supported ratio of narrow bar to wide bar widths are: 2:1,

5:2 (2.5:1), and 3:1.

The equation to calculate the Code 2/5 bar code length is:

L = [ ( C (2R + 8) ) + 14] X 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) For 5:2 ratio, the X = Dots times 2
The specified minimum recommended height of a Code 2/5 bar code is 0.25 inches (6.35 mm) or

75 dots. The recommend Quite Zone is 0.25" (6.35mm or 75 dots) or 10 times X if larger.

A-4

980081-001 Rev. E

Interleaved 2 Of 5 (Code I 2/5)

The name Interleaved 2 of 5 is derived from the method used to encode two characters. In the symbol, two characters are paired, using bars to represent the first character and the interleaved spaces to represent the second character. Each character has two sets, one bars and one spaces. Each consisting 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 support the numeric characters:

0123456789
The printer will automatically add a leading zero (0) to the 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.

The equation to calculate the Code 2/5 bar code length is:

L = [ (C (2R + 3) ) + 6 + R ] X 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)
The minimum recommended height of a Code 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. larger. The recommend Quite Zone is

0.25" (6.35mm or 75 dots) or 10 times X if

980081-001 Rev. E

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 is used to encode the ten-digit Universal Product Code number. 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 support the numeric characters:

0123456789
The ratio command parameter (narrow bar to wide bar width) is ignored by the printer. The equation to calculate the UPC-A bar code length is:

L = (91) X L = Length of bar code X = Number of Dots times 0.0033 inches per dot (0.08847 mm per dot)
UPC-A bar code height, by specification, is six (6) individual UPC-A bar code characters high. The following equation can be used to calculate the industry specified height in Dots.

H = (42) X H = Height of bar code in Dot X = Bar code Multiplier


Multiply the height of the bar code in dots by 0.0033 inches per dot (0.08847 mm per dot) to get the actual bar code height.

A-6

980081-001 Rev. E

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 is used to encode a seven-digit EAN-8 number. An eight digit is a check digit that is automatically generated by the printer. The EAN code number and check digit are assigned by numerous international agencies. See the list at the end of this appendix. EAN-8 code support the numeric characters:

0123456789
The ratio command parameter (narrow bar to wide bar width) is ignored by the printer. The equation to calculate the EAN-8 bar code length is:

L = (67) X L = Length of bar code X = Number of Dots times 0.0033 inches per dot (0.08847 mm per dot)
EAN-8 bar code height, by specification, is six (6) individual EAN-8 bar code characters high. The following equation can be used to calculate the industry specified height in Dots.

H = (42) X H = Height of bar code in Dot X = Bar code Multiplier


Multiply the height of the bar code in dots by 0.0033 inches per dot (0.08847 mm per dot) to get the actual bar code height.

980081-001 Rev. E

A-7

EAN-13

EAN-13 is one of two versions of the European Article Numbering system (EAN) and is a superset of UPC. EAN-13 has the same number of bar as UPC version A, but encodes a 13th digit. The 12th and 13th digit define the country code. The codes 00-04 and 06-09 are assigned to the United States. The EAN-13 code numbers are assigned by numerous international agencies. See the list at the end of this appendix. EAN-13 code support the numeric characters:

0123456789
The ratio command parameter (narrow bar to wide bar width) is ignored by the printer. The equation to calculate the EAN-13 bar code length is:

L = (98) X L = Length of bar code X = Number of Dots times 0.0033 inches per dot (0.08847 mm per dot)
EAN-13 bar code height, by specification, is six (6) individual EAN-13 bar code characters high. The following equation can be used to calculate the industry specified height in Dots.

H = (42) X H = Height of bar code in Dot X = Bar code Multiplier


Multiply the height of the bar code in dots by 0.0033 inches per dot (0.08847 mm per dot) to get the actual bar code height.

A-8

980081-001 Rev. E

Code 128 Subsets B & C

Code 128 is a high density alphanumeric bar code. The Privilege printer in Code 128 B mode encodes single digit alphanumeric as a single bar code character. The printer in Code 128 C mode encodes two (2) 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 represents the Code 128 B encoded value and the corresponding ASCII characters supported by the Privilege card printer. Code 128 C encodes numeric ASCII pairs, i.e. 0 & 5 would encode to a single Code 128 C digit 05. The printer will automatically add a leading zero (0) to the odd number of Code 128 C bar code data characters.

Encoded Value

Code

Code

Code

Encoded Value

Code

Code

Code

Encoded Value

Code

Code

Code

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

SP ! " # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C

SP ! " # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71

D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ NUL SOH STX ETX EOT ENQ ACK BEL

D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ . a b c d e f g

36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71

72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105

BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US FNC3 FNC2 SHIFT CodeC CodeB FNC4 FNC1 Start A Start B Start C

h i j k l m n o p q r s t u v w x y z { | } ~ DEL FNC3 FNC2 SHIFT CodeC FNC4 CodeA FNC1 Start A Start B Start C

72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 CodeB CodeA FNC1 Start A Start B Start C

The percentile (%) character must be preceded by another percentile character to encode. Example: %% = %

980081-001 Rev. E

A-9

The ratio command parameter (narrow bar to wide bar width) is ignored by the printer. The equation to calculate the Code 128 B bar-code length is:

L = [ (C (11) ) + 24] X 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)
The equation to calculate the Code 128 C bar code length is:

L = [ (C (11) / 2) + 24] X L = Length of bar code C = Number of characters (rounded up to the next even digit) & checksum character X = Number of Dots times 0.0033 inches per dot (0.08847 mm per dot)
The minimum recommended height of a Code 128 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. larger. The recommend Quite Zone is

0.25" (6.35mm or 75 dots) or 10 times X if

A-10

980081-001 Rev. E

EAN International Regulation Agencies

General Specifications for the Article Symbol Marking (1987), EAN Prefix List
EAN International (EAN) 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 (AMECOP) Horatio,1855-6O, Mexico Col. Polanco, DFCP 11570, Mexicana del Codigo de Producto

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 Africa

980081-001 Rev. E

A-11

A-12

980081-001 Rev. E

Appendix B
This section contains status and error reporting information for color and monochrome Privilege card printers.

Parallel Port Printer Data Handshake Signal Lines Parallel Port Printer Error Response

The Busy and Acknowledge signal lines are used to transfer data to the printer only.

The color card printers will respond to error conditions with combinations of the Error and Paper Error signals at the printers parallel interface. Detailed error responses are sent via the serial port only.

Paper Error
0 0 1 1

Error/
1 0 1 0

Description
No Error Syntax Error Ribbon Feeder Mechanical Error End or Empty

Note: To clear an Error, Send:

(1B 2E 0D Hex)

980081-001 Rev. E

B-1

Serial Port Printer Data Handshake

Some programs, like WindCard Mono, use Acknowledge (ACK) and Not Acknowledge (NACK) to display these communication protocol responses. The ACK response signifies Command Accepted, Waiting for Command. The NACK response signifies an Error" or Check Status condition exists and typically includes a corresponding error/status code. The NACK can also signify that the printer input buffer is full.

Serial Port Printer Error Response

The printers will respond, via the serial port, to various conditions with status and error codes. Status/Error responses have the following format:

(NACK)05(EOT) - Card in magnetic encoder.


Code
-1 01 02 03 04 05 06 10

Error

Status

Condition
Mechanical Error - Printer Ribbon Broken / Missing Temperature Mechanical Feeder Empty Card In Encoder Card Not In Encoder Invalid Command or Parameter Invalid Coordinates (Image placement) Unknown Bar Code Reference Unknown Text/Font Reference Unknown Command Bar Code Data Syntax Text Data Syntax Graphic Data Syntax Graphic Image Initialization - Failed

11

12

13 14 20 21 22 30

B-2

980081-001 Rev. E

Code
31

Error

Status

Condition
Graphic Image Maximum Width Exceeded Graphic Image Maximum Height Exceeded Graphic Image Data

32

33 34 40 41 42 43 44

Checksum Error Data Transfer Time-out Parameter / Syntax Mag. Encoder Write Mag. Encoder Read/Verify Mag. Encoder Mechanical Mag. Encoder Not Responding 1) Magnetic Stripe Missing 2) Card Jam

45

980081-001 Rev. E

B-3

B-4

980081-001 Rev. E

Appendix C
This section contains information on the magnetic stripe card encoder operation and formatting for all models except the Max Secure Series.

Magnetic Encoders

All Privilege printers with encoders write and read ANSI 4.16 and ISO 7811/2/3. The encoder track positions are fixed and cannot be modified. The current units with serial numbers 5000 and above, have two (2) possible encoder mounting options:

Forward - mounting the encoder to read the magnetic stripe up and:

Reverse - mounting the encoder to read the card


with the magnetic stripe down. Both current encoder options mount the encoder

after the print head. Older printers with serial num-

bers less than 5000, have the encoder mounted before the print head.

Recording Area

Forward Recording Direction

980081-001 Rev. E

C-1

Encoder Operation

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 until the previous encoder command has been completed. Detailed encoder (and general printer) status information is reported to the host via optional serial interface ports only. See Appendix B for a detailed listing of printer and encoder responses.

Write

The encoder, in default configuration, can write in the forward or reverse directions and then automatically perform a write-verify data read. The printer then repositions the card to the print-ready position.

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-66. The M or m multiple commands can serve to group several read commands. The encoder performs each command in the string until command string is completed. 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. (The M command was implemented in firmware version _______ and above).

Example of Multiple Read Command String


(Escape and Carriage Returns not shown)

1111 2222 Track 3 data = 3333


Track 1 data = Track 2 data = Multiple read command string is: M 1 &L1[&L2[&L3

Data sent to the host, in a single response:

111122223333

C-2

980081-001 Rev. E

Data Errors

The encoder will retry, up to three (3) times, any read or write (write-verify read) operation, before reporting an error.

Encoder Default Configuration

The printer's encoder will read and write the standard ANSI/ISO track data formats in the standard ANSI/ISO track locations. See the simple diagram below for the three standard ANSI/ISO tracks.

Track 1 - 210 bpi Track 2 - 75 bpi Track 3 - 210 bpi

Each track can be encoded and decoded with ASCII characters in the standard default ANSI/ISO data formats.

Encoder ANSI/ISO (Default) Track Data Formats Track Density Data Format
7 Bit (6 data, 1 parity) 5 Bit (4 data, 1 parity) 5 Bit (4 data, 1 parity)

Data Characters

Data Separator
^

210 BPI

- . /

0 through 9

A through Z (All Caps) 0 through 9 =

75 BPI

210 BPI

0 through 9

The ANSI/ISO data formats include a preamble (all zeros), a start character, data (7-bit or 5-bit as specified by ANSI/ISO), a stop character, and a longitudinal redundancy check character. The 7-bit data format has 6 bits of encoded data and a parity bit. The 5-bit data format has 4 bits of encoded data and a parity bit. The ANSI/ISO data formats include a data field separator (or delimiter) that allows the encoded data on a track to be parsed. An example of separate data fields would be the American Bankers Association (ABA) data format (normally located on track 2) that includes a primary account number

980081-001 Rev. E

C-3

(PAN) field and an account information field (for expiration date, country code, etc.).

The encoder reports a data error when the total number of data characters has exceeded the maximum allowed by physical encoding (bit density) and the data format in any read or write data function.

Basic Commands

All Privilege card printers with encoders, perform the basic functions of reading and writing to ANSI/ISO track and data formats. The commands for these basic encoder functions are listed below.

Basic Encoder Commands


&E &B &E* &L Encode Single Data Track Buffer Single Track Data Encode All Data Tracks Read Single Track Data

Page
2-63 2-64 2-65 2-66

Advanced Encoder Commands

Printers with magnetic stripe encoders, that have serial numbers 5000 or greater, have an expanded encoder command set. These commands allow the programmer to create custom data and track formats. The encoder can be programmed to read and write custom data and formats. The encoder can be programmed to use a standard ANSI/ISO data formats on one of other ANSI/ISO track locations. For example, the encoder can be programmed to read and write ANSI/ISO Track 3 data format on Track 1. When in this mode, the advanced encoder commands support encoding of and decoding to host with ASCII character data. The encode automatically adds the selected ANSI/ISO data format. The encoder will report errors when reading and writing in this mode.

C-4

980081-001 Rev. E

The encoder will not accept ASCII characters that are not part of the selected ANSI/ISO data character set. See C-3 for table of character sets.

The following lists the advanced encoder commands:


Advanced Encoder Commands
&R &B &L &W &D &CDEW &CDER Reset Encoder Buffer Track Data Read Single Track Data Change Encoding Direction Change Track Density Custom Write Format Custom Read Format 2-62 2-64 2-66 2-67 2-68 2-71 2-69

The encoder does not write data unless the read buffer is programmed to read identical data parameters. Otherwise, an error occurs.

Resetting The Encoder To ANSI/ISO Track Defaults

To ensure that the encoder is in the proper configuration, the programmer should reset the encoder to ANSI/ISO track data, format, density and location.

Reset the encoder to ANSI/ISO defaults with the following command sequence.

Example:

(Escape and Carriage Returns not shown)

&R

&CDEW 0 0 &CDER 0 0
The encoder stores the track settings in flash memory. If the encoder is powered down, the printer retains the last encoder read, write, and track density settings.

980081-001 Rev. E

C-5

Change Track Density

The &D command allows changes in the density of a track. &D command changes occur to a given track density without changing the related data format or character set. See Command Reference &D, page 2-68 for command details.

Changing Read Configuration

The &CDER command serves to change the read data format configuration. This command can configure a given track to:

Its ANSI/ISO data format. Change it to another ANSI/ISO track format. To allows forward or reverse data reads. Change to Raw data format that has custom

track data format and data block encoding.

The &L read command needs to be configured to read Raw (or hexadecimal) custom data.

Changing Write Configurations

The &CDEW command allows changes to the read data format configuration. This command can configure a given track to:

Its ANSI/ISO data format. Change it to another ANSI/ISO track format. Change to Raw data format that has 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.

C-6

980081-001 Rev. E

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; &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.

Unique Custom Data Formats

The encoder is capable of reading and writing nonANSI/ISO data. The data block and the tracks data string formatting is stripped 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 represent 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 (1111 1111) (1010 1010) Encode Decode 3F 2A (0011 1111) (0010 1010) Decoded Hexadecimal

Encoded on Card 111111101010

980081-001 Rev. E

C-7

Raw hexadecimal data, when encoded, requires the following elements in the final binary string: data

Preamble data - minimum number of leading


binary 0 bits, i.e. NUL characters. Note: the NUL (00 hexadecimal) is normally sent to the printer with a character like the @ symbol (40 hexadecimal) and is encoded as all zero bits in 6 (or lower) bit data mode. 75bpi - 20 min., 24 nominal, 1024 max. 210bpi - 40 min., 68 nominal, 1024 max.

Start Bit - The first binary 1 bit detected will


start the data block grouping. The LSB of the data block (or character) is

NUL Data Block - Without NULs enabled, the


encoder terminates the data string or causes the data string to restart when a new start bit, a data block with a 1s bit.

NUL Data Block with NULs enabled - Allow


the inclusion of NUL data character blocks within the data string.

Postamble - binary 0 bits, i.e. NUL characters, fill remainder of track.

C-8

980081-001 Rev. E

Appendix D
This Appendix includes an example of a P600 command sequence that offers both optimization and loopback features for duplex printing.

980081-001 Rev. E

D-1

Sample P600 Command Sequence

Start
At host, prepare an image for side-one of the card. Before sending the image, check Module 1 for Error-Free and Ready status.

Select Module 1 (INIT = 1) Wait for Module-1 ACK + Error-Free Status


If necessary, correct error. Download Yellow Buffer data to Module 1 and wait for Ready + Error-Free status, for example:

GS0p1p2p3p4p5p6data
Download Magenta Buffer data to Module 1 and wait for Ready + Error-Free status, for example:

GS1p1p2p3p4p5p6data
Download Cyan Buffer data to Module 1 and wait for Ready + Error-Free status, for example:

GS2p1p2p3p4p5p6data
Download Black Buffer data to Module 1 and wait for Ready + Error-Free status, for example:

Gp1p2p3p4p5p6data
If different from inverted black, download Varnish buffer data to Module 1, and wait for Ready + Error-Free status, for example:

vLp1p2p3p4p5
Print Image Buffers using Link command, and do

not wait for Module 1 Ready + Error-Free status,


for example:

m1IS0[IS1[IS2[I[IVxx Where: xx = 30 (do not move after varnish) xx = 31 (invert K for varnish and do not move after) xx = 10 (return to print-ready after varnish) xx = 11 (invert K for varnish, and return to print-ready)
At host, prepare an image for side-two of the card.

D-2

980081-001 Rev. E

Before sending the image, check Module 2 for Error-Free and Ready status.

Select Module 2 (INIT = 0) Wait for Module-2 ACK + Error-Free Status


If necessary, correct error. Download Yellow Buffer data to Module 2 and wait for Ready + Error-Free status, for example:

GS0p1p2p3p4p5p6data
Download Magenta Buffer data to Module 2 and wait for Ready + Error-Free status, for example:

GS1p1p2p3p4p5p6data
Download Cyan Buffer data to Module 2 and wait for Ready + Error-Free status, for example:

GS2p1p2p3p4p5p6data
Download Black Buffer data to Module 2 and wait for Ready + Error-Free status, for example:

Gp1p2p3p4p5p6data
If different from inverted black, download Varnish buffer data to Module 2, and wait for Ready + Error-Free status, for example:

vLp1p2p3p4p5
Before exiting the card from Module 1, check Module 1 for Error-Free and Ready status.

Select Module 1 (INIT = 1) Wait for Module-1 ACK + Error-Free Status


If necessary, correct error.

Select Module 2 (INIT = 0) Wait for Module-2 ACK + Error-Free Status


If necessary, correct error.

980081-001 Rev. E

D-3

Make a Card Flip pending in Module 2, and do not wait for Ready + Error-Free status:

MF Select Module 1 (INIT = 1)


Exit card from Module 1, and check for Ready + Error-Free status:

MO Select Module 2 (INIT = 0) Wait for Module-2 ACK + Error-Free Status


Print Image Buffers using Link command, and do

not wait for Module 2 Ready + Error-Free status,


for example:

m1IS0[IS1[IS2[I[IVxx Where: xx = 30 (do not move after varnish) xx = 31 (invert K for varnish and do not move after) xx = 10 (return to print-ready after varnish) xx = 11 (invert K for varnish, and return to print-ready)
Loop to Start

D-4

980081-001 Rev. E

Appendix E
This Appendix offers examples of Max Secure command sequences for the various ribbon types. Note that for Max3000s the best sequence links print commands using the M operator. For Max3300s, data downloads alternated with print commands takes advantage of a related capability to overlap, and thereby, speed up these operations. For error support, the firmware maintains two buffers. The data and command series for printing stay in a respective buffer until an associated card composite passes through all the Max Secure modules error free. If an error occurs somewhere during the process, the command and associated data remain available, and the firmware initiates another card printing automatically. Imagine, for example, an error that occurs in the Laminator while the Printer has begun another card. Data associated with the error-producing card would remain in place while printing continues on the card next begun. Following print completion on this card, another printing begins using the data retained for use to replicate the card that produced the error.

980081-001 Rev. E

E-1

Sample Max3000 Command Sequences YMCKrO Ribbon


+RIB 0 Specifies ribbon type $F Erases color buffer F Erases monochrome buffer used for Clear Card imaging vF Erases monochrome buffer used for White Card imaging GS... Sends color buffer data G ... Sends monochrome buffer data for Clear Card vG Sends monochrome buffer data for White Card ... Send configuration commands (Contrast, Speed, etc.)
Card Print Series: Setup and Data Download Series:

M # IS 0[IS 1[IS 2[MO[MF[I[IV[MO

YMCKr Ribbon

+RIB 13 $F F vF GS... G ... vG ...

Setup and Download Series:

Specifies ribbon type Erases color buffer Erases monochrome buffer used for Clear Card imaging Erases monochrome buffer used for White Card imaging Sends color buffer data Sends monochrome buffer data for Clear Card Sends monochrome buffer data for White Card Send configuration commands (Contrast, Speed, etc.)

Card Print Series:

M # IS 0[IS 1[IS 2[MO[MF[I[MO

E-2

980081-001 Rev. E

YMCKrKr Ribbon

+RIB 20 $F F vF GS... G ... vG ...

Setup and Download Series:

Specifies ribbon type Erases color buffer Erases monochrome buffer used for Clear Card imaging Erases monochrome buffer used for White Card imaging Sends color buffer data Sends monochrome buffer data for Clear Card Sends monochrome buffer data for White Card Send configuration commands (Contrast, Speed, etc.)

Card Print Series:

M # IS 0[IS 1[IS 2[I[MO[MF[I[MO

YMCKr_Kr Ribbon

+RIB 21 $F F vF GS... G ... vG ...

Setup and Download Series:

Specifies ribbon type Erases color buffer Erases monochrome buffer used for Clear Card imaging Erases monochrome buffer used for White Card imaging Sends color buffer data Sends monochrome buffer data for Clear Card Sends monochrome buffer data for White Card Send configuration commands (Contrast, Speed, etc.)

Card Print Series:

M # IS 0[IS 1[IS 2[I[MO[MF[I[MO

980081-001 Rev. E

E-3

Sample Max3300 Command Sequences KsO Ribbon


Note that no Ks White Card printing can occur

+RIB 0 $F GS 3 IS 3 IV MO MF MO

Specifies Standard ribbon type Clear Color Buffers Download Data Print Black (Gray Scale) Print Varnish (Panel &Card advance only) Exit Clear Card Begin White Sequence Exit White Card

KrO Ribbon

For Clear and White Card printing:

+RIB 0 Specifies Standard Ribbon type F Clear monochrome buffer G Initialize monochrome graphic O, Z, etc. Download monochrome data I 20 Print Clear Card IV Skip over Overlay panel MO Exit Clear Card MF Begin White Sequence vF Clear monochrome buffer vG Initialize monochrome buffer vO, vZ, etc. Download monochrome data I 20 Print White Card IV Print White Card MO Exit White

E-4

980081-001 Rev. E

For Clear Card only printing:

+RIB 0 F G O, Z, etc. I 20 IV MO MF MO

Specifies Standard Ribbon type Clear monochrome buffer Initialize monochrome graphic Download monochrome data Print Clear Card Skip over Overlay panel Exit Clear Card Begin White Sequence Exit White Card

YMCKr Ribbon

For Clear Card only printing:

+RIB 13 Specifies 4-panel ribbon $F Clear Color Buffers GS 0 Download Yellow IS 0 Print Yellow GS 1 Download Magenta IS 1 Print Magenta GS 2 Download Cyan IS 2 Print Cyan F Clear monochrome buffer G Initialize monochrome buffer O, Z, etc. Download monochrome data I Print White Card MO Exit Clear Card MF Begin White Sequence MO Exit White Card

980081-001 Rev. E

E-5

For Clear and White Card printing:

+RIB 13 Specifies 4-panel ribbon $F Clear Color Buffers GS 0 Download Yellow IS 0 Print Yellow GS 1 Download Magenta IS 1 Print Magenta GS 2 Download Cyan IS 2 Print Cyan MO Exit Clear MF Begin White Sequence vF Clear monochrome buffer vG Initialize monochrome buffer vO, vZ, etc. Download monochrome data I Print White Card MO Exit Clear Card

YMCKr_Kr Ribbon +RIB 21 Specifies 6-panel ribbon


$F Clear Color Buffers GS 0 Download Yellow IS 0 Print Yellow GS 1 Download Magenta IS 1 Print Magenta GS 2 Download Cyan IS 2 Print Cyan F Clear monochrome buffer G Inialize monochrome buffer I Print monochrome buffer MO Exit Clear Card MF Begin White Sequence vF Clear monochrome buffer vG Initialize monochrome buffer vO, vZ, etc. Download monochrome data I Print monochrome data MO Exit White Card

E-6

980081-001 Rev. E

980081-001 Rev. E

E-7

World Wide Offices:


Zebra Technologies Corporation Eltron Products 1001 Flynn Road Camarillo, CA 93012-8706 USA Phone: +1 (805) 579 1800 FAX: +1 (805) 579 1808 e-mail: [email protected] Zebra Technologies, Europe Eltron House Molly Millars Lane Wokingham, RG41 2QZ England Phone: +44 (0) 1189 770 300 FAX: +44 (0) 1189 895 762 e-mail: [email protected] Zebra Technologies, France 50 rue Marcel Dassault 92100 Boulogne-Billancourt France Phone: +33 1 55 20 93 93 FAX: +33 1 55 20 93 99 e-mail: [email protected] Zebra Technologies, Latin America 836 Arlington Heights Rd. #357 Elk Grove, IL 60007 Phone: +1 (847) 584 2714 FAX: +1 (847) 584 2725 e-mail: [email protected] Zebra Technologies, Asia Pacific Headquarters 1 Sims Lane #06-11 Singapore 387355 Phone: +65 842 0322 FAX: +65 842 0514 e-mail: [email protected]

980081- 001E

You might also like