6 Aligning preprint and thermal print ................52 Commands used with the black-mark ............53 Black-mark sensing from within "Windows" ..........54 7 Interface........................55 Parallel......................55 USB .......................61 Serial (option) ....................61 8 Maintenance ........................62 Fault finding....................62 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 4
To register as a subscriber, either visit our web site http://www.swecoin.se to fill in your subscription request, or send an e-mail to bulletins@swecoin.se. Enter the text Subscribe bulletins as the subject. Do not enter any text in the message area.
This manual will be updated as, from time to time, printer functions and features may be added or amended. You will always find the latest edition on our web site (http://www.swecoin.se). You can order printed copies of the current manual by e-mail, fax, or phone.
SW98049 Figure 1. Printer exterior, side view The TTP 7000 is a kiosk printer using direct thermal printing. The print speed is up to 75 mm per second. The printer has an integrated control board that communicates with the host computer through an IEEE-1284 bi-directional parallel port, an USB port, or an optional serial port.
To feed paper: 1. Press and hold the button, paper-feed starts. 2. Release the button to stop paper feed. You can also use the feed-forward button to print a self-test receipt. See page 17. 0308 TTP 7000 Kiosk Printer – Technical Manual...
3 INSTALLATION 3.1 Installation considerations The TTP 7000 printer should be installed in some kind of enclosure such as a self-service kiosk. The illustration below gives an example of a printer-mounting shelf. See also "Printer dimensions" on page 74. Top view 4.2 (4x)
Connector J10 is an IEEE-1284 type C, 36-pole mini Centronics, with clip latches. See Table 10 for pin assignment of J10. Use only certified cables marked IEEE-1284. See page 77 for Swecoin ordering number. You can also use commercially available cables such as AMP 158393-3.
Page 10
USB connectors are recognized by the following symbol: Connector J13 is a 4-pin USB type B connector. See Table 14 for pin assignment. A suitable cable is available from Swecoin, see page 77 for ordering number. You can also use commercially available cables such as AMP 621775-4.
3.3 Connecting the power Using the Swecoin power supply (see page 77 for ordering number): 1. Make sure the line voltage selector on the power supply is set to your local line voltage. 2. Connect the cable from the power supply to J8.
200 mm roll holders have both paper-near-end and weekend sensors. When installing the Swecoin roll holder just connect the cable from the roll holder to connector J1 at the back of the printer. See Figure 2 on page 6.
Page 13
+5 V Weekend sensor Gray Blue WE SENSE Green PL SENSE Near Black Green Roll holder shaft Paper-near- end sensor SW97081D Figure 8. Paper-near-end sensor connection 0308 TTP 7000 Kiosk Printer – Technical Manual...
Figure 10. Tear off 0.5 m from the new paper roll 3. Make sure the printer is turned ON. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 15
Figure 12. Insert the new paper TTP 7000/112 was designed for manual paper loading. A modification of the control board is required for auto loading. Such modification was introduced mid 2003. Auto loading was improved in firmware version 2.37 (see version history).
3. Remove any paper trash by gently pulling the paper up and out of the print module. CAUTION! — Never pull paper backwards through the print mechanism. This may destroy the print module Figure 14. Remove paper trash TTP 7000 Kiosk Printer – Technical Manual 0309...
3. Each successive press of the button will produce a test printout. 4. Switch the printer OFF and ON again to exit self-test mode. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Lines can be added. Graphics can be rotated, color images converted to gray scale, etc. Text text text text text text text text text text Sw98073 Figure 15. Ticket styles TTP 7000 Kiosk Printer – Technical Manual 0308...
1B 05 63 027 005 099 Request device ID ESC ENQ P 1B 05 50 027 005 080 Parameter setting data enquiry ESC f n 1B 66 n 027 102 n Presenter loop ON/OFF/length 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 20
Horizontal tabulation Linefeed Cut and eject paper Table 3. Control codes & escape sequences in alphabetical order NOTE! – In all responses from the printer the most significant byte (MSB) is transmitted first. TTP 7000 Kiosk Printer – Technical Manual 0308...
• Fixed page length settings, shorter than the minimum page length as defined by default parameter settings, will automatically be adjusted to the default value. NOTE! — To enable fixed page length you must also use ESC c 0, see next page 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 22
OFF. Automatic form feed if the printed page length exceeds the length set by ESC C n1 n2. n = 1 ON. Selects continuous print mode (no auto FF). See also “Default parameter settings”. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 23
NOTE! — If the black-mark has not passed the paper-out/black- mark sensor when the ESC Z is received, additional paper feed (maximum 128 mm) takes place until a black-mark is detected. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 24
Lines, too long to be printed in the selected font, are automatically wrapped around. Different fonts can be used on the same line. For font loading, see " System related commands " on page 36 TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 25
= 1 Turns ON a 1 pixel wide underline n = 2 Turns ON a 2 pixel wide underline, etc. up to n=7. Single words, characters, or complete text lines can be underlined. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 26
For instance to print a Ø, send text commands to the printer, and the slash will overprint the O. Only one backspace can be used at a time. Excessive backspaces will be ignored. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 27
5 mm, for example, enter value n = 40 (5 / 0.125 = 40). The command is ignored if “n” is less than the default line spacing of the selected font. The default line spacing is directly related to the size of the selected font. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 28
ESC F 005 010 015 020 025 000 Sets tab stops at 12.5, 25, 37.5, 50, and 62.5 mm. NOTE! — Do not use value n = 0. The values must be sorted from low to high numbers. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 29
ESC BW n1 nx Barcode Write 42 57 nx hex 066 087 nx decimal Writes data to the bar code field reserved by the ESC BS command. Introduced in firmware version 2.31 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 30
Any invalid bar code character terminates the command. 5.2.5 Example: <ESC>BS<h00><h00><h78><h00><h00><h0C><h00><h50><h00><h02><h00>«» <ESC>BW<h00>733104000099<h00>«» <RS>«» Will print one barcode with height = 10 mm and moved 15 mm to the right TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 31
NOTE! — The Y print-position and horizontal/vertical orientation only works if fixed page length is used. Start a page by specifying page length for example <ESC>C<003><032>, then turn off auto page length with <ESC>c<000> 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 33
These bytes must always be inserted but they are ignored in variable- page-length mode where logotypes are always printed at the current Y- position. For logotype loading, see " System related commands " on page 36 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 34
Same function as ENQ but overrides the Retract and Retain parameter (p45) with another presenter behavior. The function of n can be 0 or 100 (se the description of parameter 45). The command will clear the presenter immediately (with printing synchronization). TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 35
If the receipt length exceeds the max loop limit, it is partially ejected before the printer continues. n = 18 Default setting which gives a loop of just above 0.5 m. Can be turned ON/OFF at any time during an operation. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 36
This command is used to load a font to the printer flash PROM. The font is placed in the first free address position in the order of load sequence. A Swecoin font-file consists of a header containing data describing the font as well as data for each individual character in the font.
Page 37
Fonts can be designed with the font editor and loaded or deleted with the software available for free on the Swecoin web site. The font loading and deleting commands described here should only be used if you do not work in the Windows environment.
Page 38
The printer will answer ACK even if paper is present in the presenter unless you send a clear presenter command first, and that command fails. To get an immediate sensor status reply, use ESC ENQ 6 instead and look at bit 3 in the second byte. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 40
Results in a 2-byte response representing the version of the installed firmware. The first byte represents major versions, and the second byte minor versions. EXAMPLE Send→ ESC ENQ 007 Read← <001><020> That is, a response with the value <001><020> indicates version 1.20. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 41
This command requests information about the setting of parameter n, that is, the parameter value stored in flash PROM or any parameter value temporarily set by other ESC commands. Parameter names (n) are listed on page 48. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 42
NOTE! — Acknowledge marker cannot be used for events that write to the flash PROM, for instance font loading. This is because the writing procedure erases the buffer, including the markers, and uses all RAM in the printer. Added in firmware version 2.29b TTP 7000 Kiosk Printer – Technical Manual 0308...
, then reload the fonts you wanted to keep. ESC & C Windows software for font generation and management is available on the Swecoin web site. If you need to load fonts in a non-Windows environment, use the ESC & NUL command.
Page 44
In this example, each row consists of 3 columns equal to 3 bytes. In order to minimize the required storage space, only rows between Ystart and Ystart+Yheight are included in the character bitmap. TTP 7000 Kiosk Printer – Technical Manual 0308...
5.4.1 Loading Windows software that convert black and white BMP bitmap files to logotypes and load them into the printer is available on the Swecoin web site. If you need to load logotypes in a non-Windows environment, use the command.
ESC ENQ 2 paper level. 4. If paper-near-end is indicated, report the condition to the systems supervisor so that he can schedule a service visit to the printer. 5. Print the receipt. TTP 7000 Kiosk Printer – Technical Manual 0308...
19 200 38 400 57 600 115 200 Data bits (n2) Parity (n3) Flow control (n4) 7-bits 8-bits None Even None Xon/Xoff Hardware New setting is not activated until stored in flash PROM. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 48
History pulses enhance print quality, settings without history pulses can be considered as draft-mode settings. v=1 is suitable for UNIX, v=2 for DOS, and v=4 for Macintosh Must be larger than n39. Must be smaller than n40. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 49
Normal eject length is in the range 40-63 mm. Table 9. Default parameter settings. Bold = factory setting. Added to firmware version 2.01 Added to firmware version 2.24 0308 TTP 7000 Kiosk Printer – Technical Manual...
These API calls are only valid in Windows 9x. To accomplish the same result in any NT OS (NT4 and Windows 2000) you need to communicate with a Language Monitor, which is an additional driver layer in the NT driver system. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 51
CloseHandle(hPort); return 0; if(2 != NumberOfBytes) ShowApplError("Didn't read 2 bytes"); CloseHandle(hPort); return 0; CloseHandle(hPort); return 1; API-calls used to communicate with the printer through the Windows printer driver are available from Microsoft. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Since the same sensor is used for both paper end and black-mark detection, the printer must know the length of the black-mark to avoid signaling end-of-paper when it detects a black-mark. The default setting accepts black-marks in the range 3 –16 mm, and works TTP 7000 Kiosk Printer – Technical Manual 0308...
At the end of the document: Send→ Feeds the receipt to the next black-mark + the additional feed ESC Z specified by the command. ESC x Send→ Cuts and ejects the receipt. 0308 TTP 7000 Kiosk Printer – Technical Manual...
You set n40 by setting Minimum Blackmark: to the value you want for scrap filter You set n41, n42 by setting Cut Position: to the length of transport that you want between blackmark and cut. TTP 7000 Kiosk Printer – Technical Manual 0308...
The IEEE-1284 standards define 5 modes of operation: 1. Compatibility Mode. 2. Nibble Mode. 3. Byte Mode (protocol not implemented in TTP 7000). 4. EPP Mode, Enhanced Parallel Port. 5. ECP Mode, Extended Capabilities Port. NOTE! – If you intend to use any other mode than Compatibility Mode, we recommend you to get the documents for the IEEE-1284 standards, and study them thoroughly.
Page 56
This means that only one I/O instruction needs to be performed, thus increasing the speed to 1–2 megabytes per second. When using EPP-mode, a different set of tasks and labels are assigned to each line as listed in the following table. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 57
LOW, and finished when HIGH. Spare User defined 1 - Paper in presenter Spare User defined 3 - Not used by Swecoin _Data Strobe When LOW, indicates data transfer Spare User defined 2 - Not used by Swecoin _Reset Reset –...
Page 58
However if bit 7 is a 1, then the data present on bits 0 to 6 is a channel address. With one bit missing this can only be a value from 0 to 127(DEC). TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 59
Peripherals are not required to implement all of the modes (Nibble Mode, EPP, and ECP Modes are implemented in TTP 7000). Because of this, the host platform needs a method to determine what mode the attached peripheral supports, and to have a controlled method to set the interface to one of the supported modes.
Page 60
This was just an introduction to the use of IEEE-1284 parallel ports. How to select and use the different modes is explained further in the IEEE-1284 standards. TTP 7000 Kiosk Printer – Technical Manual 0308...
Strange characters or graphics • Might be caused by erroneous data sent from the host. printed, or any kind of strange Check validity of transferred data. printer behavior. Table 16. Fault finding TTP 7000 Kiosk Printer – Technical Manual 0308...
7. Remove the printhead. 8.4 Installing the printhead Install the printhead in the reverse order. NOTE! Make sure the spring on the printhead pressure shaft is seated correctly. 0308 TTP 7000 Kiosk Printer – Technical Manual...
4. Unhook the two springs from the print module using a spring hook or a pair of pliers. 5. Remove the two Allen screws from the hinges of the print-module tilt-mechanism and remove the print module. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 65
4. Remove the two screws and the plate holding the presenter module to the front of the printer chassis. 5. Remove the two screws (three screws for TTP 7000/112) holding the presenter module to the bottom of the printer chassis.
2. Parts that are considered as not being worn by normal printer use are not replacement parts, for example the printer chassis. Should you require any of these non-replacement parts, contact Swecoin for advice. Figure 21. Replacement part modules Item Ordering No.
8.7.1 Loading Fetch the firmware from the Swecoin web site http://www.swecoin.se. There you will also find a loader program (Windows™ software) facilitating the loading of the firmware into the printer. The loader program contains a help file with detailed instructions on how to load the firmware into the printer.
Page 68
USB enumeration. A bug that randomly caused the printer to freeze when erasing all fonts has been removed. (Even loading new firmware did not help remove this state). TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 69
Fixed so that paper reverse command (ESC 'j' n) no longer causes USB chip to reset. 2.37 Changed default value for N10 (pulse control), from 0 to 1. Auto-load timeout longer. Auto-load errors will now be reset at head lift. Table 18. Firmware history 0308 TTP 7000 Kiosk Printer – Technical Manual...
Swecoin proprietary Standard fonts TTP Mono 9, Ariel 6p, 10p and 16p, Wingdings, Code 39 Text attributes Bold, underline, reverse print, multiple-width, multiple height. Attributes can be combined on the same text line. TTP 7000 Kiosk Printer – Technical Manual 0308...
Characters 0 to 31 are control codes that cannot be changed, but 32 to 255 can be custom designed. The table below shows the characters stored in flash PROM on the printer control board. Table 19. ISO 8859-1 (ANSI) character table 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 72
Table 20. Symbol character table TTP 7000 Kiosk Printer – Technical Manual 0308...
Automatic "on-line" after successful paper load. Sensors Optical sensors: Out of paper, paper left in presenter, paper near end (optional) and weekend level sensor (optional). Switch sensors: Cutter not in home position and printhead lifted. 0308 TTP 7000 Kiosk Printer – Technical Manual...
21.8 90.0 (122.0) Paper out 160.8 with optional serial adapter 128.5 (160.5) All measurements are in mm 3.1 (4.1 with serial adapter) Measurements in parenthesis are for TTP 7000/112 SW98050 Figure 22. Measurements drawing 9.6 Environmental conditions Temperature Operating: 0 to +50 °C Storage and transportation: –20 to +60 °C...
Approx. 450 m (with 200-mm roll diameter and 65 g/m²) 9.8.2 Thermal coating Thermal coating Outer side Sensitivity Activated at approx. 68 °C saturated at approx. 75 °C. Dynamic sensitivity 1.14 ±0.04 OD MTBF figures does not include paper jam 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 76
Punched holes Punching must be done from the thermally coated side. Distorted print can be expected within a zone of approximately 2-mm around the edges of the hole. The function must be tested. TTP 7000 Kiosk Printer – Technical Manual 0308...
Printer driver package, Windows 9x and NT4/2000/XP* 01628-xxx Retract and retain (Wastebasket) accessory (see figure 25) 01439-080* 01439-112 The retract and retain option must be ordered together with the printer and they are assembled together at delivery. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 78
Figure 23. 75W Power supply unit. M3 (3x) Bottom view 159.0 20.0 Cable 01370-000 235.5 54.0 14.0 19.0 30.0 11.0 SW99013 Figure 24. 150W Power supply unit. NOTE! – Mains cord is not included in the PSU's. TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 79
4. Eject to customer when new receipt is printed, but retract if not collected within a preset time No additional commands are required NOTE! – Use paper rolls with an inner diameter of 40 mm or more when using the "retract and retain" option. 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 80
Paper roll holder for up to 150 mm roll diameter. 01123-080 01123-112 With paper-near-end sensor. SENSOR All measurements are in mm 277.1 306.8 SW98046 Figure 27. Roll holder for paper rolls up to 150-mm TTP 7000 Kiosk Printer – Technical Manual 0308...
Page 81
Paper roll holder for up to 200 mm roll diameter. 01149-080 01149-112 With paper-near-end and weekend sensors. 25.7 341.0 408.5 324.3 M4 (2x) All measurements are in mm SW98048A Figure 28. Roll holder for paper rolls up to 200-mm 0308 TTP 7000 Kiosk Printer – Technical Manual...
Page 82
Roll holder for paper placed under printer. The roll can be fitted on two different levels, one for 150-mm roll, and one for 250-mm roll. This way, minimal space is required under the printer. TTP 7000 Kiosk Printer – Technical Manual 0308...
Need help?
Do you have a question about the TTP 7000 and is the answer not in the manual?
Questions and answers