Home

MTP Series Modular Thermal Printers User Manual

image

Contents

1. 2011 Telpar Inc Rev 20121001 Page 43 Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2283 Presenter Printer Drawing C L 25 7 t ice Eom a e n L i pm La e b e L lt o co i L Ki AT s 4 4 Da SP ml c6 i e 2011 Telpar Inc Rev 20121001 Page 44 Telpar Inc MTP Series Receipt Thermal Printer User Manual 6 Troubleshooting 6 1 General Troubleshooting Printer does not seem to do anything gt Check the following Printer is plugged into an active power source with the correct voltage and current ratings Power supply Is it active or switched to the ON position if applicable Is the main circuit board getting power Check the Red 5 Volt Power LED See Section 6 2 below If the 5 Volt Power LED is not lit and an approved external power supply that is known to be working correctly is being used then the main circuit board on the printer has probably failed Call Telpar Technical support for assistance Is the printer s print head or Head Up lever in its fully closed position These printers will not attempt to print unless the print head is fully and securely closed Is the main circuit board s DIPSWITCH position 1 switch in the Up or ON position If so slide the switch to the OFF position and cycle printer power The printer will not print with this switch on flash memory uplo
2. 7 0 MFC Demo Application makes use of MFC standard controls to display status information and accept user input The Telpar Printer Language Monitor routines to retrieve printer status are accessed in the TP2Kmon dll library Once the library is loaded with LoadLibrary the necessary Printer Language Monitor function address is retrieved with GetProcAddress The function is then called to retrieve the printers status The Demo application provides examples of each Printer Language Monitor status retrieval function An example of a function to retrieve status information from a specified printer and an example of a function to retrieve status from the first available MTP 2200 printer in the system is provided Upon retrieval of the printer status data the data is analyzed and the individual bit status is displayed in the form of check boxes Included in the Visual C 7 0 MFC Demo is a timer for use with continuous printer status polling at a specified interval Also displayed in the application is a list box containing application activity The Project Source code and executable for this application is contained in the zip file VC7PrinterStatusDemo zip under the solution name VC7PrinterStatusDemo sln 2011 Telpar Inc Rev 20121001 Page 61 Telpar Inc MTP Series Receipt Thermal Printer User Manual The Demo Application will appear as follows Fig 3 A VC7PrinterStatusDemo Iv Use Selected Printer MTP 2263
3. 2 Germany amp AO U 0 B 3 England N 4 Denmark 0 2 8 5 Sweden gn AO 6 3 6 Italy R N b 7 Spain K i o o 7 n 8 Japan Q 9 Norway R u E a o i 10 Denmark 2 amp 0 z e 11 Spain2 i N n 12Lat mr i 6 n 13 Korea 96 BH II International Character Sets 2011 Telpar Inc Rev 20121001 Page 39 Telpar Inc MTP Series Receipt Thermal Printer User Manual 5 4 MTP 2822 Printer Drawing NON PRESENTER PRESENTER 2011 Telpar Inc Rev 20121001 Page 40 5 5 Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2832 Printer Drawing NON PRESENTER PRESENTER Oo i iii 2011 Telpar Inc Rev 20121001 Page 41 Telpar Inc MTP Series Receipt Thermal Printer User Manual 5 6 MTP 2242 Printer Drawing PRESENTER NON PRESENTER 2011 Telpar Inc Rev 20121001 Page 42 Telpar Inc MTP Series Receipt Thermal Printer User Manual 5 7 MTP 2283 Standard Printer Drawing 3 1 1 j f Q 1 i l I LE e Go i i A P i1 i FA PL T e 7 j NZ i lt e Q i KO E t t S A D P WEN of e lt a e hae 2 ES om De Ij Y wn Ln x s vi A y
4. detect Paper Thermal Sensitive paper 2011 Telpar Inc Rev 20121001 Page 33 Telpar Inc MTP Series Receipt Thermal Printer User Manual 5 2 MTP 2283 Detailed Specifications 0 00333 inch 300 dot inch Line feed pitch Paper thickness 0 0024 to 0 0039 inches Cutting type Full cut only Number of columns default 80 columns line 30 x 50 dot font Maximum printing speed 600 dot line s 50 mm s Character composition dimensions W x H 30 x 50 dots 2 54 x 4 23 mm 80 columns Number of characters per line 18 x 38 dots 1 52 x 3 22 mm 133 columns Power Supply For head See Section 1 3 2 For motor DC 24V 5 For cutter DC 24V 5 1 0 A max Wear resistance 50 km SE 20 to 85 RH No condensation Detection Head temperature By thermistor applied energy control abnormal temperature detection Paper out Mark detect By reflective photo assembly 2011 Telpar Inc Rev 20121001 Page 34 5 3 Character Sets Print Samples MTP 2242 CHARACTER SET PC437 Standard U S A ESC t OOhex 0123456789ABCDEF 20 amp 30 0123456789 lt gt 40 GABCDEFGHIJKLMNO 50 PQRSTUVNXYZ 8 DU abcdefghijklmno 7 0 pqrstuvuxyzi i 80 C amp a lc eel1lA 90 Exkdoodl i A0 i nNaOc i i Bo zn co Uy Hg DO Terro gw F EU afrnzoyur 00 cben FO sizs ez e Vn g Telpar Inc MTP Series Receipt Thermal Printer User Manual Code Page 437 Print sample MTP 2242 CHARACTER SET PC8
5. 2 ESC 3 n and ESC C n Form Feed FF 0C Feed paper to end of page as defined by the default page length of 11 inches or as modified by the US C command If TOF mode is enabled DIP switch 2 position 1 or ESC c 1 n then paper is fed until the next BLACK MARK is detected To advance to the BLACK MARK if TOF mode is not enabled use the GS FF command Enable Auto DLE A n1 n2 10 41 n1 n2 n1 and n2 define a mask to enable the Status Back transmission of the STATUS bytes when a user defined event occurs Default 00 ASB disabled See Section 4 2 2 1 for more details Buffered STATUS DLE B 10 42 The STATUS bytes are transmitted when this request command is processed out of the receive buffer See Section 4 2 2 1 for more details Real time DLE R 10 52 The STATUS bytes are transmitted when this STATUS request command is received by the printer See Section 4 2 2 1 for more details User selected data DLE U n1 10 55 n1 n1 When DLE U n1 n2 is processed out of the string n2 receive buffer the printer will transmit DLE U n1 n2 back to the host ESC ESCAPE Sequence Header is mous sero soma nim rs fs FONT SEPARATOR Sequence Header Reverse Video ON ESC RS 1B 1E Printing is reversed to white characters on black background Reverse video requires more power to print and is less readable Same as GS B 01 2011 Telpar Inc Rev 20121001 Page 18 Telpar Inc MTP Series Receipt Therm
6. 4 n 1B 63 34 n Command is not Mem all four bytes will stop printing be Mem S elect CODE ESC t n 1B 74 n n 0 code page 437 standard USA n 2 Code page 850 Multilingual n 3 Code page 860 Portuguese n 4 Code page 863 Canadian French n 5 Code page 865 Nordic n 10 hex WPC1252 n 13 hex Code page 858 Multilingual with Euro character PAGE GS FF 1D 0C If TOF mode is disabled DIP switch 2 position 1 or ESC c 1 n then paper is fed until the trailing edge of the Black Mark sensor is detected the current page length is reached or the printer runs out of paper Select character GS 1D 21 n Bits 7 6 5 4 for width Bits 3 2 1 0 for height size Can select 1 2 4 or 8 times normal size Ohex 1X size hex 2X size 2hex 4X size and 3hex 8X size Reverse video GS B n 1D 42 n Bit 0 of n 1 causes Reverse Video to be printed same as ESC RS Bit 0 of n 0 turns Reverse Video off same as ESC US HRI position GS H n 1D 48 n Select HRI printing position for bar codes n OOhex no HRI printed n any value other than OOhex HRI printed below the bar code Set left margin GS L nH nL 1D 4C nH Sets the left margin to nH 256 nL dot nL positions from the left side of the print head Default 0 leftmost dot The value being set must be equal to or less than the right margin minus 80 dots If the margin is set to any invalid value this command is ignore Range 0 to Right Margin
7. 80 Paper cut GS V n m 1D 56 n m If n 0 either OOhex or 30hex a full cut is performed and the m byte is not needed If n 1 either 01hex or 31hex a partial cut Is performed and the m byte is not needed If n is a capital A 41hex then paper is fed for m dot lines and then a full cut is performed Ifn is a capital B 42hex then paper is fed for m dot lines and then a partial cut is performed If a presenter is installed only full cuts are performed 2011 Telpar Inc Rev 20121001 Page 20 Feed to Top of Form Telpar Inc MTP Series Receipt Thermal Printer User Manual Name Command Command Description ASCII hex Set Right Margin GS W nH 1057 nH Set the right margin to nH 256 nL dot HL nL positions from the left side of the print head Default maximum dot count for the printer mechanism minus 1 The value being set must be equal to or greater than the left margin plus 80 dots If the margin is set to any invalid value this command is ignore Range Left Margin 80 to rightmost dot HRI font GS f 1D 66 n Not implemented the controller selects a font and size to best fit under the bar code being printed Set Bar code height GS h n 1D 68 n Set the bar code height in dots Default 64 Range 1 to 255 dec Bar code printing GS k m n 1D 6B m n Selects the bar code type and prints d1 dn DATA See Sections 4 2 2 6 and 4 2 2 7 for more details Set Bar code GS w n 1D 77 n Se
8. Connector on the a H Bs oO O O Printer s main circuit ML SS board Pins 1 9 odds P isa O GOO 9 are bottom row left to N l ree right Pins 2 8 evens ny Kc he Z are top row left to FE right Pin 1 Pin 9 Mates with 1 X 1 Socket Connector DTR Data Terminal Ready Output from printer TxD Transmit Data Output from printer CTS Clear To Send Input to Printer RTS Request To Send Output from Printer DSR Data Set Ready Input to Printer mum RxD Receive Data Input to Printer 2011 Telpar Inc Rev 20121001 Page 28 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 3 3 Optional MTP Serial Adapter Cable Telpar Part Number 800410 0015 For customers who wish to connect to the printer with the traditional 9 Pin D Sub Connector Telpar offers an MTP Serial Adapter Cable as shown below This 3 72 long cable plugs into the J9 serial connector on the main circuit board and has enough length to exit the printer chassis as shown below for external connections to a cable The pinout for the D Sub connector is shown in the table below MTP Serial Adapter Cable TH a 9 6 SERIAL I O CONNECTOR DES9S PC pinout Chassis Side Cover can be removed via removal of two top screws as shown D Sub Connector Serial RS 232C Interface Pinout Page 29 2011 Telpar Inc Rev 20121001 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 4 Parallel Interfa
9. Rev 20121001 Page 2 Telpar Inc MTP Series Receipt Thermal Printer User Manual Table of Contents UNE CT E 5 WE Olei 5 12 Standard Feat r6gx uyu uy EE 5 1 3 Power Supply Requirements T 6 1 3 1 External Power Supply supplied separate 6 t32 Voltage 24 LTH 6 1 3 8 3 Pin Hosiden Connector on Printer for Power Supply Connection 7 1 4 Telpar Roll Paper for MTP Series 7 1 5 Docume t Presenter ETGEN uuu u uuu u u uuu uu uu eva uan S rac E wlocus e cen SEE duces e reo c esa ezEUE 7 2 Operator Instructions T 8 2 1 Unpacking and Inspection 8 22 PUMICE Senso sae u uuu uu u sve ae a patsa a a a a aw Supaya 8 2 2 1 Sensors on the MTP 2822 MTP 2832 and the MTP 2242 8 220 Sensors e ine MT P2263 uu susu suan Susa uyay akata siya sasa apps u amat 10 E WE e Ree Un e WEE 12 2 3 1 Te Reels lle de UE 12 22 K lt ie R e AGING Bolu uuu au u u a uku tutus ui cos our vhs Mua 12 24 Clearing a PaperuJal EE 13 2 4 1 Lifting the Print Head and cutter MTP 2822 MTP 2832 MTP 2242 13 2 4 2 Lifting th
10. d Configure port settings i 115 200 Baud ii 8 Data bits iii No Parity iv Flow Control None Cou Properties EA H Pot 2edrg Bic ps racont HES Oaa Hs Q Dap How v Stop Eis L D Eks zemct Hee v eme Coste Oo IL e 3 Set Printer Switch 1 Position 1 to ON 2011 Telpar Inc Rev 20121001 Page 50 Telpar Inc MTP Series Receipt Thermal Printer User Manual Set Position 1 on Dipswitch 1 to the ON position 4 Turnthe printer power on a The Printer LED s will be cycling a pattern b A Menu will appear in the HyperTerminal window 501 Hyper Terminal SESI Be d Wee C lum Hep Oe 553 28 e e 4 Command q to quit JLinkSTR931X exe Download firmware e z 1l Use Hyperterm exe with settings 15200 N 8 Place board in Download Mode Set Switch 1 Position 1 to ON j Power On board Green LED will blink twice pause and repeat Main Menu is displayed on HyperTerminal window 4 Press 1 to erase flash 5 Press 2 and use Send Fiie Ymodem to download desired file to flash 6 Press 3 to verify flash 7 Place board in Execute Mode Set Switch 1 Position 1 to OFF 8 Press 4 to exit download and execute flash TALIA 00800 Flash Main Menu lt lt lt lt lt lt lt aq lt a lt 04 4 d l Erase Flash Le gt Download Image TO the STR91x Internal Flash 2
11. p T IM p j 199 e K s GE IN JN Me M99 C sr JIENOS CodeB 4 mr ec qe due jJ S H eode A to due m CE E CDRMOT rr 49 JO j49 E E m JE 1 Code128 Start Characters Code128 Start Characters Value used to calculate checksum Start character CodeA Start character CodeB Start character CodeC Code128 Stop Character 106 otop character Code128 other two character data sequences Note Since is used as a sequence header to specify special characters must be sent as data to actually print in the bar code Code128 Two Character Data Sequences Represents 2011 Telpar Inc Rev 20121001 Page 27 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 3 Serial RS 232C Interface 4 3 4 Serial RS 232C Interface Specification See Appendix A on how to change default settings Serial RS 232C Interface Specification Default Baud Rate Data Baud rate selected at factory written in flash Default receive speed and other baud rate is 115200 bps Default Data Bits 8 RS 232 Protocol default Stop Bits 1 Default Parity none NOTE see Appendix A on how to change the default settings Synchronizing method Asynchronous Full duplex Handshake Hardware or XON XOFF Input output level RS 232C Signal level Space logic 0 3 V 12 V Mark logic 1 3 V 12 V 04 3 2 Serial I O Connector RS 232 Connector J9 Pinout Location of J9 the TET a Serial Port RS 232 WR alla aa ts TE Mi
12. the Telpar Printer Language Monitor GetPrinterStatus pszPrinterName Example Below is a section of code used in the demo to communicate with the Telpar Printer Language Monitor GetPrinterStatus pszPrinterName routine Fig 4 Fig 4 Telpar Printer Language Monitor Function Pointer typedefs typedef DWORD stdcall funcname ptr LESTR Telpar Printer Language Monitor TCHAR cszPrinterStatusMonitor TP2KMon dll Function pointer variable definition funename ptr funcGetPrinterstatus Get a handle to the Printer Language Monitor DLL module hinstLib LoadLibrary cszPrinterStatusMonitor If the handle is valid get the function address for GetPrinterStatus if hinstLib NULL Get function address funoGetPrinterStatus funoname ptr GetProcAddress hinstLib GetPrinterStatus If the function address is valid call the function if funcGetPrinterStatus NULL Call Printer Language Monitor DLL Routine GetPrinterStatus Status funcGetPrinterStatus pszPrinterName Display result in list box wsprintf pszMessage Printer Status for s 0x 04X pszPrinterName Status AddToStatusList pszMessage Update status check boxes UpdateStatusCheckBoxes Status else wsprintf pszMessage ERROR GetProcAddress s GetPrinterStatus cszPrinterStatusMonitor AddToStatusList pszMessage Free the DLL module fFreeResult FreeLibrary hinstLib else
13. wide approximate length 180 m 590 ft Telpar P N 251410 0604 e For MIP 2283 152 mm 4 5 in outside diameter 215 9 mm 8 5 in wide approximate length 104 m 340 ft Telpar P N 751221 0041 e For MIP 2283 203 mm 8 in outside diameter 215 9 mm 8 5 in wide approximate length 398 m 1 307 ft Telpar P N 751221 2080 Specific to Thermal Printers Telpar Inc does not warranty damages to the thermal print head as a result of printing with thermal paper not specified or approved by Telpar Inc 1 5 Document Presenter Option Presenter dimensions can be found in Section 5 Printer Drawings The MTP Printer Series can be ordered with an optional document presenter which attaches to the front of the printer just after the cutter mechanism The purpose of the document presenter option is to prevent a person from making physical contact with a document until the document has been completely printed and cut This decreases the likelihood of someone purposely or accidentally causing a paper jam or smearing the printed information by pulling on the exiting document before it has finished printing This option is especially useful when printing long documents Preventing human contact with a document during a printing operation is accomplished by allowing the presenter to hold the leading edge of the document preventing the document from exiting the printer while the remainder of the document is being printed A paper loop will form below th
14. wsprintf pszMessage ERROR LoadLibrary cszPrinterStatusMonitor AddToStatusList pszMessage return Status 2011 Telpar Inc Rev 20121001 Page 63 Telpar Inc MTP Series Receipt Thermal Printer User Manual GetPrinterStatus void Example Below is a section of code used in the demo to communicate with the Telpar Printer Language Monitor GetPrinterStatus void routine Fig 5 Fig 5 Telpar Printer Language Monitor Function Pointer typedefs typedef DWORD stdcall funcname ptr2 void Telpar Printer Language Monitor TCHAR cszPrinterStatusMonitor TPZRMon dll Function pointer variable definition funename pEr funcGetPrintersotatus Get a handle to the Printer Language Monitor DLL module hinstLib LoadLibrary cszPrinterStatusMonitor If the handle is valid get the function address for GetLMStatus if hinstLib NULL Get function address funcGetPrinterStatus funcname ptr2 GetProcAddress hinstLib GetLMStatus If the function address is valid call the function if funcGetPrinterStatus NULL Call Printer Language Monitor DLL Routine GetLMStatus Status funcGetPrinterStatus Display result in list box wsprintf pszMessage Printer Status 0x 04X Status AddToStatusList pszMessage Update status check boxes UpdateStatusCheckBoxes Status else wsprintf pszMessage ERROR GetProcAddress s GetPrinterStatus CszPrint
15. 2283 The MTP 2283 s print head is lifted via releasing three spring clips as shown below Lifting the head will allow you full access for clearing jams in the printing section as well as access to the Paper Present Sensor which may need to be cleaned from paper dust from time to time When the print head of the MTP 2283 is in the up position be careful not to physically contact the actual print head element itself element looks like a long dark stripe on the bottom of the head as you may easily damage it The printer will not be able to print or automatically feed paper with the head up When closing the print head make sure that all three spring clips are fully secured around their respective spring pins The MTP 2283 s print head is Next gently flex back the two Finally once both spring clips are raised by first lightly lifting the spring clips on each side of the free from the clip pins rotate the cutter release latch on the center print head until the clips just print head up as shown A paper top of the printer to let the cutter clear the spring pins as shown jam in the print head section can mechanism pivot downward now be easilv cleared If the printer has a Document Presenter and a paper jam exists between the cutter and the presenter then the top section of the presenter may be removed to provide easy access to the jam To do this lightly flex back the spring clip on the side of the presenter until the guide s tabs are just ful
16. 3 e PREY XAR T s s d e H AW 40580008 I1DO ROM EEN O 4 DAA KamE co 00 1 70550 eee B L gt Connected nsi m 115290 641 I inii Ore hA Press Enter to display In Application Programming Menu Press 1 to Erase Flash a Wait for operation to complete 7 Press 2 to download flash 8 Select Hyperterm Menu item Transfer gt Send File 9 Browse for flash file to download 10 Select Ymodem for the Protocol 11 Press Send a Wait for download to complete 12 Press 3 to verify flash 13 Press 4 to execute new program in flash 14 Turn the printer power off 2011 Telpar Inc Rev 20121001 Page 51 Telpar Inc MTP Series Receipt Thermal Printer User Manual 15 Set Printer Switch 1 Position 1 to OFF 16 Print a Self Test to verify printer operation and firmware version a Hold Feed Button while turning printer power on b Release Feed button after one beep 2011 Telpar Inc Rev 20121001 Page 52 Telpar Inc MTP Series Receipt Thermal Printer User Manual Appendix C How to use the Telpar Language Monitor to get Status Feedback from the Printer Telpar Language Monitor Printer Description The purpose of the Telpar Language Monitor TLM is to provide the customer s software application access to the printer s status feedback via an installed TLM printer driver see our website at http www telpar com Drivers and Support MTP 2000 Driv
17. 50 Multilingual ESC t O2hex 0123456 789ABCDEF 20 t amp 9 30 01238456789 lt gt 40 ABCDEFGHIJKLMNO 90 PQRSTUVWXYZ H DU abcdefghijklmno 70 pqrstuvwxyz i 80 C a ldce eelllAA 90 a mm A0 nNaOLR AA i BO zig AAAG dq co Ur EAE rm DO BpEEE 111 EO 000050upRU FO 398 Code Page 850 Print sample 2011 Telpar Inc Rev 20121001 Page 35 MTP 2242 CHARACTER SET Telpar Inc MTP Series Receipt Thermal Printer User Manual PC860 Portuguese ESC t O3hex 0123456 89ABCDEF 20 t 8 30 0123456789 lt gt 40 GABCDEFGHIJKLMNO 50 PORSTUVHXYZ R 60 abcdefghijklmno 70 pqrstuvuxyz i 80 Cu aaaAc EeIOiAA 90 AEG6b0 lOUc UP A0 nNaoc0 i i 80 melld co UHHH O Talta aa p EU agrnZour 00 6o en FO stes e yn2p Code Page 860 Print sample 2011 Telpar Inc Rev 20121001 MTP 2242 CHARACTER SET PC863 Canadian French ESC t 04hex 0123456789ABCDEF 20 4 5 amp 30 01238456789 2 40 GABCDEFGHIJKLMNO 90 PQRSTUVWXYZ R DU abcdefghijklmno 70 pqrstuvwxyz i 80 C amp A tg eeli Ap 90 E GEIQusOUccU0f A0 60 3 17 553 B0 Blinaad co TET HS IPIE DO Te ett 44 qe EU afTnZogut 0n cben FO stes e yn2q Code Page 863 Print Sample Page 36 Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2242 CHARACTER SET MTP 2242 CHARACTER SE
18. 8 dot positions at the top left side of the bit image with bit 7 being to the left and bit O being to the right as printed XMOVE USx4nH nL 1F 78 nH nL The horizontal print position is set to 256 nH nL 8 dots from the left margin If there is a lot of white space on the current dot line the XMOVE command can cause the print location pointer to be moved resulting in less data required to define a dot line of bit image data to be printed Anytime there is more than 4 bytes of white space 32 dots the XMOVE command will result in less data being sent to the printer Another Bl command can follow the XMOVE command until a YMOVE signifies the end of the current dot line YMOVE USy nH nL 1F 79 nH nL Causes paper to feed 256 nH nL dot lines This is also the BI line terminator and print command Print Bar Code Command GS k m n d1 dn 1D 6B m n DATA m selects the bar code type n defines the number of data bytes which follow If more data is sent than can fit on the printer being used the bar code is not printed Cu o a UPCA fn O Checksum generated amp printed Uer 7 fo Ghecksum generated printed 8 mm e os Checksum generated amp printed mn ENS 7 os Checksum generated R printed 6 Cosas variable oazo TT peee S acai ero witbe sated a leading zero will be added 47 CODABAR variable 09 S 4A960 T EE EE 4B ITF variable Checksum generated amp printed If the data sent and
19. F 1 Double high print ON 1 Double wide print ON Set Print Mode Table Font size WxH FontB 10x30 FontA 12x30 Table 1 Set Print Mode Table Both double wide and double high can be selected for either character size When a printed line contains characters with different heights the characters are arranged so that the baseline of all characters lines up Default 00hex Font B 10 x 30 matrix for MTP 2222 Default 01hex Font A 12 x 30 matrix for MTP 2232 and MTP 2242 Printer Reset ESC 1B 40 Initializes the printer Any data received before the ESC but not yet printed is cleared The character size is set to the default font Left and Right Margins are set to the defaults Reverse video is turned off Underline printing is turned off Bar code height is set to 64 Bar code magnification is set to 2 Telpar s Window Commands The Begin Document US b and End Document US e commands were created for use by the Telpar Windows driver These two commands should not be sent to the printer by any other application program since unexpected results will occur 2011 Telpar Inc Rev 20121001 Page 24 4 2 2 5 4 2 2 6 Telpar Inc MTP Series Receipt Thermal Printer User Manual Bit Image BI Graphics Mode Commands Bl US nH nL data 1F 2A nH nL data 256 nH nL defines how many bytes of bit image data will follow The data is received sequentially with the first byte representing the first
20. IO5 C2 oO O1 O RevReq HostClk 1284Active HostAck HostLogicHigh N ANIT STB SLCTIN AFXT Active Low Pulse to send data to printer Low level enables printer Host Logic High O Z UO Logic ground PeriphLogicHigh CGND Peripheral Logic High aao ren penoa ot EE EE Tow vel when s igh ve when ir out oTpaper EE raa S C C 9 O R O CT ASOT aia brs ASOT diab Ts eie LPs send dna p Tow ve enables por 2 7 Ran sss 35 eres meh ER Er Chassis ground 2011 Telpar Inc Rev 20121001 Page 31 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 5 USB Interface The current location of the USB 2 0 Mini B connector for all MTP series printers is located next to the barrel power jack as shown below Location of the USB 2 0 Mini B Connector i 4 6 Ethernet Interface Currently under development The ability to connect the MTP series of printers to the Ethernet is currently being developed and will be available shortly 4 7 Printer Drivers Printer Drivers for Microsoft Windows Operating Systems can be downloaded from our website at www telpar com Microsoft and Windows are registered trademarks of Microsoft Corporation 2011 Telpar Inc Rev 20121001 Page 32 Telpar Inc MTP Series Receipt Thermal Printer User Manual 5 Detailed Specifications 5 1 MTP 2822 MTP 2832 and M
21. Status ListCount 1 If ListStatus ListCount gt 100 Then ListStatus Removeltem 0 End If End Sub Check box button for enabling printer status polling timer Private Sub chkEnableStatusPolling Click If chkEnableStatusPolling Value vbChecked Then tmrPrinterStatusPoll Interval Val comboParallellnterval Text tmrPrinterStatusPoll Enabled True Else tmrPrinterStatusPoll Enabled False 2011 Telpar Inc Rev 20121001 Page 58 Telpar Inc MTP Series Receipt Thermal Printer User Manual End If End Sub Status polling timer Private Sub tmrPrinterStatusPoll Timer Call routine to retreive and display printer status ListStatus Addltem RetrievePrinterStatus Advance list index to latest data ListStatus ListIndex ListStatus ListCount 1 If ListStatus ListCount gt 100 Then ListStatus Removeltem 0 End If End Sub Retrieve Printer Status Results via call to TP2KMON dll routine Public Function RetrievePrinterStatus As String Dim RetVal As Long Dim sMsg As String Dim sPrinter As String If chkUsePrinterSelected Value vbChecked Then Get Printer Name sPrinter ComboPrintersList Text If Len sPrinter 0 Then RetVal GetPrinterL MStatus sPrinter Else MsgBox Invalid Printer Selected vbCritical End If Else Use legacy Language Monitor routine RetVal GetLMStatus End If Update status check boxes based on returned status and return status text string sMsg UpdateRealTimeStatusBits R
22. T PC865 Nordic PC1252 ESC t 05hex ESC t 10hex pu 9 9 D i FTP Af Zeg 20 8 2 amp mo gefleegt 30 0123456789 lt gt 40 GABCDEFGHIJKLMNO 40 ABCDEFGHIJKLMNO 50 PQRSTUVWXYZ 50 PORSTUVWXYZ R DU abcdefghijklmno DU abcdefghijklmno 70 pqrstuvwxyz MUN 70 rstuvwxyz i 80 C amp a c8eeiilA o vd NIA omg 80 f ett amp S lt E Z 90 at ob yOUotOn f xe x N A0 n aoc khiah e fen e sg iH dal ine co UE Ht HE la w bear po Lel tc gu qm C0 suen EO aBrnzour en wben Do p 06600x U OUYbP06 FO gt s n2m EO aaddadece eiiii FO no 600 o yby Code Page 865 Print Sample Code Page WPC1252 Print sample 2011 Telpar Inc Rev 20121001 Page 37 Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2242 CHARACTER SET PC858 Euro ESC t 13hex 0123456789ABCDEF 20 1 Sx amp t 30 0123456789 lt gt 40 ABCDEFGHIJKLMNO 50 PQRSTUVWXYZ H _ 60 abcdefghijklmno 70 pqrstuvwxyz i 80 90 A0 BO LU DO ciidaaaaceeeiiiAA EO 0 FO t 41 9 8 Code Page 858 Print sample 2011 Telpar Inc Rev 20121001 Page 38 MIP 2242 CHARACTER SET Telpar Inc MTP Series Receipt Thermal Printer User Manual Default per DIP switch 2 or as changed by ESC R tn INTERNATIONAL CHARACTER SET n hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 USA Q N E 1 France
23. T3 T4 LED 3 LED 3 LED 3 LED 3 Blinks ON Blinks ON Blinks ON Blinks ON LED 4 LED 4 LED 4 LED 4 Error Code status status status status Description below below below below position o printer pec mmm o Jam BM am R Printing i mms wama mes Warning 3 Paper Jam deliver unrecoverable error maximum temperature Cutter is not functioning OFF OFF OFF OFF OFF FF APPENDIX Appendix A Configuration Utility Changing RS 232 Baud Rates and other Printer Settings in flash 2011 Telpar Inc Rev 20121001 Page 47 Telpar Inc MTP Series Receipt Thermal Printer User Manual memory This procedure describes how to use the Configuration Utility to modify default settings for the MTP thermal printer series relating to the serial port presenter eject or retract option Top of form detection reverse portrait option and the character table default Changes made to these settings are stored in flash memory and will be retained even if the power is switched off To enter the Configuration Utility follow the procedure below 1 5 6 If not already done load paper through the printer The printer must NOT be reporting any errors ie No beeping after paper has been successfully loaded Switch OFF power to the printer Connect a serial cable between a Windows PC and J9 on controller board P wn s Start HyperTerminal Windows based terminal program with settings at 115 200 N 8 1 NO
24. TE If you are using Windows 7 or higher you can usually find a downloadable version of HyperTerminal on the Internet that is free for personal use a Start gt Programs gt Accessories gt Communications gt HyperTerminal b Name Configuration c Select Comm Port d Configure port settings i 115 200 Baud i 8 Data bits iii No Parity iv Flow Control None town Properties iE lt j Bic ps racont HESE v Dads 0 x Dat Here wi Step bas fi S Ekazcmct Nowe Ka Besse Detak Ok Lance Set Printer Switch 1 Position 8 to ON Set Position 8 on Dipswitch 1 to the ON position Turn the printer power on 2011 Telpar Inc Rev 20121001 Page 48 Telpar Inc MTP Series Receipt Thermal Printer User Manual a Printer LED s 1 green and LED 4 Red will be blinking and the beeper will sound a beep every 2 seconds b A Menu will appear in the HyperTerminal window Hyper Terminal 3 ok DM Ven Dd www tee pe 65 xs d eg 7 To change a setting enter the number to the left of the setting a For example enter 1 to change the Serial Port Settings b The following menu will appear EM 1 Hyper Terminal RIS lt j Oh DM Yew Df eg t Ot 3 pn o Presenter Eject Retract RETEACT mute TI EA xx Lo eu c Entera number to change the desired setting 8 Once completed with changes enter S MUST be a capital S to save the changes to
25. TP 2242 Detailed Specifications Specifications MTP 2822 MTP 2242 Thermal sensitive line dot method 432 dots line 832 dots line Dot pitch horizontal 0 125 mm 8 dot mm Dot density Dot pitch vertical 0 125 mm 8 dot mm Line feed pitch Effective printing area 54 mm 2 13 72 mm 2 84 104 mm 4 09 Paper width 60 mm 2 362 80 mm 3 15 114 mm 4 49 0 0024 to 0 0039 inches Cutting type Full or partial Software control Printing method Dot Structure Paper thickness Number of columns default 36 columns line 48 columns line 69 columns line 12 x 24 dot font 12 x 24 dot font 24X12 dot font Maximum printing speed 1000 dot line s 640 dot line s 125 mm s 80 mm s IEEE 1284 Parallel RS 232C Serial USB 2 0 Power Supply For head See Section 1 3 Power Supply Requirements For motor DC 24V 5 1 0 A max lt 0 1A typical For cutter DC 24V 5 DC 24V 5 1 2 A max 1 0A max Expected Life Mechanism Pulse durability 1x10 pulse dot standard driving method Wear resistance 100 km at 12 5 printing ratio Cutter 5 x 10 cuts for MTP 2222 and MTP 2232 3 x 10 cuts for MTP 2242 Environ Operating temp 0 to 50 C WEN Operating 20 to 85 RH No condensation COnaitions humidity Interface Storage temp 20 to 60 C Storage 5 to 95 RH No condensation humidity Detection Head temp By thermistor applied energy control abnormal temperature detection Paper Out Mark By photointerrupter
26. Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2832 MTP 2242 Shown with Document Presenter MTP Series Modular Thermal Printers User Manual MTP 2822 60 mm 2 36 in paper width MTP 2832 80 mm 3 15 in paper width MIP 2242 114 mm 4 49 in paper width MTP 2283 215 9 mm 8 5 in paper width ELPAR Your Printer Solutions Telpar Inc 800 872 4886 Fax 603 742 9938 Website www telpar com E mail info telpar com 2011 Telpar Inc Rev 20121001 Page 1 Telpar Inc MTP Series Receipt Thermal Printer User Manual Warranty Telpar Inc Printer Limited Warranty WARRANTIES AND DISCLAIMERS Products manufactured by Telpar are warranted against defects in workmanship and materials for a period of twelve 12 months from the date of shipment to the original user provided the Product a remains unmodified b is used only in the United States or Canada C is operated under normal and proper conditions as Telpar determines in its sole discretion and d Customer provides prompt written notice Telpar of any defects as to parts and or workmanship to Telpar may provide an extended warranty on certain Products or components thereof for an additional price determined solely by Telpar and such extended warranty shall only be effective to the extent memorialized in writing by Telpar Telpar s sole obligation and Customer s exclusive remedy for defective Telpar manufactured Products is limit
27. able a nnne nnns 29 4 4 Parallel Interface IEEE 1269 E 30 4 4 1 Parallel UO Connector IEEE 1284 Twvpet nnn 30 4 4 2 Optional MTP Parallel Adapter Cabie mmn 31 J5 MISE I aCe eR S TE TEES 32 406 Ethernet i is 32 AT Printer Driver E 32 5 Detailed Sp cifications iesse 33 5 1 MTP 2822 MTP 2832 and MTP 2242 Detailed Specifications 33 5 2 MTP 2283 Detailed Gpecifications EEN 34 5 3 Character Sets Print Samples 35 5 4 MIP 2922 Printer DFaWInQ diio awu saw ushuta dude uae adaa 40 55 MIP 28352 Printer RT e DEE 41 5 6 MTP 2242 Printer Drawing 42 5 7 MTP 2283 Standard Printer Drawing 43 MTP 2283 Presenter Printer Drawing 44 6 Troubleshooting mm 45 6 1 General Troubleshooting sss s cesse eee eee eee 45 6 2 LED Diagnostics and Error Detection Codes 46 6 3 LED Error Code Definitions Table a r rr a 47 APPENDIX Appendix A Configuration Utility Changing RS 232 Baud Rates and other Printer Setti
28. ad mode Printer feeds paper and performs a Self Test but does not print from the host computer controller etc gt Check the following LI Communications Cable is the correct type of cable being used and is it securely connected Is the correct printer driver installed on the host if required Is the printer connected to the same port that was selected when installing the printer driver Is the host s printer port Ready or OFFLINE Is there a conflict with another printer on that port Printer s Document Presenter Cutter and or Paper Low Status not working as expected General unexpected printer operation Unexpected Printer Error gt check the following LI Are the printers DIP Switch s on the main circuit board correctly set for your application Remember whenever any DIPSWITCH positions are changed the power to the printer must be cycled for the change to take effect Is the printer s print head or Head Up lever in its fully closed position These printers will not attempt to print unless the print head is fully and securely closed Printer is plugged into an active power source with the correct voltage and current ratings Sensors are clean free of paper dust or other unwanted obstructions Clean sensors by blowing pressurized air over the sensor face Printer presents a blank document nothing is printed on the ticket or the printing is too light check the following LI In case o
29. al Addltem 60000 End Sub Routine for generating a list of available printers for selection Private Sub GetPrintersList Dim X As Printer ComboPrintersList Clear For Each X In Printers Add only MTP printers to list If InStr 1 X DeviceName MTP Then ComboPrintersList Addltem X DeviceName CombopPrintersList Listlndex ComboPrintersList ListCount 1 2011 Telpar Inc Rev 20121001 Page 57 Telpar Inc MTP Series Receipt Thermal Printer User Manual Set Printer X End If Next X End Sub Menu File About message Private Sub mnuFileAbout Click Dim sMsg As String sMsg Telpar MTP 2200 Series Printer Language Monitor Demo amp vbCrLf amp i Version 2 1 amp vbCrLf amp vbCrLf amp This Demo requests printer status from the MTP 2200 Series amp vbCrLf amp _ Printers using the Telpar Printer Status Language Monitor MsgBox sMsg vbOKOnly End Sub Menu file exit Private Sub mnuFileExit_Click End End Sub Check box for enabling printer selection Private Sub chkUsePrinterSelected Click If chkUsePrinterSelected Value vbChecked Then ComboPrintersList Enabled True Else ComboPrintersList Enabled False End If End Sub Command to retrieve printer status and update display Private Sub cmdRetrievePrinterStatus Click Call routine to retreive and display printer status ListStatus Addltem RetrievePrinterStatus Advance list index to latest data ListStatus ListIndex List
30. al Printer User Manual Name Command Command Description ASCII hex Reverse Video OFF ESC US 1B 1F Printing is set to default mode of black print on white background Same as GS B 00 Set Print mode ESC n 1B 21 n Set Print mode font A or B Double high Double wide See Section 4 2 2 2 for more details Select Bit Image ESC m ni 1B 2A m nm mode 42 d1 dn n2 data Select Bit Image mode m n2 256 n1 Number of DOT LINES of data to follow data the amount of data required to complete the sequence Telpar does not fully support this command Please refer to US command which follows Underline ESC n 1B 2D n Bit 0 of n 0 turns underlining OFF Bit 0 of n 1 turns underlining ON Default is OFF Set 1 6 line spacing ESC 2 1B 32 Set 1 6 inch line spacing Set Line feed pitch ESC 3 n 1B 33 n Set line spacing to n dot lines If the n specified is less than the height to print text using the currently selected character set then printing will cause enough paper feeds to print the entire line but a print command with no data in the buffer will cause paper to feed by this amount Default is 1 8 inch Printer reset ESC 1B 40 Initialize the printer See Section 4 2 2 3 for more details Set page length ESC C n 1B 43 n Set page length to n character lines using the current font Overwrites the page length defined by US C Set Horizontal Tab ESC D d1 dn is 44 data Set from 1 to 32 tab position
31. ate as indicated in the table below For more detailed printer specifications please reference Section 5 in this manual Power Supply Option Telpar Part Number 103929 0401 Telpar offers a power supply suitable for use with all of the latest MTP series printers Not Compatible with the older legacy MTP printer series This power supply s female plug fits the printers barrel jack connector and also provides a built in ON OFF switch near the connector end Current A for Printer Head Printing Rate Printer Model Ag Peak scenario Types ASCH Te considered closest MTP 2832 to the typical normal operation for most MTP 2242 2011 Telpar Inc Rev 20121001 Page 6 Telpar Inc MTP Series Receipt Thermal Printer User Manual 1 3 3 3 Pin Hosiden Connector on Printer for Legacy Power Supply Connection As viewed from back of printer 24 Large notch NC Power Connector Hosiden TCS7960 53 2010 Mating Connector Hosiden ST CP8927 53 1100 or TCP8927 63 1110 3 Pin Hosiden Power Supply Connector 1 4 Telpar Roll Paper for MTP Series Thermal sensitive coating is on the inside of the roll e For MTP 2822 152 mm 6 in outside diameter 60 mm 2 36 in wide approximate length 180 m 590 ft Telpar P N 251410 0602 e For MTP 2832 152 mm 6 in outside diameter 80 mm 3 15 in wide approximate length 180 m 590 ft Telpar P N 251103 8006 e For MTP 2242 152 mm 6 in outside diameter 114 mm 4 49 in
32. b 1F 62 Used only by Telpar s Windows drivers for WINDOWS End of Document US e 1F 65 Used only by Telpar s Windows drivers for WINDOWS Set horizontal US x nH nL 1F 78 nH nL The horizontal print position is set to 256 nH Print Position nL 8 dots from the left margin Set Relative US y nH nL 1F 79 nH nL Causes paper to feed 256 nH nL dot lines Vertical move Set Horizontal 1F 41 Sets the x move function see US x nH nL to Print Position be a move relative to the left margin See US R ABSOLUTE Set Horizontal Sets the x move function see US x nH nL to Print Position be a move relative to the current position RELATIVE Default setting See US A 2011 Telpar Inc Rev 20121001 Page 22 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 2 2 Descriptions of Commands 4 2 2 1 Status commands All transmission of status in IEEE 1284 mode is disabled at power on Status transmission must be enabled by the US S n command before any STATUS transmission will occur in IEEE 1284 mode In case of an ERROR as defined in the table below the printer transmits DLE E and the 2 status bytes The response to a STATUS REQUEST is to transmit DLE 10hex followed a SOURCE byte that distinguishes what type of status is being transmitted followed by the two status bytes as defined in the table below The SOURCE byte is defined as A Auto Status Back Is disabled by default but is enabled when the printer receive
33. ce IEEE 1284 4 4 1 Parallel UO Connector Location of J5 the d d Ba Ss Parallel Port Connector G Ams on the Printer s main circuit board Pins 1 25 odds are bottom row left to right Pins 2 26 evens are top row left to right Chassis Side QI SID O O Cover can be felts removed via IS removal of two top screws as shown Parallel Port Connector J5 Pinout See Table Below also Pin 1 Mates with 1 X 1 Pin 25 Socket Connector J5Pin page 3pn Fun O 1 STB Active Low Pulse to send data to printer 14 Oat Ganne 2 APXT HostAck Inputto Printer 18 106 ASCII data bit6 Bi directional 3 o IO0 ASCII data bit 0 LSB Bi directional d 6 Circuit Common 4 J ERR Lowleveloutput Printer Error 17 IO7 ASCII data bit 7 MSB Bi directional 5 TOT ASCiidata bit 1 Bi directional 18 Circuit Common 6 Nr Low level resets pier 9 TACK Active low pulse when data is accepted 7 _ 102 ASCII data bit2 Bi directional 20 Circuit Common lt lt 8 SLCTIN Low level enables printer 1 21 BUSY High level when printer cannot accept data 9 IOSASCidsabi3 Bi directional 22 Circuit Common lt 10 Circuit Common 3 28 PE High level when printer is out of paper 1 IO4 ASCII data bit 4 Bidirectional 24 Circuit Common 12 Circuit Co
34. cument presenter option These sensors should be periodically cleaned from dust and other debris which will accumulate on them over time Cleaning periodically will help prevent intermittent false triggering of the sensors which result in system downtime It is recommended that pressurized air be used to clean the sensor surfaces as shown below 2 2 1 Sensors on the MTP 2822 MTP 2832 and the MTP 2242 MTP 2822 MTP 2832 and MTP 2242 External Sensor Option The External Paper Low Sensor option shown here can be physically rotated to detect various diameter sizes via a rounded cutout in the chassis Printer status feedback will indicate whether or not the sensor detects The sensor surface can the roll as the roll s diameter be cleaned by blowing decreases with use pressurized air over the sensor face through the rounded slot in the chassis as shown above MTP 2822 MTP 2832 and MTP 2242 Internal Sensor The fixed Internal Paper Low Sensor shown here comes standard on these printers and detects when the paper roll is almost depleted Printer status feedback will indicate whether or not the sensor detects the roll as the roll s diameter decreases with use The k sensor surface can be cleaned by blowing pressurized air over the sensor face through the round hole in the chassis Internal OR i External Paper Low Sensor detection can be selected via the state of DIP Switch position 6 on the printer s circu
35. current and decreases the life of the print head element It is recommended that the darkness Print Densit level be increased to the point that Ba just meets the desired darkness en level under the normal ambient IPS S EIR operating conditions for the printer Gezai 2011 Telpar Inc Rev 20121001 Page 16 Telpar Inc MTP Series Receipt Thermal Printer User Manual DIP Printer Function based on State of Switch Switch Position Flash Memory Upload Mode used to Update the flash firmware to a different version OFF Normal Print Mode normal operating mode for printer ON Flash Memory Upload Mode See Appendix B for more details OFF Paper cutter disabled will not cut paper ON Paper cutter enabled will cut paper mE Reserved for future use OFF z Document Presenter disabled no document presenter option on the printer ON z Document Presenter enabled printer has the document presenter option This setting pertains to models with the document presenter option onl OFF Presenter paper loop enabled prints first cuts second then delivers ON Presenter paper loop disabled delivers document while printing then cuts Paper Roll Low Sensor MTP 2822 MTP 2832 MTP 2242 select which sensor to use OFF z Use Internal Paper Low Sensor on the board standard configuration ON z Use External Paper Low Sensor on chassis side optional configuration 7 Reserved for future use Configuration Mode used
36. de first To do this lightly flex back the spring clip on the side of the presenter until the guide s tabs are just fully exposed shown above Then lift and remove the guide from the presenter right picture 2011 Telpar Inc Rev 20121001 Page 11 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 3 Paper Loading 2 3 1 Side Loading Roll The MTP 2822 and MTP 2832 printers are configured as side loading units Slide the roll of paper over the spindle so that the paper will feed into the print mechanism from the bottom of the roll thermal coated side up To load paper power the printer and feed the straight edge of the paper into the print mechanism s paper in feed slot NOTE The printer does not have an ON OFF Switch Inserting paper will result in the automatic loading of paper once the leading edge of the paper covers the Paper Present Sensor in the mechanism Section 2 2 1 Ensure that the paper is installed correctly and feeding properly with the thermal side facing up 2 3 2 Top Loading Roll The MTP 2242 and MTP 2283 printers are configured as a drop in loader as shown below Load the roll of paper by placing the spindle inside the roll of paper and slide the spindle into the slots The paper must feed into the print mechanism from the bottom of the roll thermal coated side up To load paper power the printer and feed the straight edge of the paper into the paper guide NOTE The printer does not hav
37. djustable paper low sensor Paper auto load function ESC POS The commands conform to ESC POS LEDs visible and DIP switches accessible without removing cover International character set U S A France Germany England Denmark 2 choices Sweden Italy Spain 2 choices Japan Norway Latin America and Korea Barcode embedded symbologies UPC A UPC E EAN 13 EAN 8 3of 9 ITF CODABAR and Code 128 Two resident font sizes Code pages 437 850 858 860 863 865 and WPC 1252 Bit image mode Reverse video mode Black mark sensing TOF mode ESC POS is a registered trademark of SEIKO EPSON Corp 2011 Telpar Inc Rev 20121001 Page 5 Telpar Inc MTP Series Receipt Thermal Printer User Manual 1 3 Power Supply Requirements 1 3 4 External Power Supply supplied separately Use a Listed Certified Power Supply Follow local wiring codes for external wiring Two ways to connect Power to the MTP Series Barrel Jack Power Connector comes Hosiden Power standard on all current T Connector option MTP printers 4 for legacy 5 5 X 2 1 X 9 5mm Male applications only center positive voltage see pinout below 1 3 2 Voltage 24 VDC 5 These printers operate using high speed currents at a low duty cycle Typically a switching power supply rated at 24 Volts DC 2 Amps 50 Watts is all that is needed as long as the power supply selected can provide the maximum peak current for the Printing R
38. e presenter assembly while document printing is in progress Finally after the completed document is cut the presenter ejects the document up to the trailing edge of the paper which it holds so that the customer may take the document from the presenter exit The printer can be configured to retract the document if the customer has not removed it after a specified passage of time Check with our sales team to see if a Document Presenter would be beneficial to your application 2011 Telpar Inc Rev 20121001 Page 7 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 Operator Instructions 2 1 Unpacking and Inspection Carefully unpack and inspect your printer for any damage that may have occurred in transit Should any damage have occurred notify Telpar Inc save the shipping carton and packing materials and file a damage claim with the carrier Specify the nature and the extent of the damage Before installing or operating the printer check the following e Printer mechanism and paper path are clear of all packing materials or other foreign matter e Paper is installed DO NOT OPERATE the printer without paper Refer to Section 2 3 Paper Loading for paper loading instructions 2 2 Printer Sensors The MTP series of printers use infrared reflective sensors to detect when the paper roll is getting low when paper is present under the print head and when paper has entered the document presenter if your printer has the do
39. e Print Head of the MTP 2283 14 3 Manual Operation and General Operational Tests 15 3 1 Paper Gut and Paper Feed Buttons 15 3 2 Self Test Mode and Burn in Mode 15 3 2 1 Sol E EE 15 Q2 JEactory BUtDisibMOGG ciui cuoi todo uu uu uuu unus ut muu u umu sa au uols 15 4 Prnter eu d Ol u uu SEEN Rx u bap NT eo x na ana ks Se akka yasaq 16 4 1 DIP Switch Settings and Print Darkness Adjustment 16 4 2 Control Codes and Control Sequences 18 4 2 1 General ee EE 18 4 2 2 Descriptions OL 61 ee Un Le 23 A arl S AaS COMMA S EE 23 dq DEP OM Tea EE 24 e EE Ee ee 24 ADA Telpars Window OMmmMAanGS EE 24 4 2 2 5 Bit Image BI Graphics Mode Commande 25 422005 Print Bar Cod ommanda ou u u u a u n a kan a a uka au 25 2 Bar C Ode 123 Ae elt EE 26 2011 Telpar Inc Rev 20121001 Page 3 Telpar Inc MTP Series Receipt Thermal Printer User Manual 43 Serial RS 232C Interface oon sceusd d epi EXPE EDU EL CIS Oe XPsSu EO Fra S NES OD MED daami naina in 28 4 3 1 Serial RS 232C Interface Gpecifcaion nennen 28 432 Dena bl e elai a lt ee EE 28 4 3 8 Optional MTP Serial Adapter C
40. e an ON OFF Switch Inserting paper will result in the automatic loading of paper once the leading edge of the paper covers the Paper Present Sensor in the mechanism Section 2 2 1 Ensure that the paper is installed correctly and feeding properly with the thermal side facing up MTP 2283 Paper loading 2011 Telpar Inc Rev 20121001 Page 12 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 4 Clearing a Paper Jam In the event of a paper jam condition do not force paper into the unit or try to pry the paper out of the unit this may damage the thermal print mechanism Instead lift the print head up off the paper to clear a jam as shown below Caution should be exercised when working next to the cutter mechanism the blades are sharp and may cause serious injury Therefore it is recommended to unplug the Printer before clearing a jam 2 4 1 Lifting the Print Head and Cutter Sections of the MTP 2822 MTP 2832 and MTP 2242 The MTP 2822 MTP 2832 and MTP 2242 s Head Up lever is located by the Paper Feed knob as shown below Rotating the lever to the fully down position allows the print head to physically contact the paper while also closing an interlock switch which tells the printer it is ready to print you will not be able to print if the lever is up When the lever is in the middle position it reduces pressure between the print head and the print platen roller for easier manual feeding In the fully up posit
41. ead Latch Switch In the case of dirty sensors obstructed by dust or paper fragments clean sensors by blowing pressurized air over the sensor face 6 2 LED Diagnostics and Error Detection Codes Five LED s are located on the printer as shown below These LED s have the following functions Power LED The Top most LED Indicates 5 Volt power is present LED 1 Indicates the Printer is Ready when blinking LED 2 provides PAPER LOW and PAPER OUT status e Blinking indicates Paper Low Status e ON indicates Paper Out Status H LED 3 amp 4 Provide error status see table below 8 8 2011 Telpar Inc Rev 20121001 Page 46 Telpar Inc MTP Series Receipt Thermal Printer User Manual 6 3 LED Error Code Definitions Table Certain ERROR codes are reported when they occur by a sequence of blinks of LEDs 3 and 4 located on the controller board The ERROR BLINK patterns are listed below This table is also printed during a self test LED 3 blinks ON four times indicated in the table below as T1 T2 T3 and T4 Following each sequence of blinks there is a pause before repeating the sequence The ON times of LED 3 Is the time base used for encoding the error reporting by LED 4 LED 4 blinks ON during some of the four times that LED 3 blinks ON The pattern of ON times of LED 4 listed in the table below indicates the ERROR being reported The printer s audio beeper will also sound a long tone at the same time LED 4 is ON T1 T2
42. ed from the language monitor and the names of the bits that are set 2011 Telpar Inc Rev 20121001 Page 56 Telpar Inc MTP Series Receipt Thermal Printer User Manual Visual Basic 6 0 Demo Source Code The Visual Basic 6 0 Source Code is displayed below with comments Fig 2 Option Explicit Declare Telpar Language Monitor DLL routines Updated Language monitor routine Private Declare Function GetPrinterLMStatus Lib TP2KMON adll Alias GetPrinterStatus ByVal sPrinterName As String As Long Legacy language monitor routine The legacy language monitor routine will search the computers printer list for the first printer with MTP in the name and use this printer in the call to the updated language monitor routine This routine was kept in order to maintain backward compatability with customers existing software Private Declare Function GetLMStatus Lib TP2KMON dll As Long Private Sub Form Load load up printer combo list GetPrintersList load up interval combo list with times in milliseconds comboParallellnterval Addltem 500 comboParallellnterval Addltem 1000 comboParallellnterval Addltem 2000 comboParallellnterval Addltem 3000 comboParallellnterval Addltem 4000 comboParallellnterval Addltem 5000 comboParallellnterval Addltem 10000 comboParallellnterval Addltem 20000 comboParallellnterval Addltem 30000 comboParallellnterval Addltem 40000 comboParallellnterval Addltem 50000 comboParallellnterv
43. ed to repair or replacement as Telpar determines in its sole discretion The warranty described above does not include any labor or service costs for removing or replacing parts or any shipping charges Any repair performed by Telpar under this warranty does not extend the original warranty period of any Product This warranty shall not apply to any Product which has i been repaired or altered except by Telpar ii not been maintained in accordance with all of the operating or handling instructions supplied by Telpar or iii been subjected to misuse willful acts abuse tampering negligence or accident unusual physical or electrical stress as Telpar determines in its sole discretion Customer acknowledges that Telpar provides no warranty for any third party materials and Telpar is not responsible and will have no liability for any items or services provided to Customer by any person or entity other than Telpar Telpar s duty to perform under any warranty may be delayed at Telpar s sole option until Telpar has been paid in full for all Products purchased by Customer No such delay shall extend the warranty period To obtain assistance under this limited warranty Customer should contact the selling agency or write to Telpar Warranty Claims Department 187 Crosby Road Dover NH 03820 U S A Telephone 800 872 4886 or fax 603 742 9938 No person including without limitation any agent salesman dealer or distributor has the authority to act
44. ers aspx for our latest available drivers A simple set of library routines is provided to the programmer to access the printer s status The Printer Language Monitor is integrated into the Windows operating system components to communicate with the printer The Telpar Printer Language Monitor is comprised of a number of dynamic linked libraries and drivers which are installed during the printer driver installation A programmer can make use of the Printer Language Monitor to retrieve printer status with a simple routine available in the library TP2KMon dll The TP2Kmon dll library makes use of routines in the other libraries and drivers to retrieve printer and port information in the system The Telpar Language Monitor will retrieve printer status from any MTP 2xxx Series Thermal Printers which use an installed Telpar TLM Printer Driver for the particular model printer being used printer driver must be downloaded and installed first Existing versions of TLM drivers should be uninstalled before installing a different version of the TLM driver The Printer Language Monitor also provides legacy support for applications developed for use with the previous Telpar Printer Language Monitor Therefore applications do not have to be changed to work with the new language monitor Language Monitor Files The Telpar Language Monitor consists of the following files TP2KMon dll TelparMonitor dll TelparPIO32 dll TelparlO sys The above files are included d
45. ersStatusMonitor AddToStatusList pszMessage Free the DLL module fFreeResult FreeLibrary hinstLib else wsprintf pszMessage ERROR LoadLibrary cszPrinterStatusMonitor AddToStatusList pszMessage return Status 2011 Telpar Inc Rev 20121001 Page 64
46. etVal RetrievePrinterStatus sMsg End Function Update real time status bits Function UpdateRealTimeStatusBits data As Long As String Dim X As Long Dim As Integer Dim Msg As String Print time stamp and data received in hex format Msg Now amp Ox amp Format Hex data 0000 amp Update status check boxes based on data received 2011 Telpar Inc Rev 20121001 Page 59 Telpar Inc MTP Series Receipt Thermal Printer User Manual X71 start with bit 0 For 0 To 15 check bits 0 to 15 If data And X Then If bit set set check box to checked The check boxes are indexed in the control array in the same order as the bit locations chkStatus l Value vbChecked Add status to status text string Msg Msg amp amp chkStatus l Caption amp Else chkStatus l Value vbUnchecked End If next bit to check X X 2 Next Return the status text string UpdateRealTimeStatusBits Msg End Function Private Sub comboParallellnterval Click If tmrPrinterStatusPoll Enabled Then tmrPrinterStatusPoll Interval Val comboParallellnterval Text End If End Sub Button to clear received data list Private Sub cmdClearReceivedData Click ListStatus Clear End Sub Exit button Private Sub cmdExit Click End End Sub 2011 Telpar Inc Rev 20121001 Page 60 Telpar Inc MTP Series Receipt Thermal Printer User Manual Visual C 7 0 MFC Demo Application The Visual C
47. f Test To place the unit into self test mode remove power from the printer then press and hold the FEED button see above Next return power to the printer then release the paper feed switch after hearing one beep The printer will print a Self Test form showing pertinent information pertaining to the current setup and sample text and barcodes 3 2 2 Factory Burn in Mode NOTE The printer does not have to be connected to a host computer PLC or other controller to enter the Factory Burn in Mode If the Feed button is held for five beeps after power is applied to the printer the printer will enter the Factory Burn In Mode Fifty shorter sheets will be printed 2011 Telpar Inc Rev 20121001 Page 15 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 Printer Control 4 1 DIP Switch Settings and Print Darkness Adjustment Note Both the Printer s DIP Switch and Print Darkness Adjustment can be accessed through the cutout in the metal chassis as shown DIP Switch Bank as looking through the YZ Rar U Print Darkness h I EL LN X printer s chassis iS i Adjustment as looking through the chassis DIP Switch Settings Each Printer in the MTP series of printers has a DIP Switch located on the main circuit board see photo below The DIP Switch contains a bank of eight individual switches each of which controls some aspect of the printer and are described in the table below The switches can s
48. f a blank document verify that the roll of paper is Thermal Paper not plain paper and that the paper is fed into the printer with the thermal side up this is the most common cause for receiving a blank document as only one side of a roll of thermal paper is printable typically In the case of the print appearing too light check the setting of the darkness control adjustment R35 on the Main Circuit Board Print Density Try rotating the adjustment clockwise to darken the print It is recommended that the darkness level be increased to the point that just meets the desired darkness level under the normal ambient operating conditions for the printer application this will help extend the life of the print head element 2011 Telpar Inc Rev 20121001 Page 45 Telpar Inc MTP Series Receipt Thermal Printer User Manual Printer prints gibberish when sending Serial Information to the Printer apparent random characters gt check the following a The default factory settings for the MTP Series serial protocol is printers is 15 200 bps baud rate 8 Data Bits 1 Stop Bit No Parity The Host controller computer PLC etc must be set to the same settings as the printer in order for the printer to print correctly Paper jams in Printer or Presenter gt check for the following ALWAYS KEEP FINGERS AND TOOLS AWAYS FROM CUTTER BLADES a Obstructions in the paper path including the paper presenter loop if a presenter is used it is ve
49. flash memory 9 Turn power off 10 Restore Switch 1 position 8 to the OFF position 11 Print a Self Test to verify settings and printer operation a Hold Feed Button while turning printer power on b Release Feed button after one beep C Self Test printout example User Configuration Settings Serial Port 115 2K 8 N 1 DTR CTS Detect Top of Form TOF DISABLED Print Reverse Portrait DISABLED Presenter Eject Retract RETRACT International Character Table USA Appendix B Updating the flash firmware to a different version 2011 Telpar Inc Rev 20121001 Page 49 Telpar Inc MTP Series Receipt Thermal Printer User Manual This procedure describes how to update the firmware on the Telpar MTP 28XX and MTP 22XX thermal printers This operation is performed through the serial port and the serial interface of the printer The materials required for this is HyperTerminal a serial cable and a serial interface on the printer The available flash files for the various printers may be downloaded from our website at www telpar com 1 Connect a serial cable between a Windows PC and J9 on controller board 2 Start HyperTerminal with settings at 115 200 N 8 1 NOTE If you are using Windows 7 or higher you can usually find a downloadable version of HyperTerminal on the Internet that is free for personal use a Start gt Programs gt Accessories gt Communications gt HyperTerminal b Name Configuration c Select Comm Port
50. iTLM Enable Printer Interval ims Status Polling sp0 Printer Status Biks Head Up Delivery Jam Paper Qut Receipt Dropped Paper At Delivery W Receipt Taken iw Cutter Home Printer Busy Paper Low Cutter Error Spare Receive Buffer Full Printhead Over Temp Spare Printer Errar Receipt Purged Printer Data Received From Language Monitor 02 44 06 PM Get Printer Status For MTP 2283iTLM Printer Status Far MTP Z283iTLM 0x0408 Cutter Home Use Selected Printer The Use Printer Selected check box is used for allowing the selection of a specific printer for demonstrating the available language monitor routines Get Printer Status Button This button will execute the language monitor routine to retrieve and display the printer status Enable Printer Status Polling Button This button will enable a timer for polling the printer status at the specified interval Printer Status Bits Check boxes represent the status of each individual printer status bit with its definition Printer Data Received From Language Monitor A list of activity is displayed including the time data returned from the language monitor and the names of the bits that are set 2011 Telpar Inc Rev 20121001 Page 62 Telpar Inc MTP Series Receipt Thermal Printer User Manual Visual C Source Code A Visual C Project file was included with the zip file Following are key sections of code used in communication with
51. ion the lever lifts the print head off of the platen roller for manually inserting paper or for clearing a paper jam Both the middle and up positions signal the microprocessor that the head is up so that no printing will occur A Head Up Lever shown in the down or closed position Pertains to the MTP 2822 the MTP 2832 and the MTP 2242 Head Up Lever shown in the up or open position Pertains to the MTP 2822 the MTP 2832 and the MTP 2242 The MTP 2822 MTP 2832 and MTP 2242 have a cutter mechanism that can easily be rotated up away from the print head to further assist in clearing jams that occur between the print head and the cutter However if the printer has a Document Presenter and a paper jam exists between the print head and the cutter or between the cutter and the presenter the presenter section must be pivoted down and out of the way before the cutter section can be raised To do this loosen the presenter s top two mounting screws and pivot the presenter section down as shown below in the left hand picture The cutter section can then be raised as shown in the right hand picture Once the presenter is out of the way the cutter section can be raised Loosen two top screws and pivot the presenter down to access a paper jam in cutter section 2011 Telpar Inc Rev 20121001 Page 13 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 4 2 Lifting the Print Head of the MTP
52. it board Section 4 2011 Telpar Inc Rev 20121001 Page 8 Telpar Inc MTP Series Receipt Thermal Printer User Manual MTP 2822 MTP 2832 and MTP 2242 Paper Present Sensor The Paper Present Sensor shown here is part of the print head mechanism and is located at the front of the mechanism s paper entry slot This sensor detects if paper is present in the print head mechanism If there is no paper presently in the printer and paper is fed through the entry slot the printer will perform an auto feed operation If paper is in the printer mechanism and the paper supply runs out the printer will indicate an out of paper status This sensor can be cleaned by blowing pressurized air over the sensor face through the paper entry slot The Presenter Sensor may then be cleaned through this rectangular cutout in the chassis Loosen two top screws and pivot the Presenter down to access the Presenter Sensor DOCUMENT PRESENTER OPTION ONLY MTP 2822 MTP 2832 and MTP 2242 The Presenter Sensor location shown above detects when the leading edge of the paper has entered far enough into the presenter section to stop the presenter motor from turning and thereby preventing the paper from being ejected until the printer prints and cuts the document It also detects if the document has been successfully ejected or retracted from the presenter section after the document has been printed and cut To acce
53. lide up into the ON position or downs into the OFF position the picture below shows switches 1 2 and 3 in the OFF position and switches 4 5 6 7 and 8 in the ON position A small tip screwdriver or even a pen tip may be used to change the position of the switches The DIP Switch on each type of printer can be accessed through a cutout hole on the metal circuit board cover therefore DIP Switch changes can be made without removing the cover IMPORTANT NOTE If you make any changes to the DIP Switch settings you must first cycle power to the printer in order for the changes to take place Print Darkness Adjustment Control R35 on the circuit board is the Print Darkness or Print Density Control see photo below Clockwise rotation of the control increases print darkness but also consumes more current and shortens the life of the print head Therefore it is recommended that the darkness level be increased to the point that just meets the desired darkness level under the normal ambient operating conditions for the printer application DIP Switch contains a bank of eight individual switches with each switch controlling some functional aspect of the printer see table below Here positions 1 3 are shown OFF while 4 8 are shown ONT The Print Darkness Print Density adjustment is located below the DIP Switch as shown Rotation clockwise increases the print darkness but also draws more
54. ly exposed shown below in left hand picture Then lift and remove the guide from the presenter right picture Document Presenter s top guide plate can be easily removed to allow access to paper jams in the cutter presenter section 2011 Telpar Inc Rev 20121001 Page 14 Telpar Inc MTP Series Receipt Thermal Printer User Manual 3 Manual Operation and General Operational Tests 3 1 Paper Cut and Paper Feed Buttons The MTP series of printers have two external momentary push buttons that allow the operator to manually feed and cut paper The locations of these buttons are shown below When the Feed Button is pressed the printer will feed paper until the Feed Button is released When the Cut Button is pressed and released the printer will feed and cut one short section of paper MTP 2822 MTP 2832 MTP 2242 CUT BUTTON is on top FEED BUTTON is on the bottom MTP 2283 CUT BUTTON is on the right FEED BUTTON is on the left 3 2 Self Test Mode and Burn in Mode The MTP series has a self test and Burn in mode that will print and cut sample documents All electrical and mechanical portions of the printer are exercised and checked by this action except for the communication interface components The self test printout also shows pertinent information pertaining to the current printer setup 3 2 4 Self Test NOTE The printer does not have to be connected to a host computer PLC or other controller to perform a Sel
55. mmon 5 SLCT High Ievelwhen printeris on 18 _ IO5 ASCII data bit Bi directional 26 Circuit Common 4 4 4 4 4 lt lt 1 2 3 4 5 T 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2011 Telpar Inc Rev 20121001 Page 30 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 4 2 Optional MTP Parallel Adapter Cable Telpar Part Number 800180 101 2 For customers who wish to connect to the printer with the traditional 25 Pin D Sub Connector Telpar offers an MTP Parallel Adapter Cable as shown below This 6 long cable plugs into the J5 parallel connector on the main circuit board and has enough length to exit the printer chassis as shown below for external connections to a cable The pinout for the D Sub connector is shown in the table below MTP Parallel Adapter Cable Parallel Interface Pin Assignments Cent Name BUSY Function in Centronics Mode SPP PeripheralAck High level when printer cannot accept data Xflag PeripheralClk PeripheralReq AckRev SLCT ACK ERR High level when printer is on Active low pulse when data is accepted Low level when an error occurs 0 N T High level when printer is out of paper UC ASCII data bit 0 LSB UC ASCII data bit 1 UC ASCII data bit 2 UC ASCII data bit 3 UC ASCII data bit 4 UC ASCII data bit 5 UC ASCII data bit 6 UC ASCII data bit 7 Low level system reset IO lO2 O O
56. n is contained in the zip file VB6PrinterStatusDemo zip 2011 Telpar Inc Rev 20121001 Page 55 Telpar Inc MTP Series Receipt Thermal Printer User Manual The Demo Application will appear as follows Fig 1 m Telpar VB6 MIP 2700 Printer Language Monitor Demo Use Printer Selected Printer Enable Printer Status tele 3 Polling 1 O00 Printer Statue Bits Head Up Delivery Jam Paper Out Receipt Dropped Paper at Delivery le Receipt Taken Cutter Horne Printer Busy Paper Low Cutter Error Spare Sensor Rs Buffer Full Over Temp Spare Printer Error Receipt Purged Printer Data Received From Language Monitor 1 6 2006 10 53 06 AM Ox0408 Cutter Hame R File Menu The File Menu contains an About item for version information and an Exit item to exit the program Use Printer Selected The Use Printer Selected check box is used for allowing the selection of a specific printer for demonstrating the available language monitor routines Retrieve Printer Status Button This button will execute the language monitor routine to retrieve and display the printer status Enable Printer Status Polling Button This button will enable a timer for polling the printer status at the specified interval Printer Status Bits This displays the status of each individual printer status bit with its definition Printer Data Received From Language Monitor A list of activity is displayed including the time data return
57. ngs in flash memory Appendix B Updating the flash firmware to a different version Appendix C How to use the Telpar Language Monitor to get Status Feedback from the Printer includes sample Source Code in BASIC and C 2011 Telpar Inc Rev 20121001 Page 4 1 General Telpar Inc MTP Series Receipt Thermal Printer User Manual For detailed specifications for each of the individual printers please see Section 5 in this manual The MTP series of modular thermal printers is designed specifically for the high performance size and durability requirements of cut and drop or cut and present with optional Document Presenter applications The compact size and high performance characteristic coupled with its rugged design makes it ideal for the kiosk environment These models make up the MTP Series covered in this manual MTP 2822 60 mm 2 36 in paper width MTP 2832 80 mm 3 15 in paper width MTP 2242 114 mm 4 49 in paper width MTP 2283 215 9 mm 8 5 in paper width All models above may be ordered with an optional Document Presenter 1 1 1 2 Applications Kiosks Automated Teller Machines ATMs Parking ticket dispensing Gaming receipts Standard Features Direct thermal printing Interfaces Serial RS 232 Parallel and USB interfaces all on the same printer Auto Cutter full cut partial cut under software control is standard All metal construction A
58. on behalf of Telpar to expand Telpar s obligation beyond the terms of this express warranty or to state that the performance of the Product is other than published by Telpar For Products not manufactured by Telpar to the extent permitted Telpar assigns to Customer the benefits of any warranties provided to Telpar by the manufacturer s of the Product THE FOREGOING IS A LIMITED WARRANTY AND IT IS THE ONLY WARRANTY PROVIDED BY TELPAR TELPAR DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED INCLUDING ALL IMPLTED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ALL WARRANTIES OR INDEMNITIES FOR PATENT OR COPYRIGHT INFRINGEMENT IN NO EVENT SHALL TELPAR BE LIABLE FOR ANY INDIRECT INCIDENTAL SPECIAL OR CONSEQUENTIAL DAMAGES INCLUDING LOSS OF PROFITS REVENUE DATA OR USE INCURRED BY CUSTOMER OR ANY THIRD PARTY WHETHER IN AN ACTION IN CONTRACT OR TORT ARISING OUT OF OR RELATED TO THIS AGREEMENT EVEN IF TELPAR OR ANY OTHER PERSONS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES TELPAR S LIABILITY FOR DAMAGES HEREUNDER FOR ANY CAUSE WHATSOEVER SHALL IN NO EVENT EXCEED THE AMOUNTS RECEIVED BY TELPAR FROM THE CUSTOMER FOR THE PRODUCTS TELPAR SHALL NOT BE RESPONSIBLE FOR ANY LOSS DAMAGE OR EXPENSE OF ANY KIND CAUSED DIRECTLY OR INDIRECTLY BY THE USE OR PERFORMANCE OF THE PRODUCT PROVIDED HEREUNDER Upon inspection Telpar will make necessary repairs or replacement and return the merchandise shipping prepaid 2011 Telpar Inc
59. on was formerly used to initiate a printer status request This function is no longer necessary and is available for previously developed applications expecting this routine to be present Printer Language Monitor C Declaration void ReqLMStatus VOID VB6 Declare Statement Private Declare Sub RegLMStatus Lib TP2KMON dll 2011 Telpar Inc Rev 20121001 Page 54 Telpar Inc MTP Series Receipt Thermal Printer User Manual Visual Basic 6 0 Demo Application The Visual Basic 6 0 Demo Application makes use of Visual Basics standard controls to display status information and accept user input for selecting a printer and retrieving printer status A Declare statement is used to define the Telpar Printer Language Monitor routines to retrieve printer status The Demo application provides examples of each Printer Language Monitor status retrieval function An example of a function to retrieve status information from a specified printer and an example of a function to retrieve status from the first available MTP 2200 printer in the system is provided Upon retrieval of the printer status data the data is analyzed and the individual bit status is displayed in the form of check boxes Included in the Visual Basic 6 0 Demo is a timer for use with continuous printer status polling at a specified interval Also displayed in the application is a list box containing application activity The Project Source code and executable for this applicatio
60. ressurized air over the sensor face through the Rectangular cutout in the chassis MTP 2283 Paper Low Sensor The Paper Low Sensor shown here is mounted on the paper roll holder It detects when the paper roll is almost depleted Printer status feedback will indicate whether or not the sensor detects the roll as the roll s diameter decreases with use The sensor surface can be cleaned by blowing pressurized air over the sensor face through the hole in the roll side of the chassis 2011 Telpar Inc Rev 20121001 Page 10 Telpar Inc MTP Series Receipt Thermal Printer User Manual DOCUMENT PRESENTER OPTION ONLY MTP 2283 The Presenter Sensor location shown below detects when the leading edge of the paper has entered far enough into the presenter section to stop the presenter motor from turning and thereby preventing the paper from being ejected until the printer prints and cuts the document It also detects if the document has been successfully ejected or retracted from the presenter section after the document has been printed and cut To access the Presenter Sensor remove the presenter s top paper guide first To do this lightly flex back the spring clip on the side of the presenter until the guide s tabs are just fully exposed shown below Then lift and remove the guide from the presenter right picture To access the Presenter Sensor on the MTP 2283 you must remove the presenter s top paper gui
61. ry important that the paper loop that forms below the presenter section does not physically contact anything a Misalignment of the paper path This is possible if the printer s original paper roll holder is not being used but rather a different design has been implemented that allows the paper roll to be located away from or outside of the printer If this is the case you must make sure your design maintains a reliably aligned paper path from the paper roll location to the printer a Is Incorrect or out of spec paper is being used Paper that is not to the paper specifications for your printer increases the chances of having repetitive paper jams a An Inoperable document cutter or damaged cutter blades not fully opening or closing a Is the Customer allowed to pull the exiting document before the printer is done printing or cutting This is a common jam scenario To avoid this possibility specify the document presenter option by added to your printer when ordering Printer suddenly stops and does not respond unless the power switch is cycled gt check the following ALWAYS KEEP FINGERS AND TOOLS AWAYS FROM CUTTER BLADES a Is there a paper jam condition Are cutter blades not fully open if applicable a Check the Diagnostic Error LEDs and use the table below to interpret the problem the printer is reporting See if the problem can be corrected based on the printer s diagnostic feedback a Possible dirty or defective paper sensors or Print h
62. s in the current positions NUL character size Data values range from 1 to 255 in ascending order The NUL character 00 hex terminates this command if less than 32 tab settings are being set If a data value is less than the previous data value this command is terminated ESC D NUL clears all tab positions Default is every 8 columns Print after a tab starts in the column following the tab setting specified Forward paper feed ESC J n 1B 4A n Feed paper n dot lines If there is data in the for n dot lines buffer it is printed and paper is fed the difference of the n and the amount needed to print the data Range 0 to 255 dec Select International ESC R n 1B 52 n Select international character set Range 0 character set through 15 dec See International Character Sets for characters affected for each character set Select justification n 00hex left justify n 01hex center justify for bar code n 02hex right justify GS L GS W and ESC will also affect the bar code justification 2011 Telpar Inc Rev 20121001 Page 19 Telpar Inc MTP Series Receipt Thermal Printer User Manual Name Command EC Description ASCII Select paper type ESC c 1 n 1B 63 31 n BitO 0 Normal paper Bit 0 1 TOF Black Mark sensor enabled Default is based on Dip switch 2 position 1 Paper sensor to ESC c3 n 1B 63 33 n Command is not implemented all four bytes will output PE signal be ignored Paper sensor to ESC C
63. s the DLE A n1 n2 command n1 and n2 define a mask using the same byte bit structure as in the table below A 1 in a bit position enables the automatic transmission of DLE A and the 2 status bytes when an enabled condition occurs The bit positions marked as errors in the table will always cause the automatic transmission of DLE E and the 2 status bytes so these positions will usually be 0 in the user defined mask B Buffered status DLE B and the 2 status bytes are transmitted when the DLE B command is processed out of the input buffer R Real Time Status If enabled by US R n command DLE R and the 2 status bytes are transmitted immediately when the DLE R command is received by the printer U z nota true STATUS request When DLE U n1 n2 is processed out of the receive buffer the printer transmits DLE U n1 n2 back to the host The user can send DLE U n1 n2 anywhere within a document if he needs to know that the printer has processed the document up to that point DLE A command Second Status byte transmitted and MASK for DLE A command Type First Status byte transmitted and MASK for BEER eke KS ES Printer s response to a STATUS REQUEST command 2011 Telpar Inc Rev 20121001 Page 23 4 2 2 2 4 2 2 3 4 2 2 4 DN KS 0 Double wide print OFF MR Telpar Inc MTP Series Receipt Thermal Printer User Manual Set Print Mode ESC n 1B 21 n Ku s 0 Double high print OF
64. ss the Presenter Sensor loosen the presenter s top two mounting screws and pivot the presenter section down as shown above The Presenter Sensor may then be cleaned through the rectangular cutout in the chassis 2011 Telpar Inc Rev 20121001 Page 9 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 2 2 Sensors on the MTP 2283 MTP 2283 Accessing the Paper Present Sensor The MTP 2283 Paper Present Sensor is located under the print head mechanism and therefore the print head must be raised to access this sensor The MTP 2283 s print head is raised by first lightly lifting the cutter release latch on the center top of the printer to let the cutter mechanism pivot downward left picture Next gently flex back the two spring clips on each side of the print head until the clips just clear the spring pins middle picture Finally once both spring clips are free from the clip pins rotate the print head up right picture MTP 2283 Paper Present Sensor The MTP 2283 Paper Present Sensor is located below the rectangular cutout under the print head mechanism as shown This sensor detects if paper is present in the print head mechanism If there is no paper presently in the printer and paper is fed through the entry slot the printer will perform an auto feed operation If paper is in the printer mechanism and the paper supply runs out the printer will indicate an out of paper status This sensor can be cleaned by blowing p
65. t the width of the bars used to print bar magnification codes The width of a narrow bar is set to n Range 1 to 8 Default 2 A setting of n 1 prints a bar code so small it is possibly not readable Bit image command US nH nL 1F 2A nH nL 256 nH nL defines how many bytes of bit data data image data will follow See Section 4 2 2 5 for more details Set Page Length US C nH nL 1F 43 nH nL Sets the page length to 256 nH nL dot lines Default is 11 inches Overwrites the page length set by ESC C Eject retract ticket 1F 45 n Bit O of n 2 0 sets the mode to RETRACT an untaken ticket back into the printer Bit 0 of n 1 sets the mode to EJECT an untaken ticket out the front of the printer USE Set timeout to use US K 1F 4B n If a document is cut and presented but not before an untaken removed and another document is sent to ticket is purged the printer the first document will not be purged either Ejected or Retracted until n seconds after the first document is presented Default is 5 second Global IEEE 1284 US S n 1F 53 n Low order nibble of n 0 disables all STATUS Enable STATUS transmissions in IEEE 1284 parallel Disable mode Low order nibble of n 1 thru F enables STATUS transmission Default is disabled 2011 Telpar Inc Rev 20121001 Page 21 Telpar Inc MTP Series Receipt Thermal Printer User Manual Name Command Command Description ASCII hex Start of Document US
66. the checksum causes an odd number of digits a leading zero will be printed 2011 Telpar Inc Rev 20121001 Page 25 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 2 2 7 Bar Code 128 definitions Code128 Character set 103 data chars three different start characters and a unique stop character CodeA consists of the ASCII characters OOhex thru 5Fhex FNC1 thru FNC4 Shift CodeB and CodeC CodeB consists of the ASCII characters OOhex thru 7Fhex FNC1 thru FNC4 Shift CodeA and Code CodeC consists of 2 digit numeral characters OOdec thru 99dec FNC1 CodeA and CodeB The 103 different bar code patterns have different meanings depending on whether CodeA CodeB or CodeC was specified when the data was received The data string must start with A or B or C to specify CodeA CodeB or CodeC A checksum is calculated and printed by the printer to calculate to calculate checksum checksum O sn Us o ID IN v O J EES EE o j 0 j 95 X X 5 se Y Y pr H8 TI e wp C i j a E CNN OAhex 2011 Telpar Inc Rev 20121001 Page 26 Telpar Inc MTP Series Receipt Thermal Printer User Manual 2 je e Is J s pee v 8 3 f 8 8 me w 8 3 e e fa 8 i x 88 3 fe o Im 8 ie y Jm 3 Ip p Im Im er 9 sj t JE se s jme In F F fe fee Tie 92 o H H x me 9 id T ge cj Tec JU DDR qe m ode je dg Iss e JBNOS 9e mm E Ie ee INGE R Sr A EE lo HT MU Teo y
67. to set up the following attributes in Flash Memory 1 Changing Serial Port Settings 2 Enabling the Top of Form TOF Detection 3 Enabling Reverse Portrait Printing 4 Choosing Presenter Eject or Retract Setting 5 International Character Table Selection OFF Normal Print Mode normal operating mode for printer ON Configuration Mode See Appendix A for more details 2011 Telpar Inc Rev 20121001 Page 17 Telpar Inc MTP Series Receipt Thermal Printer User Manual 4 2 Control Codes and Control Sequences Note The following commands are generally used by programmers designing custom software for printer applications using the RS 232 Serial Communications port and which do not require the use of a printer driver 4 2 1 General Usage Print Commands General Usage Print Commands Name Command Command Description ASCII hex Tab HT Move the print position to the next horizontal tab position See ESC D If a TAB is received and there are no more tab positions set on the current line the TAB command is ignored If the TAB will exceed the right margin an auto print is performed and the print position is set to the Start of the next line Line feed LF OA Data on the current line is printed paper is fed one line based on the current line spacing and the print position is set to the left margin If the current line spacing is set to less than the current font height then paper is fed to print the current font height see ESC
68. uring the installation of any of the following printer driver options Notes drivers are based on the printers model number TLM stands for Telpar Language Monitor MTP 2222TLM MTP 2232TLM MTP 2242TLM MTP 2283iTLM MTP 2822TLM MTP 2832TLM 2011 Telpar Inc Rev 20121001 Page 53 Telpar Inc MTP Series Receipt Thermal Printer User Manual Language Monitor Routines The following routines are accessible in the Telpar Language Monitor GetPrinterStatus Description The input to this function is a printer name This allows direct specification of which printer to retrieve status from The function returns an integer containing the status bits returned from the specified printer Printer Language Monitor C Declaration int _SUdeall GetPrintersLatus bPSTIR pszPrinterName VB6 Declare Statement Private Declare Function GetPrinterL MStatus Lib TP2KMON dll Alias GetPrinterStatus ByVal sPrinterName As String As Long GetLMStatus Legacy Support Description This function will retrieve a list of printers available in the system and request status from the first MTP printer in the list The function returns an integer containing the status bits returned from the printer This routine is provided for legacy support Printer Language Monitor C Declaration int GetLMStatus VOID VB6 Declare Statement Private Declare Function Get MStatus Lib TP2KMON dIl As Long ReqLMStatus Legacy Support Description This functi

Download Pdf Manuals

image

Related Search

Related Contents

  Canon FD 35 User's Manual  Arrêt C.A. de Paris du 11 février 2014  Volumat MC Agilia Bomba de Infusión Volumétrica Manual de usuario  Rapport de certification 2004/34 BULL TrustWay  ` ` Jazz  Verifying Statemate Statecharts Using CSP and FDR  

Copyright © All rights reserved.
Failed to retrieve file