Zebra® TTPM3 Kiosk Ticket Printer Installation and Programming Manual © 2009 ZIH Corp.
© 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Document Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Magnetic Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Document Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Contents Single-ticket Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Previously Encoded Tickets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inserting a Single Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Ticket Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Text Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printing Bold Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reversed Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Contents Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _______________________________________________
1 Introduction This document describes installation and operation of TTPM3 Ticket Printer/Encoder, which creates credit-card-wide tickets with magnetic encoding and thermal printing.
7 Introduction Document Printing Document Printing TTPM3 uses the direct thermal printing technique and can print the entire surface of the ticket with text, bar codes, or graphics, or any combination hereof. Text block position and orientation is software programmable as is the character size. The data sent to the printer is converted to a ticket image which is stored in the unit until an “All Clear” software command is sent, or the power is turned off/on.
Introduction Contacts Contacts Technical Support via the Internet is available 24 hours per day, 365 days per year. Web Site: www.zebra.com E-mail Back Technical Library: E-mail address: emb@zebra.com Subject line: Emaillist Self Service Knowledge Base: www.zebra.com/knowledgebase Online Case Registration: www.zebra.com/techrequest Which Department Do You Need? Regional Headquarters The Americas Zebra Technologies International, LLC 333 Corporate Woods Parkway Vernon Hills, IL 60061-3109 U.S.A.
9 Introduction Contacts Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________
2 Installation The TTPM3 comes as desktop printer, or as an OEM printer mechanism for kiosk applications.
11 Installation Figure 2 • OEM Printer Mechanism Printhead-openlever lever Printhead-open Control Control panel panel Input 2 (upper) Input 1 (lower) Ticket output P1003642-001 TTPM3 Installation and Programming Manual Power Power inlet inlet (24V) (24V) Interface Interface connector connector 01/06/2009
Installation Installing a Desktop Printer Installing a Desktop Printer 1. Connect the cable from the power supply to the connector at the back of the printer. 2. Connect the power supply 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. Connect a serial cable between the COM port of the host computer and the serial input of the TTPM3 printer.
13 Installation Installing a Desktop Printer 4. Take out the configuration ticket that sits in the holster on the side of the network card. 5. Start a web browser and enter the IP address printed on the configuration card, for example http://192.168.0.52 Now the server in the TTPM shows.
Installation Installing a Desktop Printer Output Tray or Nozzle? The output nozzle is used if the operator only prints one ticket at a time and should take the ticket from the printer. 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. If an output nozzle is fitted: 1. Press it out from behind and remove it 2. Loosen the two screws in the front a couple of turns 3. Hook the tray onto the screws and tighten them 4.
15 Installation Installing an OEM Printer Mechanism Installing an OEM Printer Mechanism The TTPM3 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 With Zebra power supplies, just connect the cable from the power supply to J5. If you use another type of power supply unit, 24 V cables are available from Zebra, order No. 01370-000. Should you make cables of your own, connect the voltages according to the following illustration. Note that protective ground and minus output should not be interconnected in the power supply.
17 Installation Installing an OEM Printer Mechanism Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ______
3 Operation 01/06/2009 TTPM3 Installation and Programming Manual P1003642-001
19 Operation Operator Controls Operator Controls Figure 6 • Indicators and Pushbuttons Blue Blue indicator indicator Power ON/OFF button pushbutton Clear pushbutton Lights Lights when when power power is is ON ON Switches on or off the TTPM3 Press and hold hold at at power power ON ON paper jam jam clearing clearing to turn on paper Press front front button button to to mode.
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. Loading Through Rear Document Entries 1. Insert the ticket stock into the desired document entry. When the ticket is detected by the input sensor it will be pulled into the active position. Consecutive ticket stock is usually loaded in the lower document entry, and single tickets in the upper document entry.
21 Operation Paper Loading Figure 8 • Positioning the Ticket Stock 90° SW97116R2 Loading Through Front Document Entry (Optional) An !L3 command must be sent to the printer to prepare it for front loading. When this command has been received and the input sensor detects a ticket being inserted into the document exit, it will be pulled into the active position of the upper rear document entry.
Operation Paper Jam Removal Paper Jam Removal Open the 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 “Clear Jam” pushbutton while turning ON the power. The red indicator shows a steady light to indicate paper jam clearing mode. Tickets Stuck in Input Module 1. Press and hold the “Eject Ticket” push button to feed the ticket towards the rear of the unit.
23 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.
Operation Error Handling Error Handling The blue and green indicators lights up at power ON. If they fail to light up, switch the TTPM3 OFF and ON again. If the indicators are still OFF, check your power connection both in the TTPM3 and in the wall outlet. Also check your main power supply fuse. TTPM3 Start-up The TTPM3 has Flash memory where the firmware and parameter settings are stored. All print field definitions are stored in RAM and disappears when the printer power is switched OFF.
25 Operation Error Handling Normal Operation Different error types can show up during processing. The most common is that the TTPM3 is out of paper. All errors encountered by the printer, and requiring operator assistance, are indicated with a signal from an indicator on top of the printer. The operator then has to follow a specific procedure depending on the type of error that caused the stop. The procedures are as follows: Yellow indicator lights up Indicates “No paper” in the selected paper entry.
Operation Single-ticket Handling Single-ticket Handling Overview The TTPM3 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.
27 Operation Single-ticket Handling Inserting a Single Ticket In the standard TTPM3, inserting a single-ticket into the upper rear document entry, will trigger the single ticket loading process. In front load printers, the application program must issue the command !L3 to trigger the single ticket loading. The yellow indicator on the printer will blink to indicate that the application program wants the operator to insert a single ticket. When a ticket is inserted, the loading process starts.
Operation Single-ticket Handling Encode and Print Encode a new or modified string on the magnetic stripe. Use any of the magnetic encoding commands !I, !J, !M, or !K #, !N, !K depending on what tracks are available in your printer, and what encoding you want. See Magnetic Encoding/Decoding Commands on page 38. Format the new print using the command !F T on page 49. Encode and print the ticket with the !P command. The ticket will be ejected to the operator when correctly encoded and printed.
29 Operation Single-ticket Handling Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ______________________
4 Programming 01/06/2009 TTPM3 Installation and Programming Manual P1003642-001
31 Programming 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.
Programming 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. 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, so you only have to download graphics once.
33 Programming Printing and Encoding Capability Overview Bar Codes Bar code data fed to the printer are converted to an EAN13, EAN 128, Code39, Code 128, and code 2-of-5 interleaved 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.
Programming 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. (If the printer is configured for dual consecutive entries, you must also send a select document entry command, see Syntax on page 31.
35 Programming How the Commands are Described How the Commands are Described Purpose of command Mnemonic !B 1 21 42 20 31 Hex Dec Encode Binary Data on Track 1 Decimal representation of command Hex representation of command Mnemonic Mnemonic is the popular command name that should be easy to remember. Hex Give the command in hex representation Decimal Give the command in decimal representation Values n1, n2, etc. represents values that you set with the commands.
Programming Summary of Commands Summary of Commands System Commands 01/06/2009 !C Clear all !C 1 Clear retract counter !C A Clear all and enable extended acknowledgement Syntax Feed- acceleration and speed page 31 !P Encode and print document page 39 !P @ Encode and print document, and eject it in wastebasket (FL3 printers) !P E Encode and print document, and eject it to tray (for FL3 printers) !U Firmware version query page 41 !S Status request page 40 !S L Status request, paper l
37 Programming Summary of Commands Document Entry Commands !A Sets ticket length for roll ticket without black marks or gaps page 45 !E Ejects document through the upper rear document entry (for example after decoding) page 45 !L 1 Selects lower rear document entry, and waits if paper is out (for units with dual consecutive entries) page 45 !L 2 Selects upper rear document entry , and waits if paper is out (for units with dual consecutive entries) page 45 !L 3 Loads document through front ent
Programming Summary of Commands Magnetic Encoding/Decoding Commands !B 1 Encode data in Hex format on track 1 page 56 !B 2 Encode data in Hex format on track 2 (or center track) page 56 !B 3 Encode data in Hex format on track 3 page 56 !N Same as !B 2, for compatibility with TTPM2 !N+ Same as !N but reverses the bit order !K Same as !B 3, for compatibility with TTPM2 !K+ Same as !K but reverses the bit order !O 1 Reads data in Hex format from track 1 (or center track) page 57 !O 2 Read
39 Programming Command Reference Command Reference The commands in this section are grouped after what they do, and these groups are sorted in a theoretical usage sequence. It starts with commands for setting up the printer — through document entry commands — text-and-graphics commands — encoding / reading commands. Then we end with storage commands that handle the flash memory of the printer. System Commands !C 21 43 n1 33 67 n1 Clear all Hex decimal This command takes no parameter.
Programming Command Reference • Eject Fully Adding an E (!PE) makes the printer eject the ticket fully so that it can fall down into a tray (for FL3 printers) Digits and @, or digits and E can be mixed on the same line, for example !P5@ makes five encoding retries, and ejects the ticket into the wastebasket. !Q 21 51 n1...n15 33 81 n1...n15 Write transaction string Hex Decimal !Q writes a string with up to 15 ASCII characters to a non-volatile buffer memory in the printer.
41 Programming Command Reference !S D 21 53 20 44 33 83 32 68 Status request, DIP-switch settings Hex Decimal Note • This parameter is for compatibility with older TTPM’s. They had a DIP-switch on the control board instead of a parameter memory. The TTPM3 responds with one byte containing 1 bit for each switch. 1 = on, 0 = off.
Programming Command Reference !X 21 58 33 88 Set resolution Hex Decimal This command sets the resolution of the print. This only affects the resolution in the transport direction of the ticket. 0 normal resolution, (5.7dots/mm). 1 high resolution (8.5 dots/mm). !Y 21 59 33 89 Read ticket counter Hex Decimal This command reads out the value of the internal ticket counter from the control board.
43 Programming Command Reference !Z 21 5A 33 90 Set burn time Hex Decimal Setting Burn time Print Density 16 512 μs Lightest print 17 544 μs ↓ 18 576 μs ↓ 19 608 μs ↓ 20 640 μs Default 21 672 μs ↓ 22 704 μs ↓ 23 736 μs ↓ 24 768 μs ↓ 25 800 μs ↓ 26 832 μs ↓ 27 864 μs ↓ 28 896 μs ↓ 29 928 μs ↓ 30 960 μs ↓ 31 992 μs Darkest print The burn time controls the print density.
Programming Command Reference !F A N 21 46 20 41 33 70 32 65 Feed- acceleration and speed Hex Decimal TTPM3 has two feed motors, one for encoding and one for printing. This command sets the start-frequency and the top speed of each motor. Note • This command should not be used! Suitable speed is selected by Zebra and set as default parameters in the firmware. The speed setting has to reflect the motors fitted in the printer and the mechanical buildup of the printer.
45 Programming Command Reference Document-Entry Related Commands !A 21 41 33 65 Hex Decimal Set ticket length for roll paper This command sets the ticket length if paper without gaps or black marks is used. One step is 0.67mm. !A 127 sets up a credit car sized ticket length. !A 0 turns off the function and reverts to gapped ticket stock. This is the default setting. The mechanics of TTPM3 works with ticket lengths between 54 and 120 mm.
Programming Command Reference !L 3 21 4C 33 33 76 51 Load document from front entry (front load printers only) Hex Decimal This command lifts the print head for a specified time, to permit document insertion through the TTPM3 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 Syntax on page 31 for entry definition.
47 Programming Command Reference !L 6 21 4C 36 33 76 54 Read ticket from front load Hex Decimal Only for printers with front load: Reads the ticket from the front load and immediately ejects it back out without transporting the ticket to the active position. This command can be used to read tickets in a printer that is configured for two consecutive tracks (where the normal !L3 command would push out the ticket from the upper entry to make place for the ticket from the frontload).
Programming Command Reference Print Related Commands Introduction !F is the general command for formatting the ticket print. !F The parameters are used as follows: 01/06/2009 !F Indicates that this is the start of a print field definition Specifies the type of the field T= Text G= Graphics M= Magnetic encoding failure, ticket cancellation (See Syntax on page 31) C= Bar Code Depends on the type of field specified. See the following pages.
49 Programming Command Reference Text Printing !F T Format text for printing 21 46 20 54 20 n1...n8 Hex 33 70 32 84 32 n1...n8 Decimal !F T 1 <"text"> The parameters are used as follows: !F Indicates that this is the start of a print field definition T Indicates text mode Specifies the way in which the text is to be oriented. This can be either N(orth), E(ast), S(outh) or W(est).
Programming Command Reference Graphics Printing !F G 21 46 20 47 20 n1...n8 Hex 33 70 32 71 32 n1...n8 Decimal Format graphics for printing TTPM3 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 TTPM3 printer, that the pixels are not square but have a height/width ratio of 1.32:1 or 0.88:1 depending on resolution setting.
51 Programming Command Reference Figure 12 • Converting Graphics to TTPM3 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.
Programming Command Reference Printing Bar Codes !F C Format bar code for printing 21 46 20 43 20 n1...n8 Hex 33 70 32 67 32 n1...n8 Decimal 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 TTPM3 printer automatically reduces the print speed by approx. 50% when printing tickets with east and west oriented bar codes. This speed reduction is only valid for bar widths 1 and 2.
53 Programming Command Reference Type Selects type of bar code. The following types are available: Value 1= EAN13 (partly implemented, no check sum) 2= Code 2-of-5 interleaved 8= EAN 128 9= Code 128 11= Code 39 space A space (blank) has to be inserted between the type parameter and the data string. bar code data This is a block of data to be converted by the TTPM3 and printed in bar code form in accordance with the parameters identified.
Programming Command Reference Canceling a Ticket !F M Format print on cancelled ticket 21 46 20 4D 20 n1...n8 Hex 33 70 32 77 32 n1...n8 Decimal The TTPM3 can cancel a ticket after an unsuccessful magnetic encoding. The feature relates to the read-after-write function. When the has been encoded, the TTPM3 reads and compares the magnetically encoded message with the original string. If the comparison is negative, a second attempt to encode/read the same ticket is done.
55 Programming Command Reference Figure 14 • Indication of 1st and 2nd Unsuccessful Read-after-write P1003642-001 TTPM3 Installation and Programming Manual 01/06/2009
Programming Command Reference 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 ↵ Encodes 12345 on track 2 !M 12345↵ Track Track 1 210 bpi Track 2 75 bpi Track 3 210 bpi Encoding Method Encoding Commands Reading Characters ISO !J !D 1 79 ASCII alpha Binary !B 1 !O 1 480 bits (120 hex) ISO !M !D 2 37 ASCII digits Binar
57 Programming Command Reference !J 21 4A 33 74 Encode ISO data, track 1 Hex Decimal This command encodes upper case ASCII text and digits to track 1 of the ticket. Note • The space character is a valid encode on track 1, so remember that if you insert a space character after !J, it will be encoded on the stripe. See What Can You Encode? on page 60 for a list of the characters that can be encoded.
Programming Command Reference Additional Encoding Information Checksum To ensure correct reception of the message to be magnetically encoded, a checksum can be appended to the data by the host computer. This checksum will then be compared by the TTPM3 before encoding which guarantees that the magnetic code data is correctly received. Calculate the checksum as the modulo 2 sum (consecutive XOR) of the ASCII data bytes sent in the !M command.
59 Programming Command Reference Reading and Decoding Magnetic Encoding Attributes The magnetic encoding data strings can be given attributes that govern versions of the standard encode/read-after-write routines and cancellation functions. The following attributes, inserted anywhere in the applicable data strings, will cause the following functional deviations from default standards: Note • The attributes in parenthesis only work for the !M command. { (or *) Cancels the read-after-write function.
Programming Command Reference Magnetic Encoding Retries Note • The | character in the string makes the ticket return to active position after encoding this track.
61 Programming Command Reference Table 2 • Track 1 ISO Encoding (Continued) P1003642-001 ASCII Character Parity Magcode 50 2 1 010010 51 3 0 010011 52 4 1 010100 53 5 0 010101 54 6 0 010110 55 7 1 010111 56 8 1 011000 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 ?
Programming Command Reference Table 2 • Track 1 ISO Encoding (Continued) ASCII Character Parity Magcode 85 U 1 110101 86 V 1 110110 87 W 0 110111 88 X 0 111000 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)
63 Programming Command Reference Table 3 • Track 2&3 ISO Encoding ASCII Character Parity Magcode Notes 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 (ASC
Programming Command Reference Storage Commands !H P n1 n2 Set Parameter Value 21 48 20 50 20 n1...n2 hex 33 72 32 80 32 n1...n2 decimal A number of bytes in the flash PROM hold various parameter values called default parameters. One or several of them can be overridden temporarily with this command. n1 Parameter number as decimal digit(s) n2 Parameter value A space must separate the parameter number and the parameter value See Default Parameter Settings on page 74.
65 Programming Command Reference Example 1 • Recalls the setting of parameter 1 (baudrate). !S P 1 1 Example 2 • Recalls the setting of parameter 1 to 4. !S P 1 4 Example 3 • Recalls the setting of all parameters. !S P Example 4 • Parameter number 0 reflects the No. of parameters stored in the printer. So If you send !S P 0 1 to the printer and get a 14 as reply you know that there are 14 parameters that you can read out.
Programming Command Reference !H C 21 48 20 43 33 72 32 67 Load character set (font) Hex decimal Loads and stores an SWF-font into the flash prom of the TTPM3. A character set loaded gets the next free character set number. So character sets must be loaded in the order that you want them. A utility program for loading character sets is available on the Zebra web site (the TTP Editor).
67 Programming Font Loading Font Loading The printer can store fonts in its flash PROM. The fonts are given font numbers when they are loaded into the printer. The first font is assigned number 0 and the next font 1 etc. up to font 3. The memory available for font storage is printed on the self test ticket. The number of fonts that fit depends on the size of the font files. You cannot erase a single font, but must erase all four fonts with !H C E, then reload the fonts you wanted to keep.
Programming Logotypes Logotypes Logotypes can be stored in the flash PROM of the printer and printed on demand. The memory available for logotype storage is printed on the self test ticket. The number of logotypes that fit depends on the size of the font files. You position and print a logotype with the command !F L. Loading Windows software that converts black and white BMP bitmap files to logotypes and load them into the printer is available on the Zebra web site.
69 Programming Ticket Examples Ticket Examples The command language will be explained in detail with the following examples. Note • These examples work with a TTPM3 set up for single-entry. If your printer is set up for dual entries you must insert an entry selection command, !L1 or !L2, 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).
Programming Ticket Examples 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.175 mm/pixel). !F T N 110 70 1 1 1 1 "Printer/Encoder" Defines a print field at X pos. 110, Y pos.
71 Programming Ticket Examples The following example prints text oriented in all four directions: !C !C !F T N 120 190 1 1 1 1 "Prints" N = North !F T E 190 250 1 1 1 1 ”In" E = East !F T S 170 350 1 1 1 1 "Four" S = South !F T W 120 330 1 1 1 1 "Directions" W = West !P Figure 16 • Printout Example P1003642-001 TTPM3 Installation and Programming Manual 01/06/2009
Programming Text Attributes Text Attributes TTPM3 does not handle word processor-like text attributes. You can reverse text, and you can make bold text according to the procedure described below. Bold and reversed cannot be combined.
73 Programming Text Attributes Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ___________________________
5 Default Parameter Settings Some of the printer settings can be stored in non volatile memory so that they will be used also after power OFF. Each parameter has a parameter number (n) used when setting the parameter with the command !H P n v. Most parameter settings must be stored before being effective. Do this by setting them up and then send !H S to store all settings in the non volatile memory.
75 Default Parameter Settings How The Parameters Are Described How The Parameters Are Described Parameter number Description Default value 5 20 Default 16 Min 31 Max Burn Time Range SW 02001B Default Value The default values indicated are "factory default settings" you get by following the procedure on the next page. These are not necessarily the settings that your printer was originally delivered with because many printers have customized settings when delivered.
Default Parameter Settings Summary of Parameter Settings Summary of Parameter Settings Parameter Description Default Page 1 Baud rate 11 (115200 Baud) page 78 2 Flow control 2 (Hardware) page 78 3 Printer type 2 (Two Consecutive) page 79 4 Network Enable 0 (disabled) page 79 5 Burn time 20 page 79 6 ACK/NAK + error code 1 (enabled) page 79 7 Clear memory after print 0 (disabled) page 80 8 Clear ticket path at startup 1 (enabled) page 80 9 Mag-stripe verification read.
77 Default Parameter Settings Summary of Parameter Settings Restore Factory Default Manually 1. Switch off the power 2. Hold the three front pushbuttons pressed while switching on the power 3. When the printer has started, release the buttons 4. Press and hold the Clear Jam button for 3 seconds 5. Now the printer will return to default settings above, or if the printer is customized, the settings agreed on with that customer.
Default Parameter Settings Parameter Reference Parameter Reference 1 96 11 96 Default Min Max Baud rate Stores the communication speed on the serial interface. !H P 1 12 1200 bps !H P 1 24 2400 bps !H P 1 48 4800 bps !H P 1 96 9600 bps !H P 1 19 19200 bps !H P 1 38 38400 bps !H P 1 57 57600 bps !H P 1 11 115200 bps !H P 1 23 230400 bps, not recommended !H P 1 46 460800 bps, not recommended Note • If you set an invalid value, the baud rate will return to 115200 bps.
79 Default Parameter Settings Parameter Reference 3 2 1 2 Default Min Max Printer type Select what handshaking to use on the serial interface.
Default Parameter Settings Parameter Reference 7 0 0 1 Default Min Max Clear memory after print When enabled the memory is cleared after each print so that no extra copies of a printout can be made. !H P 7 1 8 1 0 1 Default Min Max Enables auto clear after print Clear ticket path at startup When enabled the printer looks for tickets in the printer at power on and voids any ticket found.
81 Default Parameter Settings Parameter Reference 10 30 0 999 Default Min Max Encoding start speed Sets the speed at which the stepper motor starts to accelerate. Normally you never have to change this setting. 10=100 steps/s … 30=300 steps/second 300 steps/s gives 30 mm/s !H P 10 40 Sets 400 steps/second Note • Some settings result in printer chassis resonance causing increased noise and deteriorated print quality.
Default Parameter Settings Parameter Reference 13 380 0 999 Default Min Max Print full speed The print speed together with burn time is used to set print quality. Experiment with these settings to get the most readable bar-codes and text on your ticket material.
83 Default Parameter Settings Parameter Reference 16 3 0 10 Default Min Max Encoding attemps, No. of tickets Attempts are the number of tickets the TTPM3 should attempt to encode when verification fails. If set to 1, one ticket is encoded and if verification fails the stripe is erased, VOID printer on the ticket and an error code sent to the system. Two tickets will be used before giving up. !H P 16 2 Note • See also !F M.
Default Parameter Settings Parameter Reference 31 0 32 255 Default Min Max Character sent after print An ASCII character can be returned to the host after a completed ticket generation. !H P 31 3 32 94 0 255 The character 03h (ETX) will be sent by TTPM when the last pixel line of the ticket has been printed. Default Min Max Long ticket length This parameter adjusts the transition between short and long ticket. Caution • Do not change unless you are told by Zebra Technical Support to do so.
85 Default Parameter Settings Parameter Reference 37 1 0 1 Default Min Max Paper out behaviour The printer sends NAK P when a !P is received and the printer is out of paper. This parameter decides what the printer should do with ticket data when out of paper. 38 280 0 400 Default Min Max !H P 37 0 The printer discards all data until paper is loaded. !H P 37 1 The printer waits for paper to be loaded and then print the ticket from memory.
6 Error Codes and Status Reporting The host computer uses the TTPM3 status reporting to determine if the print cycle has been completed or not. If not, error codes help determine what went wrong.
87 Error Codes and Status Reporting Status 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. You can extend the acknowledge procedure to send acknowledge for other things than magnetic encoding. See command !C A.
Error Codes and Status Reporting Security Additions Security Additions Status reporting is used as a security measure to ensure that no manipulation has occurred that makes it possible to issue more tickets than intended. If “Auto Clear at Startup” is enabled (parameter 8) the printer it looks for any unfinished ticket, voids it, and then issues an NAK G error code to inform about this.
89 Error Codes and Status Reporting Errors Errors TTPM3 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 Extended acknowledgement 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.
91 Error Codes and Status Reporting Extended acknowledgement Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ________________________________________________________________________
7 Maintenance 01/06/2009 TTPM3 Installation and Programming Manual P1003642-001
93 Maintenance Fault Finding Fault Finding In connection with service of the printer it is good practice to remove paper dust and lint from the paper path, cutter and sensor areas. Paper dust, when accumulated, may interfere with printer functions such as optical sensors. To avoid smudging the paper, do not apply oil on the cutting knife. Table 4 • Faultfinding Symptom Suggested actions Nothing is printed when you press the feed button in self-test mode, but the document is transported, cut and ejected.
Maintenance Cleaning the Print Head Cleaning the Print Head The print head can be cleaned without removal. 1. Caution • Turn off (O) the printer and disconnect it from the power source before performing the following procedure. 2. Open the printhead. 3. Clean the heat elements. Note • Use the Preventive Maintenance Kit (part number 47362). In place of the Preventive Maintenance Kit, you may use a clean swab dipped in a solution of isopropyl alcohol (minimum 90%) and deionized water (maximum 10%).
95 Maintenance Firmware Note • The connector that must be short circuited with a jumper during program loading is located close to the power connector. If you have a desktop version of the TTPM3, a hole in the bottom of the cover gives access for the jumper.
8 Specifications Note • Specification subject to changes without notice.
97 Specifications Interface Description Interface Description The TTPM3 communicates through an RS232 serial interface. Setup Options Baud: 2 400, 4 800, 9 600, 19 200, 38 400, 57 600, and 115 200 bits/s Flow control: None, Xon / Xoff, or Hardware Data bits: 8 (fixed) Stop bits: 1 (fixed) Parity: None, Odd, or Even Default settings: 115200 bits/s, 8-bits, No parity, 1 stop bit, and hardware flow control. See also: Default Parameter Settings on page 74.
Specifications Interface Description Communications Cable Caution • Using a non-approved cable with the printer may void the FCC and other EMC approvals of the printer. Use a 9-pin serial cable to connect the TTPM3 printer to the host computer. Such a cable is available from Zebra. Part number 10825-000. The cable is 1.5 m long with 9pole D-sub connectors at both ends (PC and TTPM3).
99 Specifications Document Stock Document Stock The TTPM3 printers are produced and calibrated for, and tested with the customer’s ticket stock. To ensure accurate ticket issuing, we do require 100 tickets of the customer ticket stock for each ordered printer. Ticket Base Material Type of paper Ricoh 150UT 240µ, Mitsubishi TF 2475, and Tyco Sharkskin are recommended. See http://www.zebra.com for current recommendation.
Specifications Document Stock Coating and Preprint Thermal coating Shall meet or exceed the ANSI 3.11 specification. Smoothness: Max. 75 Sheffield units Properties: Same as fax grade 3 Top coating The thermo-sensitive surface of the document stock can be provided with a protective UV or moisture proofing top coating. Preprint Tickets can be preprinted on one, or both sides. Ink for thermo-sensitive side: Laser printer approved ink with-out whiteners.
Specifications Document Stock 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. 13.92 mm 10.36 mm Figure 18 • Position of the magnetic stripe. 7.06 mm 101 Track widths: Tracks 1, 2, and 3: 3.1 mm Center track: 7 mm Track 1 Track 2 Track 3 Center Track Transport di rection Ticket viewed from bottom (magnetic stri pe side) Ticket Dimensions and Perforation Note • ISO No.
Specifications Document Stock TTPM3 Accepted Sizes Ticket width 54 mm ±0.2 mm Note • When the width of the ticket exceeds 54.10 mm, machine reading problems may occur. Ticket length 85.6 ± 0.25 mm, or 110 -150 mm Corner radius 3.18 mm ± 0.30 mm (0.125" ± 0,012") (preferably without minus tolerance). Care should be taken to avoid misalignment between the rounded corners and the straight edges of the card. The corner radius is for optical detection of top-of form.
Specifications Document Stock Figure 20 • Non-gapped Tickets (for Printers with Burst Separator), Equal Distance Between Tabs L= 85.6 (standard as per ISO 7810) L= 110 – 150(customer special) R 3.18mm 54 ± 0.2 mm Tabs L ± 0.25 Figure 21 • Alternative Non-gapped Ticket Profile, Equal Distance Between Tabs R 3.18mm 8 ± 0.5 mm L= 85.6 (standard as per ISO 7810) L= 110 – 150(customer special) 38 mm 2 mm 54 ± 0.2 mm 103 L ± 0.
Specifications Document Stock Figure 22 • Stub Perforation to Create a Tear-off Tab, Perforation for Stub Placed at Trailing End of the Ticket Ticket viewed from bottom (magnetic stripe side) Transport di rection Min. 85.6 mm 6 mm Perforati on not allowed within this 6 mm wide area 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 TTPM3 printer series.
105 Specifications Firmware Firmware The firmware is stored in flash-PROM on the control board. A replacement control board may not contain the same firmware version that you are currently using, so if you replace control board for some reason, upgrade it to the firmware version you want to use. Fetch the firmware from the Zebra web site http://www.zebra.com. Instructions how to load firmware using the Zebra TTP Editor are bundled with the firmware.
Index Cutter error 86 A ACK/NAK 30, 42, 84, 86 D B Bar-code 29, 48 Baud rate 73 BMP-files 48 Bold text 67 Burn time 74, 75 Buttons 14 Byte-counter 85 C Carriage Return 26 Center track tickets 103 Checksum 55 Cleaning the printhead 92 Coating and preprint 99 Coercivity 100 COM port 7 Command acknowledgment 30 Command syntax 28 Commands Document entry related 33 Magnetic encoding/decoding 35, 52 Print related 34, 44 Summary 33 Communications cable 96 Communications protocol 96 Converting graphics 47 Corne
107 Index Font 46 Fonts loading 62 Format Print field type, size, position, orientation 44 Text printing 45, 46, 48, 51 Front load 22 Full tape 99 G Gapped tickets 102 Graphics 28 Converting to TTPM2 format 47 Data 47 Ground 7 H Hardware handshaking 73 Hex 32 Hex codes 71 Hico 100 I Indicators 14 Initialize Command 19, 27 Installation 5 Interface description 96 Inversed text See Reversed text L Laminate 98 Line Feed 26 Load document from front entry 42 Loading firmware 93 Loco 100 Logotypes 63 Lower d
Index Print 40 Commands 44 Format parameter commands 34 Speed 48 Print speed 76, 77, 78 Printer mechanism 11 Printing Capability 28 Printout Triggering 30 Programming 71 Progress indicator 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 51, 53, 54, 85 Pushbuttons 14 R RAM 30 Read-after-write Cancel 55 Reading and decoding 54 Reversed text 67 RTS/CTS 96 T Text 28 Text attributes 67 Ticket base material 98 Ticket dimensions 101 Tickets with 45° cut corners 103 Transfer tape 99 TTPM editor 48 U Upper document entr
109 Index P1003642-001 TTPM3 Installation and Programming Manual 01/06/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.