Home

TTP 101 Kiosk Printer

image

Contents

1. Change First version released to customer Small modification of burn time Bar code type 128 added With earlier FW versions it could happen that the print height became reduced when the printer got extremely hot This was caused by a problem in the stepper motor drive IC The problem was solved with a minor modification of the firmware At power ON the firmware senses whether there is a solder jumper in position SW4 standard and if so presets the burn time parameter value to ESC q 10 The jumper should always be installed when the printhead is supplied with 20 V This is the case in all TTP 101 printers from serial number 8506 since they have a built in 20 V regulator With earlier printer versions the solder jumper SW4 should be installed only if the printer control board is supplied with 20 V If the supply voltage is between 20 V and 24 V the solder jumper SW4 must be removed to prevent printhead damage The burn time value will then be preset to the value ESC q 5 at power ON but can be adjusted by issuing the ESC q command during printing Also see page 11 Presenter motor speed increased to ensure proper paper edge pickup at graphics printout Danish characters included Paper low detection by using ESC ENQ 05H now supported for parallel interface An error in the ESC ENQ 01H function causing only ACK messages to be reported has been fixed Command ESC ENQ 02H added Syntax 1BH 05H 02H
2. 27 BW b1 b2 0 decimal Fills the bar code area reserved by the ESC BS command with bar code data to be printed b1 b2 NUL Specifies the block 0 15 Blocks can be specified in any order but other values than 0 15 are ignored Specifies bar code data bytes Must be placed at the end of the bar code data Any invalid bar code character terminates the command Print out is effected by an ESC P command TTP 101 Kiosk Printer Installation Manual 9708 ESC DC d1 Clear comment block area 1BH DC d1 27 DC d1 decimal Clears the comment block area reserved by the ESC DS command d1 Specifies the comment block 0 15 to be cleared Comment blocks can be specified in any sequence but other values than 0 15 are ignored Of command codes specified before this command only ESC T n reverse printing remains in effect after execution of ESC DC d1 ESC DS d1 d2 d7 Reserve comment block area 9708 1BH DS d1 d2 27 DS d1 d2 decimal Reserves a comment block area within a document length defined by the ESC A command The command also specifies the type orientation and number of comment columns to be placed in the comment block area d1 Specifies comment block number 0 15 Comment blocks can be specified in any sequence but other values than 0 15 are ignored d2d3 Specifies the X coordinate of the comment block position d2 is the higher and d3 the low order byte Paramet
3. 27 5 2 decimal This command requests a paper near end sensor paper low status from the printer in a 1 byte format as follows Value 00H indicates No paper Value 01H indicates Paper present at the sensor position Self test printout now indicates when jumper SW4 is installed TTP 101 Kiosk Printer Installation Manual 37 12 38 INSTALLATION CONSIDERATIONS The TTP 101 printer is designed to be installed in some kind of enclosure such as a self service kiosk Preventing ESD and earth currents from affecting the printer operation requires proper connection of the printer chassis to protective earth through a mounting platform or through a separate earth conductor Trouble free printer operation also requires that the printer is shielded from excessive ambient light Such light might disturb the printer operation by cheating a couple of built in opto sensors Additional space is required for paper replenishment and paper jam removal Consider mounting the printer on a movable platform so that the printer can be maintained outside the printer enclosure TTP 101 Kiosk Printer Installation Manual 9708 9708 User Registration Form 32 1201 00 Ed B After you have returned this registration form to us we will keep you informed of product changes manual updates etc through our bulletin service Do not return this form if you already have registered a previous edition of this manual You may a
4. 0 n1 and n2 must be 1 byte hexadecimal or decimal numbers The printer is placed in continuous print mode when turned ON or reset ESC ENQ 1 Status inquiry 1BH 05H 01H 27 5 1 decimal Status inquiry Results in response ACK if all sensors are clear NAK code if one or more sensors report fault condition See Chapter 6 Compare with ENQ command which also clears the presenter module ESC ENQ 2 Status enquiry paper near end with serial interface 1BH 05H 02H 27 5 2 decimal This command requests a paper near end sensor paper low status from the printer in a 1 byte format Value OOH indicates No paper Value 01H indicates Paper present at the sensor position 9708 TTP 101 Kiosk Printer Installation Manual ESC ENQ 5 Status enquiry paper near end with parallel interface 1BH 05H 05H 27 5 5 decimal This command requests a paper near end sensor paper low status from the printer in a 1 byte format as follows Value 00H indicates No paper Value 01H indicates Paper present at the sensor position ESC FE Am Eject only 1BH OCH n 27 12 n decimal Usually follows an ESC RS command ESC FF n effects ejection of a previously cut off document out of the presenter module Parameter n represents the number of eject steps maximum 255 each one of approximately 2 mm length The primary use of this command is to determine if
5. NOTE Both hardware and software handshaking are active at all times and therefore allow the use of either of them depending on the configuration of the communication cable between the printer and the host Parallel interface Operating the printer through the parallel interface of the SWC 642 control board can be done through the single in line connector J16 but is facilitated by the use of a parallel interface adapter with a 36 pole Amphenol connector see Figure 3 The adapter part number 75 0775 000 is to be mounted on to connector J16 The adapter is included if the printer order specifies the version adapted for parallel interface The following table shows the pin assignment of J16 and the corresponding poles in the 36 pin Amphenol connector Signal names starting with a are active LOW signals The signal timing emulates the Centronics type parallel printer interface The table continues on the next page en enee Sarat prooien oeron ee e oe oe oe e poe 3 JL fe Ise shouanotbeusea L I Le ee tee 33 35 a 1 STROE To printer To printer Strobe signal Strobe signal Ce e o fiee Jeer e f e Je ome ee oo e e bme pem nv f e Je me em pe e Je eme em pe efor e e TTP 101 Kiosk Printer Installation Manual 31 7 2 5 32 From printer Busy signal 13 32 ERROR From printer Error signal Power supply interface Power to the printer is to be supplied th
6. a document is to be fully or partially ejected partly retained in the presenter module or to partially eject a long document during ongoing processing also without a preceding cut command ESC f n Presenter motor drive selection 1BH 66H n 27 102 n decimal n 0 Default value Presenter motor just catches the leading paper edge If the printing continues the paper will form an increasing loop until printing is completed n 1 The leading paper edge is ignored by the presenter sensor and the paper is fed straight through the presenter module This function can be turned on off at any time during an ongoing operation ESC a Jan Paper advance 1BH 4AH n 27 74 n decimal The value n represents the number of dot lines at 0 25 mm at which the paper is to be transported forwards Maximum value for n 255 equal to approximately 32 mm 10 TTP 101 Kiosk Printer Installation Manual 9708 Line feeds before cut 1BH 6CH n 27 108 n decimal Sets the number of line feeds to be executed before a cut off Valid only in combination with the RS command ESC p nnnn Logotype print 1BH 70H nnnn 27 112 nnnn decimal Effects print of customized logotype stored in EPROM nnnn Represents a four digit number assigned to customized logotype Burn time adjustment 1BH 71H n 27 113 n decimal Parameter n specifies the burn time for the thermal head resistors This command adjusts the burn time
7. exceed the effective length specified in the ESC A command Specifies the number of bar code digits Specifies the height of the bars Parameters b7 and b8 must be 1 byte hexadecimal or decimal numbers The value specified by b7 and b8 must not exceed the effective length specified in the ESC A command Specifies the type of bar code The following bar code types are supported b9 0 EAN 13 and UPC A no sub titles insufficient space in nominal size b9 1 EAN 8 b9 6 Code 39 b9 8 Code 128 b9 9 EAN 128 Note For EAN codes the printer calculates the necessary check digit For Code 39 the start and stop character is generated by the printer For UPC A use b9 value 0 and insert a prefix 0 before the 11 digit data string TTP 101 Kiosk Printer Installation Manual 15 b10 b11 Specifies the thickness of the narrow bar 0 1 dot 3 not applicable 6 7 dots 1 2 dots 4 5 dots 7 8 dots 2 3 dots 5 6 dots All other values are invalid For EAN bar codes only values 0 and 1 apply Specifies the ratio of wide bar to narrow bar b11 value Narrow bar Wide bar 0 1 1 5 1 1 2 2 1 2 5 may be difficult to read 3 1 3 4 1 3 5 The lower three bits of the b11 byte are significant some ratio values may not be processed properly The above values serve only as guidance values For EAN bar code a fixed ratio applies ESC BW b1 b2 NUL State bar code data 1BH BW b1 b2 4 00H
8. to obtain the optimal print contrast with the paper quality in use Each step n represents a pulse width adjustment of approximately 25 us n 5or10 Default value see Note below n 1 15 Adjustment range Adjustment should be done in small steps NOTE At power ON the firmware senses whether there is a solder jumper in position SW4 standard and if so presets the burn time parameter value to ESC q 10 The jumper should always be installed when the printhead is supplied with 20 V This is the case in all TTP 101 printers from serial number 8506 since they have a built in 20 V regulator With earlier printer versions the solder jumper SW4 should be installed only if the printer control board is supplied with 20 V If the supply voltage is between 20 V and 24 V the solder jumper SW4 must be removed to prevent printhead damage The burn time value will then be preset to the value ESC q 5 at power ON but can be adjusted with the ESC q command during printing TTP 101 Kiosk Printer Installation Manual 11 SC R n Select national character set 1BH 52H n 27 82 n decimal Selects one of eight national character sets specified by n Legitimate n values are listed below Invalid values are ignored Value 1 USA is set at power ON n 1 USA n 2 Germany n 3 Great Britain n 4 France n 5 Spain n 6 Italy n 7 Sweden n 8 Denmark ESC RS Cut paper 1BH 1EH 27 30 decimal Effects paper cut off only
9. Eject can be effected with the ESC FF n command see page 10 ESC S n1 n2 Select graphics mode 1BH 53H n1 n2 27 83 n1 n2 decimal Sets Bit Image Graphics Mode ni and n High and low order byte Determine the number of dot lines Both n1 and n2 must be 1 byte hexadecimal or decimal numbers The printer is put in character mode if n1 n2 0 Of commands issued before the ESC S only Reversed Printing ESC T n remains valid after execution of the ESC S command In bit image graphics mode all ASCII character codes are interpreted and processed as bit image data Data overflowing the specified print area are printed as ASCII characters If less data than specified is received the printer may enter a wait state expecting further data The printer may handle subsequent character code or non bit image data as bit image data The host computer must therefore supply 24 x n1n2 data bytes that is 24 bytes per line times the number of dot lines to be printed TTP 101 Kiosk Printer Installation Manual 9708 ESC SI Reset double height mode 1BH 0FH 27 15 decimal Resets the printer from double height mode to normal height mode double height mode was set with the ESC SO command Valid only in double height mode ESC SO Set double height mode 1BH 0EH 27 14 decimal Places the printer in double height mode printing double height characters A print line cannot contain both normal height and dou
10. TTP 101 Kiosk Printer Installation Manual SWEOIN Related manuals e TTP 101 Technical Specification 38 1231 00 old No SWC 872 e TTP Operating Instructions 38 1211 00 old No SWC 811 TTP 101 Service Manual 38 1221 00 old No SWC 811 Acknowledgments Adobe and Acrobat are trademarks of Adobe Systems Incorporated This is a publication of SWECOIN AB Box 132 S 191 22 Sollentuna Sweden Phone int 46 8 444 53 40 nat 08 444 53 40 Fax int 46 8 96 50 54 nat 089650 54 e mail tech support swecoin se sales swecoin se WWW http www swecoin swecoin se SWECOIN AB 1996 All rights reserved Reproduction in whole or in parts is prohibited without written consent of the copyright owner We have taken great care to ensure that the information in this manual is correct and complete However if you discover any errors or omissions or if you wish to make suggestions for improvements you are welcome to send your comments to us SWECOIN AB disclaims any liability resulting from the use of this information and reserves the right to make changes without notice Second edition August 1997 Printed in Sweden 2 TTP 101 Kiosk Printer Installation Manual 9708 CONTENTS 9708 TS INTRODUG TION eege eet 3 Tal About this manual eieaa get reueg Leder Nanette dayne 3 1 2 UPC ating DEE 3 2 PRODUCT PRESENTATION eseu 4 3 SUMMARY OF CONTROL CODES amp ESCAPE SEQUENCES 0cccseccssseessseeeeseeeeesee
11. alue specified by g4g5 must not exceed the effective length specified in the ESC A command g6 Specifies the number of bytes maximum 24 in the X direction g7g8 Specifies the number of lines in the Y direction Parameter g7 is the high order and g8 the low order byte Parameter g7g8 must be 1 byte hexadecimal or decimal numbers The value specified by g7g8 must not exceed the effective length specified by ESC A ESC GW g1 g2 gn State graphics data 9708 1BH GW g1 g2 gn 27 GW g1 g2 gn decimal Fills the graphics block area reserved by the ESC GS command with graphics data g1 Specifies graphics block number 0 15 in any order Other g1 values than 0 15 are ignored g2 Graphics data Number of data bytes g2 gn number of bytes in X direction multiplied by number of lines in Y direction All ASCII characters and control codes are invalid The printer will process any code as bit image data Any data overflowing the graphics block specified with command ESC GS is ignored If less data than specified is received the printer may either enter a wait state waiting for further data or it may handle subsequent character codes or non bit image data as bit image data The host computer must supply as much data as specified by ESC GS Of command codes specified before this command only ESC T n reverse printing remains in effect after execution of the ESC GW command Print out is effected by an ESC P
12. are printed The printer cuts the paper and feeds it out Exit from the HEX dump mode by switching the printer OFF Switch the power ON again to resume normal on line operation TTP 101 Kiosk Printer Installation Manual 9708 H BASIC CHARACTER SET The table below shows the basic characters stored in PROM on the printer control board The characters in the shaded positions can be substituted with characters from one of several national character sets See page 36 eames TE a E Hex 2nd Dec value Gs horiz vert tt SEIT REEERE ER REEE 9708 TTP 101 Kiosk Printer Installation Manual 35 10 36 NATIONAL CHARACTER SETS This table lists national substitute characters stored in PROM on the printer control board The position numbers refer to the shaded cells in the table showing the basic character sets See page 35 The applicable character set is selected with the ESC R n command a EEN Character set E EE w cy TTP 101 Kiosk Printer Installation Manual 9708 11 FIRMWARE HISTORY Functions and features are being added from time to time affecting the firmware in the TTP 101 The following table lists the changes of general interest Notice that the list may not contain the latest firmware versions Please visit our web site http www swecoin se for current information You can also download the latest firmware version from the Swecoin web site FW version 1 18 1 20 9708
13. as a PC The first chapter summarizes the applicable control codes and escape sequences supported by the printer processor firmware The summary is followed by chapters describing the command syntax Other chapters of the manual contain information about the printer error codes communications parameters test print functions specifications of the serial and parallel printer interfaces etc This edition of the manual is valid for TTP 101 printers with serial number starting from 8506 Updating 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 Awww swecoin se Printed copies of the current manual edition can be ordered by e mail fax or phone Registered manual owners will be kept informed about new editions product changes etc through our fax or e mail bulletin service To register as a manual owner either fill in the form at the end of the manual or fill in the requested information when you visit the Technical Support section on our web site to download a manual If you require functions not found in the manual edition at your disposal you are welcome to consult one of our offices for information TTP 101 Kiosk Printer Installation Manual 3 2 PRODUCT PRESENTATION Print module Paper release lever Connector board Cutter module Presenter module Light shield optional Connection to pap
14. ble height characters but double height can be combined with double width for quadruple characters ESC T n Set reversed printing 1BH 54H n 27 84 n decimal Selects normal or reversed print mode n 0 Gives normal print black on white background n 1 Gives reversed print white on black background 9708 TTP 101 Kiosk Printer Installation Manual 13 LABEL AND OTHER TOP OF FORM ORIENTED PRINT This section discusses software commands used to print documents using functions such as label printing bar code printing enlarged character printing comment block landscape printing graphics ruler line and related functions ESC A n1 4 n2 n3 Set document label length 1BH 41H n1 n2 n3 27 65 n1 n2 n3 decimal Determines the length of the document label to be printed The printer control board has approximately 6 K bytes of page memory available for data storage With this page memory the maximum available field length Imax is 250 dot lines equal to approximately 62 mm paper length ni Specifies block No 0 15 The total available document length can be divided into a total of 16 blocks The blocks must be defined sequentially starting at No 0 Any n1 value other than 0 15 is ignored n2n3 Specifies effective document label length n2 high order n3 low order n2 and n3 are 1 byte hexadecimal or decimal numbers The value specified by n2 and n3 must not exceed the maximum effective length spec
15. command TTP 101 Kiosk Printer Installation Manual 19 ESC LC 11 Clear ruler line area 1BH LC I1 27 LC l1 decimal Clears ruler line area l1 Specifies ruler line No 1 15 in any order Values other than 0 15 are ignored Of command codes specified before this command only ESC T n remains valid after execution of this command ESC LS 11 12 110 Set ruler line data 1BH LS 11412 4110 27 LS 11 12 110 decimal Draws a horizontal or vertical ruler line in the block area defined by the ESC A command The command also defines the thickness of the ruler line N Specifies the ruler line number 0 15 in any order Values other than 0 15 are ignored 1213 Specifies the X coordinate of the ruler line starting point 12 is the high order and D the low order byte D and I3 must be 1 byte hexadecimal or decimal numbers The value specified by 12 and I3 must not exceed the total dot count that can be handled by the printer 1415 Specifies the Y coordinate of ruler line starting point 14 is the high order and I5 the low order byte 14 and I5 must be 1 byte hexadecimal or decimal numbers and the value specified by 1415 must not exceed the effective length specified in the ESC A command 16I7 Specifies the X coordinate of the end of the ruler line I6 is the high order and I7 the low order byte I6 and I7 must be 1 byte hexadecimal or decimal numbers and the value specified by I6 7 must not exceed t
16. curs while the printer is feeding the paper as specified by n1n2 in this command The paper feed length specified by n1n2 must be greater than or equal to the width of the TOF marker The printer will return error code NAK 03 if the paper feed length is less than the width of the TOF marker in paper transport direction TTP 101 Kiosk Printer Installation Manual 9708 9708 ERROR CODES The printer is equipped with a number of sensors that report the printer status and various error conditions such as out of paper previous printout not removed etc In serial interface applications the software commands ENQ and ESC ENQ 1 can be used to obtain status codes from the printer Sending an ENQ 05H Clear Presenter and Report Status to the printer results in the printer sending a status report to the host computer This status report reflects the status of the available sensors in the printer and identifies possible error conditions The table below shows the status report obtained as a response to the ESQ command Status error code Meaning ACK OK printer is operable NAK 01 Paper left in presenter module Attempt to clear the paper path failed NAK 02 Cutter not in home position NAK 03 Printer out of paper NAK 04 Print head lifted A status inquiry command can only return one status code at a time If there are two or more simultaneous errors each error condition should be cleared and the status inquiry repeated in o
17. double height print Reversed print on off TTP 101 Kiosk Printer Installation Manual Page 10 10 10 11 21 11 11 3 2 Command ESC A nin2n3 ESC BC b1 ESC BS b1 b114 ESC BW b1 NUL ESC DC d1 ESC DS d1 d7 ESC DW d1 NUL ESCE ESC GC g1 ESC GS g1 g8 ESC GW oi on ESC LC l1 ESC LS 11 110 ESC bn ESC X n1 n2 ESC Y n1 n2 Hex 1B 41 nin2n3 1B 42 43 b11 1B 42 53 b1 b11 1B 42 57 b1 00 1B 44 43 d1 1B 44 53 d1 d7 1B 44 57 d1 00 1B 45 1B 47 43 g1 1B 47 53 g1 g8 1B 47 57 g1 gn 1B 4C 43 11 1B 4C 4311 10 1B 50 n1 1B 58 n1 n2 1B 59 n1 n2 Decimal 27 65 nin2n3 27 66 67 bi 27 66 83 b1 b11 27 66 87 b1 0 27 68 67 d1 27 68 83 d1 d7 27 68 87 d1 0 27 69 27 71 67 g1 27 71 83 g1 g8 27 71 87 g1 gn 27 76 67 l1 27 76 83 11 110 27 80 n1 27 88 n1 n2 27 89 n1 n2 Label and other top of form oriented commands Function Set document length Clear bar code area Reset bar code block State bar code data Clear comment area Reserve comment block Comment block data Clear all label areas Clear graphics area Reserve graphics area Graphics data Clear ruler line area Ruler line data Print document label Sense top of form position Set start position TTP 101 Kiosk Printer Installation Manual Page 14 14 15 16 17 17 18 18 18 19 20 20 21 22 22 9708 A LF CR FF 9708 SOFTWARE COMMAND SYNTAX Charact
18. e 12 dot lines at 0 25 mm Print document label 9708 1BH 50H n1 27 80 n1 decimal Prints a document label ni Specifies document number 0 15 of the document label to be printed ni value lt 7FH gt or decimal lt 127 gt specifies that all document label areas are to be printed approximately 50 Kbytes of page memory Any n1 value other than those indicated here are ignored TTP 101 Kiosk Printer Installation Manual 21 ESC X n1 4 n2 Sense top of form position 1BH 58H n1 n2 27 88 n1 n2 decimal Reports if a TOF Top Of Form marker is sensed within the area specified by n1n2 starting at the current position nin2 Specifies the area to be searched for TOF marker n1 is the high order and n2 the low order byte Parameter n1n2 must be 1 byte hexadecimal or decimal numbers ESC Y n1 n2 Set document label starting position 1BH 59H n1 n2 27 89 n1 n2 decimal Defines the number of dot lines between the top of form position and the position at which the printing is to start The printer advances the paper by the number of dot lines specified in this command before printing starts nin2 Specifies the number of dot lines by which the paper is to be transported forwards before printing starts n1 is the high order and n2 the low order byte ni and n2 must be 1 byte hexadecimal or decimal numbers The printer returns error code NAK 03 see Chapter 6 if a paper out condition oc
19. el areas 1BH 45H 27 69 decimal Clears all label areas Of command codes specified before this command only ESC T n reverse printing remains in effect after execution of ESC E ESC GC g1 Clear graphics area 1BH GC g1 27 GC g1 decimal Clears graphics block area reserved by the ESC GS command g1 Specifies graphics block 0 15 in any sequence Values other than 0 15 are ignored Of command codes specified before this command only ESC T reverse printing remains in effect after execution of ESC GC TTP 101 Kiosk Printer Installation Manual 9708 ESC GS g1 g2 g8 Reserve graphics block area 1BH GS 91 g2 498 27 GS 91 92 g8 decimal Reserves a block area defined in an ESC A command as a graphics block area The command also defines the size of the graphics block g1 Specifies graphics block number 0 15 Graphics blocks may be specified in any order but values other than 0 15 are ignored g2g93 Specifies X coordinate of the graphics block position Parameter g2 is the high order and g3 the low order byte Parameters g2 and g3 must be 1 byte hexadecimal or decimal numbers and the value specified must not exceed 192 dots the total dot count that can be handled by the printer mechanism g4g5 Specifies the Y coordinate of the graphics block position Parameter g4 is the high order and g5 the low order byte and they must be 1 byte hexadecimal or decimal numbers The v
20. er feed switch optional SW96006C R1 Figure 1 Printer exterior TTP 101 Kiosk Printer Installation Manual 9708 3 1 Command LF CR FF RS Sl SO ENQ CAN ESC ESC C ni n2 ESC ENQ 1 ESC ENQ 2 ESC ENQ 5 ESC FF n ESC fn ESC Jn ESC In ESC M n1 n2 ESC p nnnn ESC qn ESC Rn ESC RS ESC S n1 n2 ESC SI ESC SO ESC Tn 9708 SUMMARY OF CONTROL CODES amp ESCAPE SEQUENCES Character and bit image graphics commands Hex OA oD OC 1E OF OE 05 18 1B 40 1B 43 ni n2 1B 05 01 1B 05 02 1B 05 05 1B0Cn 1B66n 1B 4An 1B6Cn 1B 4Dn1 n2 1B 70 nnnn 1B71n 1B52n 1B1E 1B 53 n1 n2 1B OF 1B 0E 1B 54 n Decimal 10 13 12 30 15 14 5 24 27 64 27 67 n1 n2 2751 2752 2755 2712n 27 102 n 2774n 27 108 n 27 77 n1 n2 27 112 nnnn 27 113n 27 82n 27 30 27 83 n1 n2 27 15 27 14 27 84 n Function Line feed Carriage return Form feed Cut and eject paper Reset from double width print mode Set double width print mode Clear presenter Clear input buffer Reset initialize Set page length Status inquiry Status enquiry paper near end serial Status enquiry paper near end parallel Eject only after cut Presenter motor drive Paper advance Line feeds before cut Top of form detection Custom logotype print Burn time adjustment Select national character set Cut only no eject Select graphics mode Reset from double height Set
21. er and bit image graphics commands Line feed 0AH 10 decimal Prints the data in the input buffer in the current character mode and advances the paper according the selected character height normal or double height set with commands ESC SI and ESC SO page 13 The command is ignored if immediately preceded by a CR Carriage return ODH 13 decimal Prints the data in the input buffer in the current character mode and advances the paper according the selected character height normal or double height set with commands ESC SI and ESC SO page 13 If the input buffer contains only line space data line feed is effected If the buffer contains no data the printer does not react to this command Form feed OCH 12 decimal Prints the data from the input buffer and feeds the paper to the top of the next page as specified with command ESC C n1 n2 see page 9 The TTP 101 is placed in continuous print mode when turned ON or reset command ESC see page 9 This also sets page length 0 print lines 0 and skip lines 0 TTP 101 Kiosk Printer Installation Manual 7 ENQ CAN Record separate 1EH 30 decimal Cuts the paper and feeds it until the presenter feed rolls pick up the paper edge For other eject lengths use command combination ESC RS page 12 and ESC FF page 10 OFH 15 decimal Resets from double width mode set by command SO to normal width mode Valid in double width m
22. ers d2 and d3 must be 1 byte hexadecimal or decimal numbers The value specified by d2d3 must not exceed the total dot count 24 bytes that the printer mechanism can handle d4d5 Specifies the Y coordinate of the comment block position d4 is the higher and d5 the low order byte and must be expressed in 1 byte hexadecimal or decimal numbers The value specified in d4d5 must not exceed the effective length specified in the ESC A command d6 Specifies the number of comment columns d7 Specifies the size of the comment characters d7 Character size 0 24 x 16 dot matrix 1 24 x 32 dot matrix 2 48 x 16 dot matrix 3 48 x 32 dot matrix Only one type of character can appear in one comment block and only in portrait orientation TTP 101 Kiosk Printer Installation Manual 17 ESC DW d1 d2 4NUL State comment block data 1BH DW d1 d2 4 00H 27 DW d1 d2 0 decimal Fills the comment block area reserved by the ESC DS command with comment data d1 Specifies the comment block number 0 15 that can be specified in any sequence Values other than 0 15 are ignored d2 Specifies one or more comment data bytes NUL Must be placed at the end of the comment data Any invalid command character terminates the ESC DW command Of commands specified before ESC DW only ESC T n reverse printing remains in effect after execution of the ESC DW command Print out is effected by an ESC P command ESC E Clear all lab
23. es are available from Swecoin Promakon AB TTP 101 Kiosk Printer Installation Manual 9708 K 9708 Control board SWC 642 The figure below shows the connectors on the SWC 642 control board a previous design If the printer is connected through a flat cable to J13 the other connectors except J12 and possibly J10 should not be used J1 J2 J4 J6 J7 J8 J9 Print head thermistor J11 Print head lifted sensor Power supply J12 Paper feed switch normally open 2 54 mm grid Print module motor J13 Printer through 50 pole flat cable replaces all connectors Cutter motor except J12 and possibly J10 Presenter motor J14 Print head Paper end sensor J15 Serial interface TTL level Presenter sensor J16 Parallel interface pin ramp J10 Paper low sensor optional CG t SWC 642 Rev D OI 139 941118 S TP R3 RI Jt LJ R36 Zeg C SW96003 R1 Figure 7 Control board SWC 642 TTP 101 Kiosk Printer Installation Manual 29 7 2 1 7 2 2 30 Paper feed switch A paper feed switch normally open should be connected to connector J12 2 54 mm grid on the SWC 642 control board Serial interface The SWC 642 control board has a 5 pole serial interface connector J15 with TTL level signals An RS232 V 24 serial interface adapter with a standard male 9 pin D sub connector see Figure 3 is ava
24. h the power ON and keep the paper feed button depressed for at least 5 seconds This produces a printout showing the firmware program PROM version number of dots in the printhead burn time maximum characters per line and repeatedly all characters in the character generator 4 Release the paper feed button to stop the printing The printer cuts and ejects the document but remains in the self test mode Renewed actuation of the paper feed button produces a demo test print out followed by cut and eject 5 Exit the self test mode by switching the power OFF Note The printer is off line and cannot receive any data while in the self test mode TTP 101 Kiosk Printer Installation Manual 33 8 2 34 HEX dump on line printout This function makes it possible to analyze the data received by the printer which should be very valuable during the design of the application software Use the following procedure to change the printer mode a oe o FR oO LW Verify that the power is switched OFF Lift the print head release lever to upright position Depress the paper feed button and keep it depressed Power ON the printer Release the paper feed button Lower the print head release lever The printer is now in a HEX dump mode and all on line communication will be printed in both HEX format and ASCII character format on each line Depress the paper feed button temporarily This ensures that the last transmitted characters
25. he total dot count that can be handled by the printer mechanism E Specifies the Y coordinate of the end of the ruler line l8 is the high order and I9 the low order byte 18 and 19 must be 1 byte hexadecimal or decimal numbers The value specified by I8I9 must not exceed the effective length specified in the ESC A command 110 Specifies the thickness of the ruler line 0 1dot 3 4dots 6 7 dots 1 2dots 4 5dois 7 8dots 2 3dots 5 6 dots TTP 101 Kiosk Printer Installation Manual 9708 ESC M n1 n2 The lower 3 bits of the 110 byte are significant DI must be smaller than I6I7 1415 must be smaller than 1819 Any invalid parameter combination is ignored The printer cannot draw slanted lines Of commands specified before the ESC LS command only ESC T reversed printing remains in effect after execution of ESC LS Print out is effected by an ESC P command Top of form detection ESC P n1 1BH 4DH n1 n2 27 77 n1 n2 decimal Identifies maximum n1 and minimum n2 length respectively of the TOF Top of Form mark printed on the reverse side of the paper The length is expressed in dot lines at 0 25 mm The TOF mark is used for identification of the top of form for the next document Active transition is from black to white n1 maximum valid value is 160 dot lines 20 mm ni minimum valid value is 15 dot lines 1 8 mm n1 Default value 30 dot lines at 0 25 mm n2 Default valu
26. ified above This command may be omitted if the block to be printed is positioned in block No 0 only ESC BC b1 Clear bar code area 1BH BC b1 27 BC b1 decimal This command clears the bar code block area reserved by the command ESC BS b1 Specifies the bar code block No 0 15 The blocks may be specified in any order but b1 values other than 0 15 are ignored TTP 101 Kiosk Printer Installation Manual 9708 ESC BS b1 b2 b11 Reserve bar code block area 1BH BS b1 b2 4b11 27 BS b1 b2 b11 decimal Reserves a document block identified by the ESC A command as a bar code area The command also identifies the type number of digits and the configuration of bars to be placed in the bar code area b1 b2b3 b4b5 b6 b7b8 b9 9708 Specifies the bar code block No 0 15 The blocks may be specified in any order Any value other than 0 15 is ignored Specifies the X coordinate of the bar code block position Parameter b2 is the higher order and b3 the lower order byte Parameters b2 and b3 must be 1 byte hexadecimal or decimal numbers The value specified by b2b3 must not exceed the total dot count 24 bytes that can be handled by the printer mechanism Specifies the Y coordinate of the bar code block position Parameter b4 is the higher order and b5 the lower order byte Parameters b4 and b5 must be 1 byte hexadecimal or decimal numbers The value specified by b4b5 must not
27. ilable part number 75 4008 00 The adapter is included if the printer version adapted for the RS 232 serial interface is ordered The following table shows the pin assignment of J15 and the 9 pin D sub connector Conn J15 9 pin D sub Signal name Direction Description 1 5V Power to interface adapter 2 3 TXD From printer Transmit data 3 2 RXD To printer Receive data 4 4 DTR From printer Data terminal ready 5 5 GND Ground 7 RTS From printer Request to send The printer indicates that it is powered ON by setting DTR high When initialized RTS will be set high to indicate to the host computer that the printer is ready to receive data RTS will be set low when the receive buffer is almost full thereby telling the computer to stop sending data until RTS is pulled high again The following table shows alternative ways of designing an interface cable to be connected between a PC and J15 on the printer control board or between a PC and the serial adapter D sub connector Printer J15 or serial PC adapter D sub conn Circuit Circuit 25 p D sub 9 p D sub RXD TXD 2 3 TXD RXD 3 2 RTS CTS 5 8 DTR DSR 6 6 GND GND 7 5 TTP 101 Kiosk Printer Installation Manual 9708 7 2 4 9708 The serial interface communication protocol and handshaking parameters are as follows Data transfer rate 9600 baud fixed Data format 8 data bits 1 start bit 1 stop bit no parity fixed Hardware handshaking RTS CTS Software handshaking XON XOFF
28. ll times This allows the use of either of them depending on the configuration of the communication cable between printer and host TTP 101 Kiosk Printer Installation Manual 9708 9708 Parallel interface The following table shows the pin assignment in the 36 pin Amphenol connector J1 on the SWC 842 control board Signal names starting with a are active LOW signals The signal timing emulates the Centronics type parallel printer interface a see oan aon To printer Data bit 0 To printer Data bit 2 To printer Data bit 4 To printer Data bit 6 To printer Data bit 7 we ronson On fes ronne asson aje O Pes eo Power supply interface Power to the printer is to be supplied through SWC 842 control board connector J2 Connector type MOLEX KK 2 54 mm grid Pin Function Pin Function 1 5 VDC 4 24 VDC 2 GND 5 GND 3 24 VDC 6 GND TTP 101 Kiosk Printer Installation Manual 27 28 Voltage Print mode Current 24 VDC Standard text encoding printing 2A average 24 VDC All black printing 6A 85 duty cycle 5 VDC 300 mA A CAUTION The order in which the 5 VDC and 24 VDC are established on the printer control board is essential The 5 VDC must be established before the 24 VDC drive voltage is brought to the board and vice versa at power off Otherwise there is a risk of damaging both the printer control board and the thermal print head Power supply units for evaluation purpos
29. lso use this form to inform us about changed registration data name address phone No etc but please tick the Changed information box in that case m New registration LJ Changed information Name Organization Postal address street box area etc Zip Postal code City State Country Telephone Fax E mail Please return by mail to Swecoin Promakon AB Box 132 S 191 22 SOLLENTUNA Sweden or by fax to Int 46 8 96 50 54 Nat 08 96 50 54 TTP 101 Kiosk Printer Installation Manual 39 40 This page intentionally left blank TTP 101 Kiosk Printer Installation Manual 9708
30. ode only OEH 14 decimal Sets double width mode The characters are printed in double width Normal width and double width characters can be combined on the same print line Double width mode can be combined with double height mode for printing of quadruple characters Clear presenter and report status 05H 5 decimal Used to clear the paper path in the presenter for example to eject a document not removed during the previous print cut eject operation Status code ACK is returned as a result of a successful clearing Error code NAK 01 means that the clearing failed Also see Chapter 6 Cancel 18H 24 decimal Cancels any data previously stored in the input buffer Commands issued on the same line as the CAN command are not canceled TTP 101 Kiosk Printer Installation Manual 9708 ESC Reset 1BH 40H 27 64 decimal Terminates the processing and initializes the control board The control board is reset to default values same as at power ON Do not use this command as part of print data command strings ESC C n1 n2 Set page length 1BH 43H n1 n2 27 67 n1 n2 decimal Sets the page length valid in character mode A page consists of a printable area followed by a skip area at the bottom of the page The printable area equals the page length n1 minus the skip area n2 The command is ignored if n1 is smaller than n2 or equal to n2 The printer is put into continuous print mode if n1
31. r J13 Paper low near end sensor Paper feed switch Sieste Figure 4 SWC 842 control board connectors NOTE Paper feed switch paper low sensor are not included with the printer 7 1 1 Paper feed switch connector A paper feed switch normally open should be connected to J10 2 54 mm grid on the SWC 842 control board Paper feed switch normally open SW FEED l SW97082 R3 Figure 5 Paper feed switch interface 9708 TTP 101 Kiosk Printer Installation Manual 25 26 Paper low switch connector A paper low sensor can be connected to J16 Paper low sensor PL SENSE Sharp GP2S05 SW97081 R3 Figure 6 Paper low sensor interface Serial interface The following table shows the pin assignment of the 9 pin D sub connector J3 Signal Description name Ps we een ii The printer indicates that it is powered ON by setting DTR high When initialized RTS will be set high to indicate to the host that the printer is ready to receive data RTS will be set low when the receive buffer is almost full thereby telling the host to stop sending data until RTS is pulled high again The serial interface communication protocol and handshaking parameters are as follows Data format 8 data bits 1 start bit 1 stop bit no parity fixed Transmission speed 9600 baud fixed Handshaking Hardware RTS CTS and software XON XOFF NOTE Hardware and software handshaking are both active at a
32. rder to get a complete report of all status codes The host computer cannot be certain that all error conditions have been cleared until an ACK is received The possible error conditions are reported in the above order NOTE NAK error code will always be generated automatically when someone raises the paper release lever printhead lifted and when the printer runs out of paper paper end TTP 101 Kiosk Printer Installation Manual 23 24 PRINTER INTERFACES For optimum mounting flexibility the printer control board is designed as a separate module The control board can be placed at a distance of up to approximately 0 35 m from the printer and connects to the printer by means of a flat cable part number 90 0774 000 Paper feed switch connector Paper low near end sensor connector board SWC 842 Power connector Serial interface Parallel interface RS 232 Centronics type Figure 2 Printer interfaces control board SWC 842 Printer control board SWC 642 gt Paper feed switch connector Power connector Parallel interface a g Serial interface adapter 75 0775 000 adapter 75 4008 00 Figure 3 Printer interfaces control board SWC 642 previous design TTP 101 Kiosk Printer Installation Manual SW96062A SW96062 R1 9708 7 1 Control board SWC 842 The following figure shows the SWC 842 control board connectors Parallel interface Serial interface Host compute
33. rough SWC 642 control board connector J2 Connector type MOLEX KK 2 54 mm grid Pin Function Pin Function 1 5 VDC 4 24 VDC 2 GND 5 GND 3 24 VDC 6 GND Voltage Print mode Current 24 VDC Standard text encoding printing 2A average 24 VDC All black printing 6A 85 duty cycle 5 VDC 300 mA A CAUTION The order in which the 5 VDC and 24 VDC are established on the printer control board is essential The 5 VDC must be established before the 24 VDC drive voltage is brought to the board and vice versa at power off Otherwise there is a risk of damaging both the printer control board and the thermal print head Power supply units for evaluation purposes are available from Swecoin Promakon AB TTP 101 Kiosk Printer Installation Manual 9708 8 1 9708 TEST PRINT FUNCTIONS The following two types of test prints can be obtained e Off line self test printout e On line HEX dump printout of data transfer The two printout alternatives described below apply to a printer having a paper feed switch button connected to the control board See Figure 4 and Figure 7 for connector number and position If there is no paper feed button installed during maintenance for example short circuiting the connector pins will have the same effect as pressing the button Self test off line printout 1 Verify that the power to the control board is switched OFF 2 Push the paper feed button and keep it depressed 3 Switc
34. s 5 3 1 Character and bit image graphics commande 5 3 2 Label and other top of form oriented commande sssssssssensesssseeernr nenene n 6 4 SOFTWARE COMMAND SYNTAX esccsceeeeeseceeseeeeneeeeeeeeeseaeeesaaesaseeeeneeeeseaeseseenenseaeeeees 7 4 1 Character and bit image graphics commande 7 5 LABEL AND OTHER TOP OF FORM ORIENTED PRINT cs eccesseeesseeesseeeessees 14 6 ERROR CODES ee eege Ee 23 7 PRINTER INTERFACES besen gege ected cats Edel 24 7 1 Control board SWC 842 yer ian tea deieieadiiees ER iaaa aa ar aaa Aie ENEE 25 7 1 1 Paper feed switch connector sssssseessrresssrresrsnnesrennesrennesrnnnesrenns 25 7 1 2 Paper low switch connechot ceeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeneeees 26 Ken ENEE Ner a EE 26 TRS Parallel intetace sercar ten E ve TE RA AERO 27 7 1 6 Power supply interface 00 eccceceeeeeeeeeeeeeeeeeaeeeeeeaeeeseenaeeeeeeaaes 27 7 2 Control board GW GA 29 ZG Paper feed SwitChivcsccccesccsveed seteteetcedteeeetotaeeettuage E T EA SERN 30 72 2 S rlal interlace isi ath EE 30 7 2 4 Parallel inte mace E 31 7 2 5 Power Supply interface eecceeeeeeeeeeeeeeeeseeaeeeeeeaeeeeeenaeeeeseaaes 32 8 TEST PRINT FUNCTIONS ences eege aa aa a a aa aa a ra a ean EES 33 8 1 Self t stoff line printout ainsin annae aaran a aei EIER 33 8 2 HEX dump on line pDritout eee cece ee eect ee eeeeaeeeeeeeaeeeseeaaeeeeeeaaeeeeeeaas 34 9 BASIC CHARACTER SE Tin e rea erae cuts canceducnessineesetcueunet sccucrsni
35. seureeteoncesssne 35 10 NATIONAL CHARACTER SETS 0 csecceseeceseeseeeeseaeeeneeeeseeeeeeeeseeeeseesaseeeenseeeeseeeseneeas 36 11 FIRMWARE HISTORY ii2ecc cose a ea eaaa paara eare aa aaraa oa ana e aaaea eaea aa aaaea 37 12 INSTALLATION CONSIDERATIONG ccccscccsseeeeseeeeeeeeeeeeesesneeenseeeneeeeseeesesnaeenseeeeees 38 TTP 101 Kiosk Printer Installation Manual 1 REGISTER NOW Please fill in the registration form inserted at the end of this manual and return it to us through mail or fax This will put you on our mailing list for Keeping you informed of product changes manual updates etc Registration date for your own records REVISION HISTORY Back of title page Publication numbers changed TTP 101 Operating Instructions added Phone number changed e mail and web site addresses added oa Section 1 2 Information about BBS replaced by references to web site a ee Commands ESC ENQ 2 and ESC ENQ 5 added Description of commands LF and CR modified Command ESC ENQ 2 added Command ESC ENQ 5 added New control board SWC 842 added Second paragraph Connector J13 changed to J12 typing error Firmware versions 1 18 1 20 added Section nstallation Considerations added TTP 101 Kiosk Printer Installation Manual 9708 1 1 1 2 9708 INTRODUCTION About this manual This manual contains the information required for installation of the printer and to run it from a host computer such

Download Pdf Manuals

image

Related Search

Related Contents

  Leica D-Lux 6 ‘Edition 100’  Arcam Solo Muso  Samsung 삼성 컬러 레이저프린터  Philips Water container CRP478/01  平成23年10月31日付け23生産第4952号生産局 - 林野庁  MANUAL DE INSTRUCCIONES  Polk Audio DXi350 User's Manual  As informações e descrições dos equipamentos  

Copyright © All rights reserved.
Failed to retrieve file