Zebra TTPM2 User Manual

Zebra® TTPM2™
Kiosk Ticket Printer/Encoder
Installation and
Programming Manual
P1003645-001
© 2009 ZIH Corp. The copyrights in this manual and the software and/or firmware in the printer described
therein are owned by ZIH Corp. Unauthorized reproduction of this manual or the software and/or firmware in the printer may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability.
This product may contain ZPL
®
, ZPL II®, and ZebraLink™ programs; Element Energy Equalizer® Circuit; E3®; and
Monotype Imaging fonts. Software © ZIH Corp. All rights reserved worldwide.
ZebraLink and all product names and numbers are trademarks, and Zebra, the Zebra logo, ZPL, ZPL II, Element Energy Equalizer Circuit, and E
3
Circuit are registered trademarks of ZIH Corp. All rights reserved worldwide.
All other brand names, product names, or trademarks belong to their respective holders. For additional trademark information, please see “Trademarks” on the product CD.
Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation and its
subsidiaries (“Zebra Technologies”). It is intended solely for the information and use of parties operating and maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the express, written permission of Zebra Technologies.
Product Improvements Continuous improvement of products is a policy of Zebra Technologies. All
specifications and designs are subject to change without notice.
Liability Disclaimer Zebra Technologies takes steps to ensure that its published Engineering specifications and
manuals are correct; however, errors do occur. Zebra Technologies reserves the right to correct any such errors and disclaims liability resulting therefrom.
Limitation of Liability In no event shall Zebra Technologies or anyone else involved in the creation, production,
or delivery of the accompanying product (including hardware and software) be liable for any damages whatsoever (including, without limitation, consequential damages including loss of business profits, business interruption, or loss of business information) arising out of the use of, the results of use of, or inability to use such product, even if Zebra Technologies has been advised of the possibility of such damages. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you.
Contents
1 • Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Document Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Magnetic Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Track Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Document Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 • Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installing a Desktop Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing an OEM Printer Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Installing Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Output tray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Fanfold Ticket Paper Entry Tray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Card Dispenser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 • Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Operator Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
General Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Paper Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Paper Stock Positioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Loading Through Rear Document Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Loading Through Front Document Entry (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Loading Sheet-cut Tickets In Optional Card Dispenser . . . . . . . . . . . . . . . . . . . . . . . 20
Paper Jam Removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Tickets Stuck In Input Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Tickets Stuck In Output Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Exit Paper Jam Clearing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Contents
4
Self Test Mode/Ticket Repeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Self Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Repeat Fixed Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4 • Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Printing and Encoding Capability Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Magnetic Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Positioning Data on the Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Triggering a Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Command Acknowledgment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Summary of Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
System Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Document Entry Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Print-Parameter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Magnetic Encoding/Decoding Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 • Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
System Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Document-Entry Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Print Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Text Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Graphics Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Printing Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Canceling a Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Magnetic Encoding- and Decoding-Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 51
Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Checksum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Reading and Decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Magnetic Encoding Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Magnetic Encoding Retries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Encoding Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
What Can You Encode? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Track 1 ISO Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Track 2&3 ISO Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6 • TTPM2 Start-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Power Failure Cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Start-Up Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Contents
7 • Document Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Text Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Printing Bold Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Reversed Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8 • Single-Ticket Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Previously Encoded Tickets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Inserting a Single Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Read and Decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Encode and Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Ejecting the Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
9 • Error Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Power Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
5
10 • Error Codes and Status Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Security Additions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
11 • Interface Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
DIP Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Communications Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Communications Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Communications Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
12 • Document Stock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Ticket Base Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Coating and Preprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Thermal-Print to Preprint Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Magnetic Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Ticket Dimensions and Perforation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Tickets With 45° Cut Corners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
13 • Firmware History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
6
Contents
1

Introduction

This document describes installation and operation of TTPM2 Ticket Printer/Encoder, which creates credit-card-wide documents with magnetic encoding and thermal printing.

Document Printing

TTPM2 uses the direct thermal printing technique and can print the entire thermo sensitive surface of the document with text or graphics, or both. Text block position and orientation is software programmable as is the character size.
A text block can be identified as either fixed information which is stored in the unit until an ”All Clear” software command is sent, or as variable information, automatically erased as soon as printing of the document has been completed. This feature allows printing from a data file containing the variable data information.
EAN-13, Code 39, and Code 2-of-5 interleaved bar-codes can be generated and printed.

Magnetic Encoding

Two magnetic tracks can be encoded: Either with standard low coercivity recording, or optional “household-magnet proof” high coercivity recording.

Track Combinations

• ISO track 2 at 75 BPI (Bits Per Inch), and ISO track 3 at 210 BPI
• ISO track 1 at 210 BPI, and ISO track 2 at 75 BPI
• Center track at 75 or 210 BPI
Naturally, the TTPM2 can be used for encoding on a single track only.
Encoding in ISO standard format, or in hexadecimal format, is software selectable. Read-after­write is automatically performed. Software selectable decode functions are available.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Introduction
8

Document Handling

Document Handling
A standard TTPM2 printer has one document entry for fanfold ticket stock, and one entry for handfed tickets. The printer can be ordered in Dual Consecutive enTry (DCT) version with both upper and lower entries designed for fanfold ticket stock.
There are three optional front load alternatives designated FL1, FL2, and FL3. FL1 and FL2 make it possible to load single tickets through the ticket exit, which replaces the upper single ticket entry at the rear of the printer. In addition to this, FL2 and FL3 have a wastebasket function for redirecting used or invalid tickets to a wastebasket, thus preventing useless tickets being presented to the customer.
FL3 makes it possible to fully eject the ticket so that it falls into a tray where the customer picks it up, or to a wastebasket as described above.
An external card dispenser that can be added to the printer handles sheet cut tickets and cards. The card dispenser can hold a 95mm ticket pile (200 to 400 tickets depending on ticket thickness).
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
2
Pushbuttons and indicators
Document exit
Optional front load mechanism
SW95065C

Installation

The TTPM2 comes as desktop printer with a cover and a built-in power supply and, or as an OEM printer mechanism for kiosk applications.
Figure 1 • Front view, desktop printer, and OEM printer mechanism
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Installation
Upper document entry
Lower
document entry
Power ON/OFF switch
Fuse holder
Power cable receptacle
Power connector
RS 232 interface connector
SW95 065D
10

Installing a Desktop Printer

Figure 2 • Rear view, desktop printer, and OEM printer mechanism
Installing a Desktop Printer
1. Verify that the supply voltage range stated on the type plate is suitable for your local line
voltage.
2. Connect the printer to a line outlet with safety ground.
The ground potential should be the same as for the host computer. If ground potentials differ, use a short distance modem between the computer and the printer.
3. Clear the memory of the printer by making a general reset (hold down all three buttons
while turning ON the printer, then turning it OFF again).
4. Turn on the printer.
The green indicator should light up.
5. Press the front button.
The green indicator starts flashing and the yellow indicator lights up, indicating ”Out of Paper”.
6. Turn the tickets so that the magnetic stripe is on the left side facing downwards, as seen
from the front of the printer.
7. Insert tickets in the lower document entry. The printer feeds the tickets forward and cuts
and ejects one ticket.
8. Turn off the host computer and the printer.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
9. Connect a serial cable between the COM port of the host computer and the serial input of
the TTPM2 printer.
The printer is ready for use.

Installing an OEM Printer Mechanism

SW97101C
Pin 6
Pin 1
Figure 3 • RS232 serial interface connector pin assignment
Installation
11
Installing an OEM Printer Mechanism
The TTPM2 OEM printer mechanism should be installed in some kind of enclosure such as a self-service kiosk.
Preventing ESD and earth currents from affecting the printer operation requires proper connection of the printer chassis to protective earth through a mounting platform or through a separate earth conductor.
Trouble free printer operation also requires the printer’s optical sensors to be shielded from ambient light.
Additional space is required for paper stocking and paper jam. Consider mounting the printer on a movable platform so that the printer can be maintained outside the printer enclosure.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Installation
12
Installing an OEM Printer Mechanism
Figure 4 • Dimension drawing for printer mechanism. All measurements are in
mm
The printer mechanism requires +5 Vdc, 0.3 A, and + 24 Vdc 2 A continuous, 6 A peak. This is fed to the printer through J5 on the control board.
With Zebra power supplies, just connect the cable from the power supply to J5.
If you use another type of power supply, connect the voltages according to the following table. At the TTPM2 end of the cable, use a Molex 22-01-2065 connector housing and six Molex 08-
2
50-0032 contact springs. The cable area should be 6 x 0.24mm
, and the cable length no more than 0.5 m. If longer cable is required, a 5 V regulator has to be placed near the printer. The 24 V should feed this regulator.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
Installing an OEM Printer Mechanism
Figure 5 • Power supply connector pin assignment
Installation
13
Note • Both the 5 V and 24 V ground, as well as the chassis of the printer, must be connected
to ground potential (safety ground).
Caution • If you do not use a non Zebra Power supply, the one you use must have the
correct timing; 5 V must be on and stable in advance of 24 V at power on, and remain on until after 24 V disappears at power off.
After fastening the printer, proceed with Introduction on page 7.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Installation
SW97105 R1
14

Installing Accessories

Installing Accessories

Output tray

The output tray collects the printed and coded tickets in a neat stack. Use the tray if you intend to print many tickets at a time.
1. Loosen the two screws at the front of the TTPM2 case.
Important • Never loosen more than 5 turns or the nut plate will fall down inside the printer!
2. Hook the tray on to the two screws.
3. Tighten the screws.
Figure 6 • Installing the output tray
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009

Fanfold Ticket Paper Entry Tray

SW97 106
This optional entry tray holds ticket paper for one- or two- document-entry applications. The capacity is between 125 and 300 tickets for each entry (depending on ticket stock thickness).
1. Position the entry tray on the table behind the printer.
Make sure the tray engages properly with the hook above the lower document entry.
2. Put the pile of fanfold paper on the tray and load the paper into the printer.
Never add more than a 5-cm pile at a time. Otherwise the paper will not feed correctly.
Figure 7 • Installing the optional entry tray
Installation
Installing Accessories
15
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Installation
SW97118B

Card dispenser

16
Installing Accessories
Card Dispenser
The TTPM2 model with card dispenser is fully assembled by Zebra. Both the TTPM2 and the card dispenser are mounted on a common base plate (not shown). The dispenser is connected to the TTPM2 control board and the serial interface is moved to the back of the card dispenser by means of an extension cable.
Example • Follow the procedure Introduction on page 7, and Introduction on page 7.
Figure 8 • A desktop TTPM2 printer equipped with card dispenser. The OEM
printer mechanism can also be equipped with card dispenser.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009

Operator Controls

Green indicator
Fixed:
Blinking:
Flickering:
Temporarily OFF:
Power ON & printer ready.
Insert ticket.
Receiving data.
Commands are executed.
Yellow Indicator
Fixed: Out of paper.
Blinking: Print command
received, but out of paper.
Red indicator
Error, turn OFF and ON the printer to clear.
Front pushbutton
1.Cuts and ejects a ticket .
2. Press and hold at power ON to enter
self test mode. Press again to encode and print one ticket. The printout shows current firmware version. Turn printer OFF and ON to exit self test mode.
Center pushbutton
1. Ejects any document in the selected ticket track. (Same as when an !E command is received.)
2. Press and hold at power ON to run cleaning card through printer.
Rear pushbutton
Press and hold at power ON to turn on paper jam clearing mode. Press front button to advance ticket forward and middle button to retract ticket backwards. Turn printer OFF and ON to exit paper jam clearing mode.
SW97108
1
2
3

Operation

Figure 9 • Indicators and pushbuttons

General Reset

03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
A general reset of the TTPM2, restoring all parameters to their default value, is effectuated if all three pushbuttons are kept depressed at power ON. All three indicators will light but nothing else will happen. At this point, the power has to be turned OFF and ON once more. The TTPM2 is then reset.
Operation
SW97116
> One ticket length
90°
18

Paper Loading

Paper Loading

Paper Stock Positioning

The yellow indicator indicates paper out.
Press the center button to eject remaining tickets if you want to replace paper stock before paper is out.
Note • Do not hold the front button depressed! Doing so will result in erroneously cut tickets
often resulting in paper jam.
Note • On CD 200 versions, load new ticket stock, then press the center pushbutton.
The ticket stock should be oriented with the magnetic stripe down to the left as seen from the front of the TTPM2. The pile of fanfold tickets should be placed at a distance of at least one ticket length behind the printer.
Figure 10 • Positioning the ticket stock
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009

Loading Through Rear Document Entries

Magnetic stripe
Lower document entry
Upper document entry
SW97113
Magnetic stripe
SW97114
Insert the ticket stock into the desired document entry. When the input sensor detects the ticket it will be pulled into the active position. Fanfold ticket stock is usually loaded in the lower document entry, and single tickets in the upper document entry. On printers with two fanfold entries, you may also use fanfold tickets in the upper document entry.
Figure 11 • Position of the magnetic stripe when loading paper
Operation
Paper Loading
19

Loading Through Front Document Entry (Optional)

Insert a single ticket into the document entry with the magnetic stripe facing down to the left, as seen from the front of the printer. When an !L3 command has been received and the input sensor detects the ticket, this will be pulled into the active position of the upper rear document entry.
Figure 12 • Position of the magnetic stripe at front load
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
20
Card dispenser
SW97118-R2
Paper weight
Tickets
Magnetic stripe
Operation
Paper Loading

Loading Sheet-cut Tickets In Optional Card Dispenser

The card dispenser is factory adjusted to a specific card thickness, usually 0.18 mm to
0.25 mm as indicated on a label on the dispenser. Using thicker or thinner tickets will cause paper jam.
The ticket stock should be oriented with the magnetic stripe down to the left as seen from the front of the TTPM2. Put the paperweight on top of the ticket pile, then press the center push button to load a ticket and the printer is ready.
Figure 13 • Loading tickets in the card dispenser.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009

Paper Jam Removal

Open the TTPM2 cover to locate and remove the ticket that is stuck in the mechanism. Use the following procedure:
1. Select paper jam clearing mode
2. Power OFF.
3. Push and hold the rear pushbutton while turning ON the power.
The red indicator shows a steady light to indicate paper jam clearing mode.

Tickets Stuck In Input Module

Press and hold the center push button to eject the ticket towards the rear of the unit.

Tickets Stuck In Output Module

Press and hold the front push button to eject the ticket towards the front of the unit.
Operation
Paper Jam Removal
21

Exit Paper Jam Clearing Mode

Power OFF and back ON again, the TTPM2 is operational but any ticket information previously sent to the unit is lost.
You can also power OFF the printer and turn the feed rolls manually to remove the blocking ticket.
Figure 14 • Paper path.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Operation
22

Self Test Mode/Ticket Repeat Mode

Self Test Mode/Ticket Repeat Mode

Self Test

1. Press and hold the front pushbutton at power ON to enter self-test mode.
2. Press again to encode and print one ticket. The printout shows current firmware version.
3. Turn printer OFF and ON to exit self-test mode.

Repeat Fixed Print

1. Start self-test mode as described above.
2. Download the ticket data to the printer, and print one ticket.
The data must only contain fixed text, fixed encoding data, and graphics.
3. Press the front button once and an exact copy of the first ticket will be printed.
This will be repeated each time that the front button is pressed.
4. Turn printer OFF and ON to return to normal operation.
Note • Do not hold the front button depressed! Doing so will result in erroneously cut tickets
often resulting in paper jam.
Note • Repeating fixed print only works on printers where the auto clear function is OFF.
Auto clear is enabled/disabled with a DIP-switch on the control board.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
4

Command Set

The command set is designed in accordance with industry standards and is enhanced with functions unique to this product. The command language uses only printable ASCII characters for easy adaptation to any host system.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Command Set
Command identifier
Command (1 to 3 characters)
Sub command
Formatting commands separated by spaces
Data enclosed in
quotation marks
Space character (ASCII 32 or HEX 20)
Only used with some commands
Graphical data starts directly without any quotation mark
and ends after the specified number of bytes
New line = CR LF
(ASCII 13 10
or HEX 0D 0A)
SW97119
1
1
1
2
2
1
24

Syntax

Syntax
A command string always starts with an exclamation mark (ASCII 33 or HEX 21) serving as command identifier. The exclamation mark must be at the first position of the line, that is, directly after a CR LF. Otherwise it will not be recognizes as command identifier.
The characters immediately following the “!” (21H) form the actual command to the printer. The command consists of 1–3 characters and is followed, when applicable, by a sub command, formatting commands, and data separated by space characters as shown in Figure 15.
A Carriage Return and Line Feed end each command.
Figure 15 • Command Syntax
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009

Printing and Encoding Capability Overview

p
Printing and Encoding Capability Overview

Text

It is possible to print text in four fonts, in four orientations, and in 16 different sizes.
Text is divided into two categories:
•Fixed text that is repeated on following tickets
•Variable text that is deleted immediately after printing
Fixed text is normally used for headers etc. as well as for establishing printing parameters for the variable information.
Variable text is used for names, seating numbers, departure times, dates, etc.
Command Set
25

Graphics

Bitmap graphics, such as logotypes, prints in the size and orientation in which they where downloaded. Graphics print on all following tickets until a ”Clear all” command is received,
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
so you only have to download graphics once.
Remember, when creating graphics for the TTPM2 printer, that the pixels are not square, but has a height/width ratio of 1.32:1.
SW95026A
X1
Y1
FEED
DIRECTION
X384
86 mm:Y500 (Y700 in high res mode)
110 mm: Y650 (Y900 in high res mode)
Printable width 51.07mm
North orientation at X=1, Y=1
East oriented text at X=384, Y=1
Frame
Command Set
26
Printing and Encoding Capability Overview

Bar Codes

Bar code data fed to the printer are converted to an EAN13, Code39, or 2-of-5 interleaved1 bar code. The bar code prints on all subsequent tickets until a ”Clear all” command is received, or until new bar code data with the same coordinates and type is received.

Magnetic Codes

Messages can be magnetically encoded on a stripe at the back of the ticket. The message can be between 37 and 107 characters long depending on the coding standard and density you select.

Positioning Data on the Ticket

Items to be printed are placed within frames. You position the frame by defining the X and Y coordinate of the upper left corner, and the orientation of the frame. The frame is then automatically sized to the contents you put in it (character size, No. of characters, graphics size, and other data for the item to be printed).
Frames can overlap each other. You can for instance print text on top of graphics.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
1. Included from firmware version 3.65.

Triggering a Printout

Putting text, graphics, bar and magnetic codes on the ticket as described above only builds an image of the ticket in the printer memory. To actually print something on a ticket, you must send a print command:
•!P
Every received ”!P CR LF” prints one ticket. (On dual document entry printers you must also send a select document entry command, see Document Entry Commands on page 31.)
If you have variable text on your tickets, the data to be printed in the variables must precede the !P. If two variables are used for instance, a print command could look like this:
Example •
Thursday 16 October 1999
Seat 311
!P
Command Set
Printing and Encoding Capability Overview
27

Command Acknowledgment

Ticket issuing is automatically acknowledged by the TTPM2 by sending an ACK (06h) to the host computer after a successful read-after-write of the encoded magnetic information.
If no encoding command and data are sent to the TTPM2, the ACK is still sent (read-after­write verifies that no data is encoded).
Some other commands are also acknowledged, see table below.
Note • ACK/NAK must be enabled through dipswitch settings, see DIP Switches
on page 81.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Command Set
28
Printing and Encoding Capability Overview
Extended Acknowledgement
It is possible to extend the acknowledgement procedure so that most commands are acknowledged by the printer.
To enable the function you have to the send the command:
•!CA
A ticket should therefore always start with the commands:
•!C
•!CA
The extended acknowledgement is a command number appended to the ACK. The command number is a 1 byte hexadecimal number according to the following table.
Acknowledgement
Command
Normal Extended
!P 06h 06h 80h 06h 02h
!C 06h 04h
!F 06h 05h
!L 06h 08h
!L17 06h 06h 08h
!L18 06h 06h 08h
!L3 06h 06h 08h
!L4 06h 06h 08h
!E 06h 09h
!Q 06h 14h
!Z 06h 18h
!X 06h 19h
2
When?
After a successful magnetic encod­ing. After printing.
After clear memory
After formatting data in memory
After successful track load / eject operation
When the lower input contains ticket stock
When the upper input contains ticket stock
When a ticket has successfully been loaded from the front to the upper input track.
When successful eject through front entry
After successful eject through rear entry
After transaction string is written in memory
After burn time is changed
After changed resolution
2. Introduced in version 4.06.
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
The following is a simple example:
Sent to printer Acknowledgement
!C 06h 04h
!CA 06h 04h
!F T E 309 014 10 03 02 1 "TEST TICKET WITH FULL" 06h 05h
!F T E 259 024 10 03 02 1 "75 BPI TRACK 2 STRING" 06h 05h
!M1234567890123456789012345678901234567 06h 80h
!P 06h 02h
Additional Commands
In addition to the command that specifies the print, there are a number of other commands used for functions such as:
• Clearing of the TTPM2 buffer
• Selection of document entry
Command Set
Printing and Encoding Capability Overview
29
• Decoding of documents
• Generation of status requests
All applicable commands are listed in the following pages. Detailed descriptions of the software commands are given with syntax explanations as well as commented examples.
Ticket Memory
The TTPM2 printer has 128k of nonvolatile RAM (lithium battery backup, with approximately 7 years battery life). This memory stores the entire ticket so you can continue after power OFF, without having to reload the data.
The ticket printing area is 384x512 pixels for an 86 mm ticket, and 384x656 pixels for a 110mm ticket.
Note • Make sure not to print data outside this area when you use the !F command.
If you do, you write in parts of the memory that are used for other functions in the printer, and the result is totally unpredictable.
Initialization After Power OFF
To initialize the printer after power ON you just send a print command (!P) and the printer is ready for use.
Note • The first !P after power ON initializes the printer. No ticket is produced.
If you want to clear the memory and start a new ticket you have to send the clear all command !C.
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Command Set
30

Summary of Commands

Summary of Commands

System Commands

!C Clear all page 33
!C1 Clear retract counter page 33
!CA Clear all and enable extended acknowledgement
!F A Feed- acceleration and speed
!P Encode and print document page 33
!P@ Encode and print document, and eject it in wastebasket (FL2 and FL3
printers)
!PE Encode and print document, and eject it to tray (for FL3 printers)
!PS Print slow
!PM Print medium
!PF Print fast
!U Firmware version query
a
b
c
d
d
d
e
page 33
page 38
!S Status request page 35
ENQ Status request immediate page 38
CAN General reset, equivalent to power OFF/ON (takes 20 s to execute)
!Q Writes a transaction string to RAM page 34
!V Reads the transaction string written by !Q
!W Reads thermal print progress indicator
e
e
page 35
page 36
!X Set resolution page 36
!Y Read ticket counter
!Y1 Read retract counter
!Z Burn time
a. Introduced in firmware 01789-406 b. Introduced in firmware version 4.49d c. Introduced in firmware xxxxx-399s, replaced by !F A in version 4.49 d. Introduced in firmware xxxxx-3.39zb e. Introduced in firmware xxxxx-332 f. Introduced in firmware xxxxx-360 g. Introduced in firmware xxxxx-424 h. Introduced in firmware xxxxx-384
h
f
g
page 36
page 36
page 37
P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
Loading...
+ 72 hidden pages