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.
Contents 1 • Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Document Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Magnetic Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Track Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Self Test Mode/Ticket Repeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Self Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Repeat Fixed Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4 • Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Syntax .
Contents 7 • Document Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Text Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Printing Bold Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Reversed Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
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.
Introduction 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.
2 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.
Installation Installing a Desktop Printer Figure 2 • Rear view, desktop printer, and OEM printer mechanism Upper document entry Power ON/OFF switch Power cable receptacle Lower document entry Power connector Fuse holder RS 232 interface connector SW95065D 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.
Installation Installing an OEM Printer Mechanism Figure 3 • RS232 serial interface connector pin assignment Pin 6 Pin 1 SW97101C 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.
Installation 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.
Installation Installing an OEM Printer Mechanism Figure 5 • Power supply connector pin assignment 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.
Installation 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.
Installation Installing Accessories Fanfold Ticket Paper Entry Tray 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.
Installation 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.
3 Operation Operator Controls Figure 9 • Indicators and pushbuttons Red indicator Error, turn OFF and ON the printer to clear. 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. Yellow Indicator Center pushbutton Fixed: Out of paper.2 Blinking: Print command received, but out of paper.
Operation Paper Loading Paper Loading 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.
Operation Paper Loading Loading Through Rear Document Entries 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.
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.
Operation Paper Jam Removal 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.
Operation 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.
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.
Command Set 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.
Command Set Printing and Encoding Capability Overview 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.
Command Set 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.
Command Set Printing and Encoding Capability Overview 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.
Command Set Printing and Encoding Capability Overview Extended Acknowledgement2 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.
Command Set Printing and Encoding Capability Overview 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 • Selecti
Command Set Summary of Commands Summary of Commands System Commands !C Clear all !C1 Clear retract counter !CA page 33 page 33 a Clear all and enable extended acknowledgement b page 33 !F A Feed- acceleration and speed page 38 !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)c !PS Print slowd !PM Print mediumd !PF Print fastd !U Firmware ve
Command Set Summary of Commands Document Entry Commands !A Sets ticket length for roll ticket without blackmarksa page 40 !E Ejects document through the upper rear document entry (for example after decoding) page 40 !L1 Selects lower rear document entry, and waits if paper is out (for units with dual consecutive entriesb) page 40 !L2 Selects upper rear document entry, and waits if paper is out (for units with dual consecutive entries) page 40 !L3 Loads document through front entry page 41 !L
Command Set Summary of Commands Magnetic Encoding/Decoding Commands !D Reads and decodes data in ISO format from track 2 (or center track) page 53 !D1 Reads and decodes data in ISO format from track 1 page 53 !D3 Reads and decodes data in ISO format from track 3 page 53 !I Defines data to be encoded in ISO format on track 3 page 51 !J Defines data to be encoded in ISO format on track 1 page 51 !K Defines data to be encoded in Hex format on track 1 or 3 (as applicable) page 51 !M Defi
5 Command Reference System Related Commands !C Clear all This command takes no parameter. All definitions are cleared. Stored layout is erased. Subsequent !C’s are ignored. The !C command is also used to initialize TTPM2 after a power ON. If existing print layout shall be saved, !P shall be used for printer initialization. See TTPM2 Start-Up on page 59. If no fixed data is used on the tickets, Autoclear can be used to clear the memory between tickets instead of using !C.
Command Reference System Related Commands Encoding Retries Adding a single digit after the !P makes it possible to set the maximum number of encoding retries for one ticket. The number given is the number of additional tries i.e. !P 1 means one normal attempt plus one retry. Default is 1, which is the value used if no digit is present. Eject to Waste Basket Adding an @ character (!P@) makes the printer eject the completed ticket into wastebasket (for FL2 and FL3 printers).
Command Reference System Related Commands !S Status request The TTPM2 responds by sending two bytes to the host computer. Byte 1 indicates the status of the various TTPM2 sensors according to the following table. Byte 2 reports the temperature of the thermal print head and is only used internally in the TTPM2.
Command Reference System Related Commands Read thermal print progress indicatora !W a. Introduced in firmware version 3.32 Reads a value indicating the number of bytes actually printed on the ticket (both blank and non blank). The number consists of 4 hexadecimal digits and should normally be equal to 5BE0.
Command Reference System Related Commands Burn timea !Z a. Introduced in firmware version 3.
Command Reference System Related Commands ENQ Status request, immediate The TTPM2 responds by sending the same 1 byte response to the host computer as is sent as byte 1 in response to the !S command. The ENQ command is effected immediately after receipt, whereas the !S command is effected in sequence when received. TTPM2 has two feed motors, one for encoding and one for printing. !F A Feed- acceleration and speeda a. This command was introduced in firmware version 4.
Command Reference System Related Commands !F A N 1 1 1_”remark” !F Command to load print-parameter information. A Indicates acceleration and speed mode. N Print orientation. This is ignored in acceleration and speed mode. Orientation is always North (N). The printer requires the N to be inserted. Start frequency. Set the base frequency from where the acceleration starts. A value of 30 indicates a start frequency of 300 Hz.
Command Reference Document-Entry Related Commands Document-Entry Related Commands Set ticket length for roll papera !A a. This command was introduced in firmware version 4.55 This command sets the ticket length if paper without gaps or black marks is used. One step is 0.7mm. !A 127 !A 0 sets up a credit car sized ticket length. turns off the function and reverts to gapped ticket stock. This is the default setting. The mechanics of TTPM 2 works with ticket lengths between 54 and 120 mm.
Command Reference Document-Entry Related Commands !L3 Load document from front entry (front load printers only) This command lifts the print head for a specified time, to permit document insertion through the TTPM2 front document entry/exit. At the same time, any document in active position is retracted. The document inserted in the front document input/exit is loaded into the printer and placed in active position in the upper entry, see Single-Ticket Handling on page 71.
Command Reference Document-Entry Related Commands !L17 Select lower rear document entry and signal paper out (only dual entry printers) Same function as !L1, but when ticket loading fails the printer sends an error code (NAK + '1') instead of waiting for paper to be loaded. It is then up to the system to determine if paper should be loaded from the upper document entry instead.
Command Reference Print Related Commands Print Related Commands Introduction !F is the general command for formatting the ticket print. !F The parameters are used as follows: !F Indicates that this is the start of a print field definition Specifies the type of the field T= Text G= Graphics M= Ticket cancellation definitions (See Canceling a Ticket on page 49) C= Bar code Depends on the type of field specified. See the following pages.
Command Reference Print Related Commands Note • Only used for font 1. Must be set to 1 for all other fonts. Specifies the height and width expansion of characters to be printed. The height range is 1–16 times the default value. The width range is 1–16 for fonts 1 and 4, and 1–3 for fonts 2 and 3. See the font samples in Printing and Encoding Capability Overview on page 25. Selects the font (text appearance). Fonts 1, 2, 3, and 4 apply.
Command Reference Print Related Commands Graphics Printing !F G Format graphics for printing TTPM2 can print bit map graphics. Graphic images are stored in the fixed memory area and will therefore be repeated on every ticket until the next !C command is received. Remember, when creating graphics for the TTPM2 printer, that the pixels are not square but have a height/width ratio of 1.32:1.
Command Reference Print Related Commands Figure 16 • Converting graphics to TTPM2 format. 1. Create pixel graphics 2. Add empty vertical lines to get full bytes 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 3. Convert pixels to bits Black pixel=1 White pixel=0 12 8 32 8 64 16 4 0 0 0 1 0 0 0 0 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 1 1 1 0 0 0 0 1 0 0 2 0 0 0 1 0 0 0 4.
Command Reference Print Related Commands Printing Bar Codes !F C Format bar code printing Bar code printing can be used as ticket data carrier instead of, or in addition to, magnetic encoding. Note • To produce sharp code bars, the TTPM2 printer automatically reduces the print speed by approx. 50% when printing tickets with east and west oriented bar codes. In firmware version 3.50 and higher, this speed reduction is only valid for bar widths 1 and 2. Wider bar codes are printed at full speed.
Command Reference Print Related Commands type selects type of bar code. The following types are available: Value 1= EAN13 (partly implemented, no check sum) Value 2= Code 2-of-5 interleaved Value 8= EAN 128a Value 9= Code 128 Value 11 = Code 39 a. Code 128 and EAN 128 are only implemented in firmware 00970-xxx, and it replaces font 2. space A space (blank) has to be inserted between the type parameter and the data string.
Command Reference Print Related Commands Example • Code 2-of-5 example !F C N 100 410 5 2 2 2 "123456" Note • Code 2-of-5 must have an even number of digits. Canceling a Ticket !F M Format print on cancelled ticket The TTPM2 can cancel a ticket after an unsuccessful magnetic encoding. The feature relates to the read-after-write function6. When the has been encoded, the TTPM2 reads and compares the magnetically encoded message with the original string.
Command Reference Print Related Commands Figure 18 • Indication of 1st and 2nd unsuccessful read-after-write P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
Command Reference Magnetic Encoding- and Decoding-Related Commands Magnetic Encoding- and Decoding-Related Commands Track number and type of encoding (ISO standard or hexadecimal bit-by-bit) is determined by the encoding command used as specified below: Encoding Syntax ↵ Encode command !M000000016↵ !I Track 1 (only on track 1&2 printers) !J X !K !M !N X Track 2 (or center track) Track 3 (only on track 2&3 printers) X BPI 210 210 X X X X 75 75 X 210 Coding ISO 7811 X
Command Reference Magnetic Encoding- and Decoding-Related Commands Figure 19 • This figure shows which characters can be coded with the different coding formats Note • With HiCo encoding, only one track at a time can be used for encoding or reading. In this case, code first track with | or $ in the magnetic string to return the ticket to active position after coding, then reset the printer with !C, and code the other track and print the ticket.
Command Reference Magnetic Encoding- and Decoding-Related Commands Reading and Decoding The ticket is taken from active position, and after reading, the ticket returns to active position. !D Reads and decodes ISO track 2 (or center track) and transmits the data to the host computer. !D1 Reads and decodes ISO track 1 and transmits the data to the host computer. !D3 Reads and decodes ISO track 3 and transmits the data to the host computer.
Command Reference Magnetic Encoding- and Decoding-Related Commands ~ Encodes the ticket, performs read-after-write, and cuts the ticket. The ticket stops after the cutter (where the after cutter sensor still can see the ticket). Here it waits for print data and !P command before proceeding to be printed and ejected to the customer Apart from print data and !P, only the following commands are allowed. !L3, !L4, and !L5.
Command Reference What Can You Encode? What Can You Encode? Track 1 ISO Encoding 03/05/2009 ASCII Character Parity Magcode 32 Space 1 000000 33 ! 0 000001 Character not defined in Standards 34 " 0 000010 Character not defined in Standards 35 # 1 000011 36 $ 0 000100 37 % 1 000101 Start Character (Start Sentinel) 38 & 1 000110 Character not defined in Standards 39 ' 0 000111 Character not defined in Standards 40 ( 0 001000 41 ) 1 001001 42 * 1 001010 Ch
Command Reference What Can You Encode? P1003645-001 57 9 0 011001 58 : 0 011010 Character not defined in Standards 59 ; 1 011011 Character not defined in Standards 60 < 0 011100 Character not defined in Standards 61 = 1 011101 62 > 1 011110 Character not defined in Standards 63 ? 0 011111 Stop Character (End Sentinel) 64 @ 0 100000 Character not defined in Standards 65 A 1 100001 66 B 1 100010 67 C 0 100011 68 D 1 100100 69 E 0 100101 70 F 0
Command Reference What Can You Encode? 89 Y 1 111001 90 Z 1 111010 91 [ 0 111011 Character not defined in Standards 92 \ 1 111100 Character not defined in Standards 93 ] 0 111101 Character not defined in Standards 94 ^ 0 111110 Field Separator 95 _ 1 111111 Character not defined in Standards Mag Code = the six LSB of (ASCII value - 32), parity bit is added by printer.
Command Reference What Can You Encode? Track 2&3 ISO Encoding ASCII Character Parity Magcode 48 0 1 0000 49 1 0 0001 50 2 0 0010 51 3 1 0011 52 4 0 0100 53 5 1 0101 54 6 1 0110 55 7 0 0111 56 8 0 1000 57 9 1 1001 58 : 1 1010 Account Separator (Track 3 only) 59 ; 0 1011 Start Character (Start Sentinel) 60 < 1 1100 61 = 0 1101 62 > 0 1110 63 ? 1 1111 Field Separator Stop Character (End Sentinel) Mag Code = the four LSB of (ASCII valu
6 TTPM2 Start-Up The TTPM2 has battery backed-up memory. All print field definitions are retained even when the printer power is switched OFF. Power Failure Cleanup8 At power ON, the TTPM2 tries to find out if a ticket is in the ticket path at any other location than at the top of form position. If it finds a ticket, it destroys the magnetic encoding, prints VOID on it and outputs the ticket. If the printer is equipped with a front load 2 or 3 unit, the ticket is redirected to the waste bin.
TTPM2 Start-Up Start-Up Synchronization Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _______________
7 Document Examples The command language will be explained in detail with the following examples. Note • These examples are for single-entry TTPM2 printers. If you have a dual entry printer you must insert a !L1 command on a separate line before the !P command. Assume that you want to print a document with the following layout and the number 123456789 to be encoded on ISO track 2 (or center track).
Document Examples Start-Up Synchronization This command sequence will now be fully explained: !C Clears all previously sent definitions. !F T N 150 20 1 2 2 1 "TTPM" Defines a print field starting at X coordinate 150, (pixel pos. 150), Y coordinate 20 (pixel pos. 20), with characters of double height and double width, font 1. X-axis resolution is 7.52 pixels/mm (0.133 mm/pixel), Y-axis resolution is 5.7 pixels/mm (0.
Document Examples Start-Up Synchronization Example • This has been slightly changed from the previous example. The seat number (15), changes for every document printed and encoded while the rest of the information remains the same.
Document Examples Start-Up Synchronization The variable information additions to the previous example are: !F T N 150 180 1 3 3 1 "%V" This defines a variable text field that will be filled with data sent to the printer prior to the print command. The contents of the field will be erased after printing. The field definition, however, is not erased. 15 These are the characters that will be printed in the variable text field defined above.
Document Examples Start-Up Synchronization The following command sequence achieves this: !C Fixed information to be printed !C !F T N 130 20 1 3 3 1 "TTPM2" !F T N 90 100 1 2 1 1 "Demonstration Show" !F T N 150 150 1 1 1 1 "Seat No:" !F T N 150 240 1 1 1 1 "Place:" !F T N 150 310 1 1 1 1 "Date:" !F T N 150 390 1 1 1 1 "Time:" !F T N 150 180 1 3 3 1 "%V" !F T N 80 270 1 2 2 1 "%V" Definitions of fields or variable information !F T N 50 350 1 2 2 1 "%V" !F T N 120 420 1 2 2 1 "%V" 16 Variable informatio
Document Examples Start-Up Synchronization Figure 23 • Printout example If you need to print a ticket for the show in Gothenburg at another date and time, the following data will have to be sent to the printer: 22 Gothenburg Feb. 12, 1998 19.
Document Examples Start-Up Synchronization Figure 24 • Printout example We have so far been printing text oriented in the North direction. The printer is capable of printing in four directions. Note • Fonts 2 and 3 can only be printed in North orientation.
Document Examples Text Attributes Figure 25 • Printout example Text Attributes TTPM2 does not handle word processor-like text attributes. In version 4.07 of the firmware, reversed text has been added, and you can make bold text according to the procedure described below. Bold and reversed cannot be combined.
Document Examples Text Attributes Reversed Text9 Reversed text. If an R character is appended to the font selection digit (no space between), the text is reversed. !C !C !F T E 100 110 1 02 02 1R "Reversed text" !F T E 200 110 1 02 02 1 "Normal text" !P Note • Only reverse single words. Reversing a complete line may reset the printer due to the high current consumption when printing all black. Reverse work with fonts 1, 2, and 4. 9. Introduced in firmware version 4.
Document Examples Text Attributes Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _____________________
8 Single-Ticket Handling Overview The TTPM2 comes with one of two different single-ticket handling systems: upper rear entry load (standard), and front load (optional). In both cases, the upper document entry of the printer is used for the single-tickets. This means that single-ticket processing restricts the use of fanfold ticket stock to the lower entry.
Single-Ticket Handling Inserting a Single Ticket Previously Encoded Tickets One use of the single ticket handling is to process a ticket several times. For example, if you issue a return train ticket (Stockholm to Oslo and back to Stockholm) you can add print, and re-encode the magnetic stripe when the first part of the journey is made. 1. Use the applicable decode command to read the previously encoded ticket information. 2.
Single-Ticket Handling Read and Decode Read and Decode The following read (and decode) commands apply for the single ticket in active position: !D Read and decode track 2 (or center track). With front load option, track 2 (or center track) is read and the data stored in memory when the ticket is entered through the front entry. !D only reads the data from memory without moving the ticket.
Single-Ticket Handling Ejecting the Ticket Ejecting the Ticket If you want to eject the ticket without modifying the encoding or adding new print after reading the magnetic stripe, use an applicable eject command: P1003645-001 !E Ejects the ticket through the upper rear document entry. !L4 Ejects the ticket through the front entry. !L5 Ejects the ticket to the waste bin of the TTPM2 Front Load 2.
9 Error Handling The green indicator lights up at power ON. Should it fail to light up, switch the TTPM2 OFF and back ON again. If the green indicator is still OFF, check your power connection both in the TTPM2 and in the wall outlet. Also check your main power supply fuse. Power Up 11 When turning ON the printer it checks to see if a ticket is anywhere in the printer but the standard active position in the lower rear ticket entry.
Error Handling Normal Operation Red indicator lights up Indicates unsuccessful read-after-write. The TTPM2 makes a second attempt to encode and read the ticket. During that attempt the red indicator will go out. For each unsuccessful attempt, the red indicator lights up again. If a single-ticket operation is in progress, the red indicator stays ON until a new ticket is inserted and successfully processed. Also refer to the previously described procedures regarding the yellow and green indicators.
10 Error Codes and Status Reporting The host computer uses the TTPM2 status reporting to determine if the print cycle has been completed or not. If not, error codes help determine what went wrong. Status When executing the print command !P, the printer confirms that the magnetic code is has been written and verified by sending an ”ACK” (06H) to the host. This indicates that the ticket in almost ready and should just pass the printhead and be outputted to the customer.
Error Codes and Status Reporting Security Additions Security Additions Additions intended to increase the security in the printer have been done between version 3.20 and 3.32 of the firmware. Status reporting is now used as a security measure to ensure that no manipulation has occurred that makes it possible to issue more tickets than intended. When powering up the printer it looks for any unfinished ticket, voids it, and then issues an NAK G error code to inform about this.
Error Codes and Status Reporting Errors Errors TTPM2 reports error conditions in the form of error codes. An error condition is reported as a NAK (15H) followed by a one-character error code. The error codes have been defined, starting with ASCII character "1" (31H) according to the following table: "1" No paper in the entry path selected with !L1, !L2, !L17, or !L18. "2" Paper jam when executing !L1, !L2, !L17, or !L18. "3" Reserved. "4" Cutter error. No full cut performed.
Error Codes and Status Reporting Errors Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _______________
11 Interface Description The TTPM2 communicates through an RS232 serial interface. DIP Switches A DIP-switch is accessible through the service opening at the bottom of the TTPM2 enclosure.
Interface Description Communications Protocol Standard = Consecutive lower entry + single-ticket upper entry DCT = Dual Consecutive entries CD200 = Card dispenser mode Test = Zebra production test setting, not to be used! Note • Use RTS/CTS hardware handshake (dip-switch 5 = OFF) when ACK/NAK + error code is enabled (dip-switch 6 = ON). Communications Protocol The protocol is 8 data bits, 1 stop bit, and no parity.
12 Document Stock The TTPM2 printers are produced and calibrated for, and tested with the customers’ ticket stock. To ensure accurate ticket issuing, we do require 100 tickets of the customer ticket stock for each ordered printer.
Document Stock Ticket Base Material Ticket Base Material Manufacturer Type Thickness μm Sensitivity Mitsubishi TF 1767 183 High Mitsubishi TF 1775 181 Maximum Mitsubishi TF 1875 200 Maximum Mitsubishi TF 2467 255 High Mitsubishi TF 2475 255 Maximum Ricoh 150UT-190µ 182 Very High Ricoh 150UT-240µ 235 Very High Type of paper or equivalent is recommended Material Paper, 100 % chemical pulp, no ground wood permitted Triplexa laminateb Plastic (PVC) a.
Document Stock Coating and Preprint Coating and Preprint Thermal coating Top coating Shall meet or exceed the ANSI 3.11 specification Smoothness: Max. 75 Sheffield units Properties: Same as fax grade 3 The thermo-sensitive surface of the document stock can be provided with a protective UV or moisture proofing top coating Caution • Never use abrasive inks as they reduce the life of the thermal print head. Preprint Tickets can be preprinted on one, or both sides.
Document Stock Ticket Dimensions and Perforation Coercivity Low: 300 Oersted High: 2750 Oersted (option) Other non-standard coercivities available on request If a ticket is perforated, for stub separation for example, the perforation shall not infringe on the magnetic track to prevent interference with magnetically encoded data. Ticket Dimensions and Perforation Gapped or non-gapped consecutive form tickets. Fanfold or rolla. Stock format Sheet-cut (single) tickets for manual or dispenser loading.
Document Stock Ticket Dimensions and Perforation Figure 27 • Gapped tickets (for printers with cutter) Stub perforation (if applicable) Optical sensor position R 3.18 ±0.3 0.18 min. 0.4 max. Perforation not allowed within this 6 mm wide area 2 ±0.3 3.5 Transport direction + 6 ±0.5 8 ±0.3 53.98 ±0.2 6 mm Thermal coating Grain direction Magnetic stripe Magnetic code must not cross optional perforation L ±0.25 (see below) 0.6 15.82 min. 8.46 max. 0.04 max. L= 85.
Document Stock Ticket Dimensions and Perforation Figure 28 • Non gapped tickets (for printers with burst separator) Stub perforation (if applicable) Optical sensor position R 3.18 ±0.3 0.18 min. Tabs 0.4 max. Perforation not allowed within this 6 mm wide area 6 mm 2.5 Transport direction + Thermal coating 53.98 ±0.2 Grain direction Magnetic stripe Magnetic code must not cross optional perforation 0.04 max. L ±0.25 (see below) 0.6 Magnetic stripe must be cut L= 85.
Document Stock Ticket Dimensions and Perforation Tickets With 45° Cut Corners Some applications are using tickets with cut corners without radius. These tickets are not within the specifications for use in the TTPM2 printer series. The effect will be that the ticket detection point moves about 1.3 mm, not only causing incorrect cut but also erroneous placement of the magnetic code. The coding starts 1.3 mm too early resulting in synchronization zeroes being lost in the beginning of the ticket.
Document Stock Ticket Dimensions and Perforation Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ______
13 Firmware History Functions and features are being added from time to time affecting the firmware in the TTPM2. The following table lists the changes of general interest. The TTPM2 firmware, residing in programmable read-only memory (PROM), is available in several customized versions. They differ only in minor details and are indicated by three letters. You will find these letters on the label attached to the PROM component. The standard version, for example, has the letters STD.
Firmware History Ticket Dimensions and Perforation FW Version Change 3.20 Added commands !Q, !U, !V, and !N+. New magnetic encoding attributes added Only dual entry version: Does not accept ticket data without entry selection command. !L1, !L2, !L17, or !L18 must always be sent prior to every !P command. Signals NAK 1 to indicate error and discards the received data. Restrictions Same as 906-290 3.30 !F T modified with fixed spacing setting for font 1.
Firmware History Ticket Dimensions and Perforation FW Version 3.90 Change Fix added for the problem where the printhead were left in a raised position Default burn time has been reduced. A new command (!Z n) controls the burn time (blackness). Note • After installing this firmware you MUST do a three-button reset for it to set the burn time to the default value. Failing to do so will generate blank tickets Inserting a ticket at the rear upper slot after an !L3 command is prevented in CD- mode.
Firmware History Ticket Dimensions and Perforation FW Version 4.401 Change Problem found which could cause trailing ticket to be fed to long after cutter. Fixed. !O n implemented. n=1 results in 512 bits read from track 1. . n=3 results in 512 bits read from track 3. Any other value including none gives the standard !O reply. Possibility to change start & end frequency on encoding motor (command !F A … … 1), and on the printing motor (command !F A … … 2),and new default parameters for speed.
Index 03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Index Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _________________________________________________
Index B Document Dimensions, 86 Examples, 61 Front entry, 19 Rear entry, 19 Stock, 84 Document-entry commands, 31, 40 Bar-code, 26, 47 Battery, 29 BMP-files, 46 Bold text, 68 BPI, 51 Buttons, 17 Byte-counter, 78 E C Canceling a ticket, 49 Card dispenser, 16, 20 Carriage Return, 24 Center track, 88 Center track tickets, 88 Character set, 52 Checksum, 52 Clear all, 33 Coating and preprint, 85 Code 39, 48 Coercivity, 86 COM port, 10 Command acknowledgment, 27 Command Reference, 33 Command set, 23 Command
Index O Initialize Command, 29, 59 Installation, 9 Interface description, 81 Inversed text See Reversed text ISO 7811 coding, 51 Orientation, 43 Output tray, 14 P L Laminate, 84 liability, 2 Line Feed, 24 Load document from front entry, 41 Loco, 86 Lower document entry, 19 M Magnetic codes, 26 Magnetic encoding Attributes, 53 Commands, 32, 51 Failiure, 79 Retries, 54 Magnetic media, 85 Magnetic stripe, 85 Orientation, 19 Memory, 29 Clear, 29 Moisture proofing coating, 85 N NAK 1, 79 NAK 2, 79 NAK
Index Single-ticket handling, 71 Slurry, 85 Start-up, 59, 75 Start-up synchronization, 59 Status request, 35 Immediate, 36, 38 Stock format, 86 Stop bit, 82 Summary of commands, 30 Syncronization zeros, 51 Syntax, 24 System commands, 30, 33 T Text, 43 Text attributes, 68 Ticket Cancellation, 49 Ticket base material, 84 Ticket dimensions, 86 Tickets with 45° cut corners, 89 Top coating, 85 Track 1, 51 03/05/2009 Track 2, 51 Track 3, 51 Transaction string Read, 35 Write, 34 Transfer tape, 85 TTPM editor,
Index P1003645-001 TTPM2™ Installation and Programming Manual 03/05/2009
Zebra Technologies International, LLC 333 Corporate Woods Parkway Vernon Hills, Illinois 60061.3109 U.S.A T: +1 847 793 2600 Toll-free +1 800 423 0422 F: +1 847 913 8766 Zebra Technologies Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire, SL8 5XF, UK T: +44 (0)1628 556000 F: +44 (0)1628 556001 Zebra Technologies Asia Pacific, LLC 120 Robinson Road #06-01 Parakou Building Singapore 068913 T: +65 6858 0722 F: +65 6885 0838 http://www.zebra.com © 2009 ZIH Corp.