background image

 

 

 

 

PROGRAMMING MANUAL 

KIOSK Printe

MTP7632

 

 
 

 
 
 
 
 

 

TELPAR 

187 CROSBY ROAD 

DOVER, NH 03820 

800-872-4886   fax: 603-742-9938 

www.telpar.com 

Summary of Contents for MTP7632

Page 1: ...PROGRAMMING MANUAL KIOSK Printer MTP7632 TELPAR 187 CROSBY ROAD DOVER NH 03820 800 872 4886 fax 603 742 9938 www telpar com ...

Page 2: ...his document is subject to change without notice which is only used for product maintenance or service relative to this manual Telpar reserves the right to improve products as new technology components software and firmware become available If users need further data about the products please feel free to contact Telpar No part of this document may be reproduced or transmitted in any form or by an...

Page 3: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 3 Revision History Date Version Remarks 2006 03 21 V1 0 Original edition ...

Page 4: ...2 FF 2 CR 3 DLE EOT n 3 CAN 6 ESC FF 6 ESC SP n 6 ESC n 7 ESC nL nH 8 ESC n 9 ESC y c1 c2 x1 d1 d y x1 xk d1 d y xk 9 ESC m nL nH d1 dk 11 ESC n 13 ESC 2 14 ESC 3 n 14 ESC n 14 ESC n 15 ESC 15 ESC D n1 nk NUL 16 ESC E n 16 ESC G n 17 ESC J n 17 ESC L 18 ESC M n 19 ESC R n 19 ESC S 20 ESC T n 20 ESC V n 21 ESC W xL xH yL yH dxL dxH dyL dyH 22 ESC nL nH 23 ESC a n 24 ...

Page 5: ...q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n 32 GS FF 34 GS n 34 GS n 36 GS nL nH 36 GS A pL pH n m 37 GS E pL pH m parameter 37 GS E pL pH m d1 d2 m 1 Function 1 38 GS E pL pH m d1 d2 d3 m 2 Function 2 38 GS E pL pH m a1 b18 b11 ak bk8 bk1 m 3 Function 3 38 GS E pL pH m a m 4 Function 4 39 GS x y d1 d x y 8 40 GS m 41 GS 42 GS B n 42 GS C 0 n m 43 GS C 1 aL aH bL bH n r 43 GS C 2 nL nH 44 GS C sa ...

Page 6: ...structions 64 4 1 General Information 64 4 2 Programming ABC 64 4 2 1 Print modes 64 4 2 2 Paper supported 65 4 2 3 PRST action modes 65 4 3 Programming examples 66 4 3 1Initialization 66 4 3 2 Set printing and print data character barcode bit image 67 4 3 3 Print and cut paper 71 4 3 4 Status check 71 4 3 5 Download bit images into RAM or FLASH 72 4 3 6 Recommendations on applicable flow for prog...

Page 7: ...on unit The motion unit has vertical motion unit and horizontal motion unit which specify the least space for vertical motion and horizontal motion ASB Auto status back DPI Print dots per inch one inch equals to 25 4mm It is used to identify the resolution of a printer FI 203DPI means 203 print dots per inch DPI Dot Per Inch Mini breadth To ensure PRESENTER to feed labels out of printer mini bread...

Page 8: ...ffer is full the printer acts as follows 1 Under standard mode prints current line and moves the print position to the beginning of next line 2 Under page mode executes carriage return and moves the print position to the beginning of next line The default setting of the horizontal tab position for the paper roll is every 8th ASCII character ESC D LF Name Format Description Notes Reference Print an...

Page 9: ...nd is disabled according to the printer configuration When automatic line feed is disabled this command is ignored LF DLE EOT n Name Real time status transmission Format ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 2 n 7 9 n 11 Description Transmits the selected printer status specified by n in real time according to the following parameters n 2 Transmit peripheral equipment status n 3 Transmi...

Page 10: ...D button action 4 1 10 Fixed to 1 5 0 1 0 20 Paper adequate Paper end 6 0 1 00 40 Normal Error 7 0 00 Fixed to 0 n 3 Transmits error status defined as below Bit Off On Hex Description 0 0 00 Fixed to 0 1 1 02 Fixed to 1 2 0 00 Fixed to 0 3 0 1 00 08 Cutter normal Cutter error 4 1 10 Fixed to 1 5 0 1 00 20 Top cover closed Top cover open 6 0 1 00 40 Print head temperature normal Print head overheat...

Page 11: ...00 10100 04 14 PRST waiting status Normal Error Top cover open print head overheated paper end 00101 10101 05 15 PRST retraction status Normal Error Top cover open print head overheated paper end paper jam 00110 10110 06 16 PRST ejection status Error Normal Top cover open print head overheated paper end paper jam 0 4 00111 10111 07 17 Auto paper loading status Normal Error Top cover open print hea...

Page 12: ...ex 18 Decimal 24 In page mode deletes all print data in the print buffer This command is enabled only in page mode If data that existed in the previously specified printing area also exists in the currently specified printing area it is deleted ESC L ESC W ESC FF Name Format Description Notes Reference Print data in page mode ASCII ESC FF Hex 1B 0C Decimal 27 12 In page mode prints all buffered da...

Page 13: ... the starting position is set to the upper left or lower right of the printable area using ESC T the horizontal motion unit x is used 2 When the starting position is set to the upper right or lower left of the printable area using ESC T the vertical motion unit y is used For 300DPI printers the maximum right side spacing is 288 305 inches Any setting exceeding the maximum is converted to the maxim...

Page 14: ...However the last received command is effective n 0 ESC ESC E GS ESC nL nH Name Format Range Description Notes Reference Set absolute print position ASCII ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH 0 nL 255 0 nH 255 Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed as below nL nH 256 vertical or horizontal motion unit inches Setting...

Page 15: ...SC ESC y c1 c2 x1 d1 d y x1 xk d1 d y xk Name Format Range Description Notes Define user defined characters ASCII ESC y c1 c2 x1 d1 d y x1 xk d1 d y xk Hex 1B 26 y c1 c2 x1 d1 d y x1 xk d1 d y xk Decimal 27 38 y c1 c2 x1 d1 d y x1 xk d1 d y xk 203DPI model y 3 32 c1 c2 127 0 x 12 Standard ASCII font 0 x 9 Compressed ASCII font 300DPI model 0 y 6 32 c1 c2 127 0 x 18 Standard ASCII font 0 x 12 Compr...

Page 16: ... horizontal direction from the left side The data to define a user defined character is y x bytes Set a corresponding bit to 1 to print a dot or 0 to not print a dot The user defined character definition is cleared when ESC is executed The power is turned off All user defined Characters defined with this command will be cleared when the GS command is executed ESC ESC 203 DPI model When standard AS...

Page 17: ...decided by horizontal dots number and selected bit image mode as follows 203DPI Vertical Direction Horizontal Direction m Bit Image Mode Number of Dots Dot Density Dot density Number of Data K 0 8 dot single density 8 67 DPI 101 DPI nL nH 256 1 8 dot double density 8 67 DPI 203 DPI nL nH 256 32 24 dot single density 24 203 DPI 101 DPI nL nH 256 3 33 35 24 dot double density 24 203 DP 203 DPI nL nH...

Page 18: ...exceeds the number of dots to be printed on a line the excess data is ignored d indicates the bit image data Set a corresponding bit to 1 to print a dot or to 0 to not print a dot After printing a bit image the printer returns to normal data processing mode This command is not affected by print modes emphasized double strike underline character size or white black reverse printing except upside do...

Page 19: ... mode 1 49 Turns on underline mode 1 dot thick 2 50 Turns on underline mode 2 dots thick The printer can underline all characters including right side character spacing but cannot underline the space set by HT The printer cannot underline 90 clockwise rotated characters and white black inverted characters Changing the character size does not affect the current underline thickness Underline mode ca...

Page 20: ...tical motion unit does not affect the current line spacing In standard mode the vertical motion unit y is used In page mode this command functions as follows depending on the starting position and direction of the printable area When the starting position is set to the upper left or lower right of the printable area with ESC T the vertical motion unit y is used When the starting position is set to...

Page 21: ... defined characters ASCII ESC n Hex 1B 3F n Decimal 27 63 n 32 n 127 Cancels user defined characters This command cancels the pattern defined for the character code specified by n After the user defined characters are canceled the corresponding pattern for the internal character is printed If a user defined character has not been defined for the specified character code the printer ignores this co...

Page 22: ...mand cancels the previous horizontal tab settings Up to 32 tab positions k 32 can be set Data exceeding 32 tab positions is processed as normal data Transmit n k in ascending order and place a NUL code 0 at the end When n k is less than or equal to the preceding value n k 1 tab setting is finished and the following data is processed as normal data ESC D NUL cancels all horizontal tab positions The...

Page 23: ...off When the LSB of n is 1 double strike mode is turned on Only the least significant bit of n is enabled Printer output is the same in double strike mode and in emphasized mode ESC can turn emphasized mode on off the last received command is effective n 0 ESC E ESC ESC J n Name Format Range Description Notes Print and feed paper ASCII ESC J n Hex 1B 4A n Decimal 27 74 n 0 n 255 Prints the data in...

Page 24: ...t page mode ASCII ESC L Hex 1B 4C Decimal 27 76 Switches from standard mode to page mode This command is enabled only when processed at the beginning of a line in standard mode This command has no effect in page mode After printing by FF is completed or by ESC S the printer returns to standard mode This command sets the position where data is buffered to the position specified by ESC T within the ...

Page 25: ...e EUC or Korean EUC according to its configuration When Chinese font is selected Chinese font and western font can be printed together The font code in 20 H FE H is identified as Western font automatically and those in A1 H FE are Chinese font When Japanese is selected the command switches western font to Japanese After Chinese font is selected Font A is also enabled automatically ESC R n Name For...

Page 26: ...nd sets the print position to the beginning of the line The page mode zone is initialized as default This command switches the settings for the following commands to those for standard mode Set right side character spacing ESC SP Select default line spacing ESC 2 ESC 3 The following commands are enabled only to set in standard mode Set printing area in page mode ESC W Select print direction in pag...

Page 27: ...ows depending on the starting position of the printing area If the starting position is the upper left or lower right of the printing area data is buffered in the direction perpendicular to the paper feed direction Commands using horizontal motion units ESC SP ESC ESC Commands using vertical motion units ESC 3 ESC J GS GS If the starting position is the upper right or lower left of the printing ar...

Page 28: ... follows Horizontal starting position x0 xL xH 256 horizontal motion unit inches Vertical starting position y0 yL yH 256 vertical motion unit inches Printing area width dx dxL dxH 256 horizontal motion unit inches Printing area height dy dyL dyH 256 vertical motion unit inches If this command is input in standard mode the printer executes only internal flag operation This command does not affect p...

Page 29: ... Y Dx and Dy respectively the printing area is set as shown in the figure below Decided by printer configuration CAN ESC L ESC T GS P ESC nL nH Name Format Range Description Notes Set horizontal relative print position ASCII ESC nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH 0 nl 255 0 nH 255 Sets the print starting position based on the current position by using the horizontal or vertical motion unit ...

Page 30: ... position is set to the upper right or lower left of the printable area using ESC T the vertical motion unit y is used ESC GS P ESC a n Name Format Range Description Notes Default Select justification ASCII ESC a n Hex 1B 61 n Decimal 27 97 n 0 n 2 48 n 50 Aligns all the data in one line to the specified position n selects the justification as follows n Justification 0 48 Left justification 1 49 C...

Page 31: ...ction settings feeding paper is front reversing feed paper is back The relationship between N and the cutting position is defined as below If n increase the cutting position move backward If n decrease the position move forward n 8 mm for 203DPI n 12 mm for 300DPI When nL nH 255 the N saved to printer will not loss even when printer is turned off on ESC c 3 n Name Select paper end signal of paper ...

Page 32: ... detected using n as follows Bit 0 1 Hex Decimal Function 0 00 0 Paper roll near end sensor disabled 0 1 01 1 Paper roll near end sensor enabled 0 00 0 Paper roll near end sensor disabled 1 1 02 2 Paper roll near end sensor enabled 2 7 Undefined Notes When either bit 0 or 1 is on the printer selects the paper roll near end sensor When the paper roll sensor detects a paper end the printer goes off ...

Page 33: ...printing is finished After the waiting time the PRST operates as follows 1 In retraction mode retract the printout into a waste bin after reach a setting time Its main purpose user doesn t take it away in specified time and avoid pollution and keep secrecy for customers 2 In ejection mode discharge the printout after reach a setting time Its main purpose If user doesn t take paper away in specifie...

Page 34: ...d When the LSB of n is 1 the panel buttons are enabled Only the LSB of n is valid When the printer is turned on the real time commands are always enabled When error occurs the real time commands are automatically enabled DLE EOT n ESC c I Name PRESENTER retract immediately Format ASCII ESC c I Hex 1B 63 49 Decimal 27 99 73 Description PRESENTER retract the paper immediately Notes This command does...

Page 35: ...ter cuts paper directly In marked paper mode cutting position is specified with marks and cuts paper ESC l n X0l X0h Y0l Y0h X1l X1h Y1l Y1h Name Underline command Forma ASCII ESC l n X0l X0h Y0l Y0h X1l X1h Y1l Y1h Hex 1B 6C n X0l X0h Y0l Y0h X1l X1h Y1l Y1h Decimal 27 108 n X0l X0h Y0l Y0h X1l X1h Y1l Y1h Range 0 n 255 Description Set the position of start point and end point then make a line in...

Page 36: ... M n command to select English font first then select page code with this command Details see appendix 2 Character code table n 0 ESC v Name Format Description Notes Transmit device status ASCII ESC v Hex 1B 76 Decimal 27 118 Transmits the device status in one byte data The command is non real time Transmits the status via serial interface and or USB interface If printer has serial and USB interfa...

Page 37: ...valid This command is enabled only when processed at the beginning of a line in standard mode When this command is input in page mode the printer performs only internal flag operations This command does not affect printing in page mode n 0 Example FS p n m Name Format Range Description Print NV bit image ASCII FS p n m Hex 1C 70 n m Decimal 28 112 n m 1 n 255 0 m 3 48 m 51 Prints a NV bit image n ...

Page 38: ...loaded bit image to be printed exceeds one line the excess data is not printed ESC FS q GS GS v 0 FS q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n Name Format Range Description Notes Define NV bit image ASCII FS q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n Hex 1C 71 n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n Decimal 28 113 n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n 1 n 255 0 xL 255 1 xL xH 256 1023 1 y...

Page 39: ... into the NV images At this time NV bit images that haven t been defined are disabled undefined but any NV bit images before that are enabled The d indicates the definition data In data d a 1 bit specifies a dot to be printed and a 0 bit specifies a dot not to be printed This command defines n as the number of a NV bit image Numbers rise in order from NV bit image 01H Therefore the first data grou...

Page 40: ... perform printing Printing of the NV bit image is performed by the FS p command FS p When xL 64 xH 0 yL 96 yH 0 GS FF Name Format Description Feed paper until the next black mark reaches print position ASCII GS FF Hex 1D 0C Decimal 29 12 Feed paper until the next black mark reaches print position GS n Name Format n select character size ASCII GS n Hex 1D 21 n ...

Page 41: ... 96 6 06 6 6 70 112 6 07 7 6 This command is effective for all characters alphanumeric and Kanji except for HRI characters If n is outside of the defined range this command is ignored In standard mode the vertical direction is the paper feed direction and the horizontal direction is perpendicular to the paper feed direction However when character orientation changes in 90 clockwise rotation mode t...

Page 42: ...er data in page mode This command sets the absolute print position to nL nH 256 vertical or horizontal motion unit inches This command is effective only in page mode If the nL nH 256 vertical or horizontal motion unit exceeds the specified printing area this command is ignored The horizontal starting buffer position does not move after enabling the command The reference starting position is specif...

Page 43: ...r Name User defined commands Description The user defined commands control the values which are stored in the user NV memory The functions selected by m as below m Format Function 1 GS E pL pH m d1 d2 Enter user defined mode 2 GS E pL pH m d1 d2 d3 End user defined mode 3 GS E pL pH m a1 b18 b11 ak bk8 bk1 Sets the customized data of memory switch 4 GS E pL pH m a Transmits the customized data in ...

Page 44: ...e following commands can be executed Function 2 Function 3 and Function 4 of this command and GS I GS E pL pH m d1 d2 d3 m 2 Function 2 Format ASCII GS E pL pH m d1 d2 d3 Hex 1D 28 45 pL pH 02 d1 d2 d3 Decimal 29 40 69 pL pH 2 d1 d2 d3 Range pL 4 pH 0 m 2 d1 79 d2 85 d3 84 Description Ends the user defined mode and performs the software reset Therefore the printer clears the receive and print buff...

Page 45: ... are changed they become effective when the BA T500 is reset other power is turned on again The setting values can be checked by executing the self test GS E pL pH m a m 4 Function 4 Format ASCII GS E pL pH m a Hex 1D 28 45 pL pH 04 a Decimal 29 40 69 pL pH 4 a Range pL pH 256 2 pL 2 pH 0 m 4 1 a 8 Function Sends the setting values of the memory switch specified with a The contents of the transmit...

Page 46: ...he number of bytes specified by x and y x specifies the number of dots in the horizontal direction y specifies the number of dots in the vertical direction The number of dots in the horizontal direction is x 8 in the vertical direction it is y 8 If x y is out of the specified range this command is disabled The maximum capacity for bit images in RAM is 16K bytes The execution of ESC command will er...

Page 47: ...1 101 300DPI m Mode Vertical Dot Density DPI Horizontal Dot Density DPI 0 48 Normal 300 300 1 49 Double width 300 150 2 50 Double height 150 300 3 51 Quadruple 150 150 This command is ignored if a downloaded bit image has not been defined This command has no effect in the print modes emphasized double strike underline character size or white black reverse printing except for upside down printing m...

Page 48: ...t defined when the power is turned on The defined contents of the macro are not cleared by ESC Therefore ESC can be included in the contents of the macro definition The contents of the macro can be defined up to 2046 bytes If the macro definition exceeds 2046 bytes excess data is processed as normal data GS GS B n Name Format Range Description Notes Turn white black reverse printing mode ASCII GS ...

Page 49: ...ifies the number of digitals to be printed as follows when n 0 the printer prints the actual digits when n 1 t 5 the printer prints the actual digits indicated by the number value m specifies the printing position within the entire range of printer digits as follow m Printing position Processing of digits less than those specified 0 48 Align right Adds spaces to the left 1 49 Align right Adds 0 to...

Page 50: ...aL aH 256 the maximum number is bL bH 256 If counting up reaches a value exceeding the maximum it is resumed with the minimum value If setting count down mode the maximum value of the counter is aL aH 256 the minimum number is bL bH 256 If counting down reaches a value less than the minimum it is resumed with the maximum value When this command is executed the internal counter that indicates the r...

Page 51: ...ing amount of counting up or down sr indicates the repetition number with the counter value fixed sc indicates the counter value Νοtes Count up mode is specified when sa sb sn 0 sr 0 Count down mode is specified when sa sb sn 0 sr 0 Count stop when sa sb or sn 0 or sr 0 When count up mode is specified sa is the minimum counter value and sb is the maximum counter value If the counter value set by s...

Page 52: ...ode HRI indicates Human Readable Interpretation The commands include white black reverse emphasized character size underline 90 clockwise rotation don t affect HRI HRI characters are printed using the font specified by GS f n 0 GS f GS k GS I n Name Format Range Description Notes Transmit printer configuration ASCII GS I n Hex 1D 49 n Decimal 29 73 n n 68 69 153 Transmits the printer configuration...

Page 53: ...xceeds the printable area this command is ignored The horizontal and vertical motion units are specified by GS P Changing the horizontal and vertical motion unit does not affect the current left margin nL 0 nH 0 GS P GS W GS P xL xH yL yH Name Format Range Description Notes Set horizontal and vertical motion units ASCII GS P xL xH yL yH Hex 1D 50 xL xH yL yH Decimal 29 80 xL xH yL yH x xL xHx256 y...

Page 54: ...to the upper right or lower left of the printing area using ESC T data is buffered in the paper feed direction Commands using x ESC 3 ESC J ESC W GS GS Commands using y ESC SP ESC ESC W ESC FS S GS V If the related commands are not executed after changing motion unit relative settings shall not be changed The minimum motion unit is a combined result of this command and other commands 300 DPI model...

Page 55: ...ion unit y is used for calculating the paper feed length In marked paper mode cutting position is set with mark and cut paper GS W nL nH Name Format Range Description Notes Reference Set printing area width ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH 0 nL 255 0 nH 255 Sets the printing area width to the area specified by nL and nH The printing area width is set to nL nH 256 horizontal mot...

Page 56: ...e direction nL nH 256 65536 N Any setting that exceeds the specified printing area is ignored This command function as follows specify motion unit depending on the print starting position set by ESC T When the starting position is set to the upper left or lower right of the printing the vertical motion unit y is used When the starting position is set to the upper right or lower left of the printin...

Page 57: ...at Range Description Notes Enable Disable Automatic Status Back ASB ASCII GS a n Hex 1D 61 n Decimal 29 097 n 0 n 255 Enables or disables Automatic Status Back function When the LSB of n 0 the ASB function is disabled When the LSB of n 1 the ASB function is enabled Only the LSB of n is valid If the ASB function is enabled the printer automatically transmits a four bytes data status After this a fo...

Page 58: ... PRST feeding paper status Normal Error Top cover open Printhead overheated paper end near end paper jam 00100 10100 04 14 PRST waiting status Normal Error Top cover open Printhead overheated paper end near end 00101 10101 05 15 PRST retraction status Normal Error Top cover open Printhead overheated paper end near end paper jam 00110 10110 06 16 PRST ejection status Error Normal Top cover open Pri...

Page 59: ...g paper to cutting position before cut to back paper to normal position after cut 3 PRST paper feeding status is defined as the process from the start of PRST presenting paper after cutting paper status to the start of PRST holding paper for being taken away DLE EOT n GS f n Name Format Range Description Notes Default Reference Select font for Human Readable Interpretation HRI characters ASCII GS ...

Page 60: ...type as follows M Bar Code Number of Remarks 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN13 12 k 13 48 d 57 3 JAN 8 EAN8 7 k 8 48 d 57 4 CODE39 1 k 255 45 d 57 65 d 90 32 36 37 43 5 ITF 1 k 255 48 d 57 6 CODABAR 1 k 255 48 d 57 65 d 68 36 43 45 46 47 58 10 PDF417 1 k 255 32 d 255 65 UPC A 11 n 12 48 d 57 66 UPC E 11 n 12 48 d 57 67 JAN13 EAN13 12 n 13 48 d 57 68 JAN 8 EAN8 7 n 8 48 ...

Page 61: ...sts in the print buffer When data exists in the print buffer the printer processes the data following m as normal data After printing bar code this command sets the print position to the beginning of the line This command is not affected by print modes emphasized double strike underline character size white black reverse printing or 90 rotated character etc except for upside down printing mode Thi...

Page 62: ...mand processing and ignore the following data The printer does not print HRI characters that correspond to the shift characters or code set selection characters HRI character for the function character is space HRI characters for the control character 00 H to 1F H and 7F H are not printed Be sure to keep spaces on both right and left sides of a bar code Spaces are different depending on the types ...

Page 63: ...its paper sensor status and paper end sensor status This command is valid for serial model and or USB model only If printer has serial and USB interface data return to serial and USB interface at the same time The status types to be transmitted are shown below Paper sensor status n 1 49 Bit Off On Hex Decimal Status for ASB Off 00 0 Paper near end sensor paper adequate 0 1 On 03 3 Paper near end s...

Page 64: ...pecifies the bar code width as follows Binary level Bar Code n Module Width dots for Multi level Bar Code Thin element width dots Thick element width dots 2 2 2 5 3 3 3 8 4 4 4 10 5 5 5 13 6 6 6 15 Single level bar codes are as follows UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 CODE128 Binary level bar codes are as follows CODE39 ITF CODABAR n 2 GS k ...

Page 65: ...he width and height are doubled at the same time The printer can underling all the character including right and left side character spacing except the space by HT and 90 degree clockwise rotated characters The thickness of underline is specified by FS regardless with the character size When some of the characters on a line are not in the same height all the characters on the line are aligned at t...

Page 66: ... mode on for Chinese character 2 dot thick Notes The printer can underline all the character including right and left side character spacing except the space by HT and 90 degree clockwise rotated characters When the underline mode for Chinese character is turned off underline printing is no longer executed but the previously specified thickness is not changed the default thickness is 1 dot The thi...

Page 67: ...efined character c1 FEH A1H c2 FEH 0 d 255 k 72 Description Defined user defined Chinese character specified by c1 and c2 Notes c1 c2 indicate character code for the defined character c1 specifies first byte c2 specifies the second byte d indicate data 1 indicate to print 1 dot 0 indicate not print a dot Default No user defined Chinese character Reference FS C The relationship of user defined Chin...

Page 68: ...tal or vertical motion unit inch Notes When double width is set the right and the left spacing is doubled In standard mode the horizontal motion unit is used In page mode it is depending on starting position of the printable area as follows When the starting position is set to the upper left or lower right the horizontal motion unit is used When the starting position is set to the upper right or l...

Page 69: ... off When the LSB of n is 1 quadruple size mode of Chinese character is turned on Notes Only the LSB of n is effective When quadruple size mode is turned on the size of Chinese character is same as when double width mode and double height mode are both turned on When quadruple size mode is turned off the characters are printed in normal size All the characters are aligned at the baseline FS or GS ...

Page 70: ...odes a Standard mode Line mode Standard mode is the default print mode of Kiosk series In this mode the printer prints data and feed paper as long as the line buffer full data buffered is enough for one print line or receiving a print command For instance 0A Examples 1B 40 Initialize the printer 41 42 43 44 45 46 0A Print Printout ABCDEF b Page mode In this mode the printer possesses all data in s...

Page 71: ...ted paper during printing and accommodate the printed paper When the printing is finished and the paper is cut the PRST hands out the printout by holding the back end of printed paper and waits for a specified time for the user to take it away After the waiting time the PRST will a In retraction mode retract the printout into a waste bin to avoid environmental pollution and keep secret of user spe...

Page 72: ... into pager mode 1B 57 00 00 00 00 80 02 00 04 select print area 33 33 33 33 33 20 49 6E 20 70 61 67 65 20 6D 6F 64 65 20 61 6E 64 20 74 68 65 20 70 61 70 65 72 20 69 73 20 62 6C 61 63 6B 20 6D 61 72 6B 20 70 61 70 65 72 20 74 68 65 20 70 72 65 73 65 6E 74 65 72 20 69 73 20 69 6E 20 65 6A 65 63 74 69 6F 6E 20 6D 6F 64 65 21 0C print 1D 56 00 cut paper After transmits the command then Printout 3333...

Page 73: ...dth 76 height 100 0A set the print starting position to the beginning of the line 1B 4C switch to page mode 1B 57 20 00 00 00 60 02 20 03 set print area 50 72 69 6E 74 20 49 6E 20 50 61 67 65 20 4D 6F 64 65 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 3333 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 0C print 1D 56 00 cut p...

Page 74: ... in page mode 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 0A print 1B 54 02 select print direction in page mode 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 0A print 1B 54 03 select print direction in page mode 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 0A print 50 72 69 6E 74 20 45 6E 64 0C print 1D 56 00...

Page 75: ... size 33 33 33 4F 4B 21 20 77 6F 72 6B 73 21 20 0A print 1D 21 00 select character size 1D 42 01 turn white black reverse printing mode on 33 33 33 33 33 33 33 1D 42 00 turn white black reverse printing mode off 33 33 33 33 33 0A print 1D 56 00 cut paper 3 Print character barcode bit image a Print characters To print ASCII characters send ASCII codes of characters to printer Examples 1B 40 initial...

Page 76: ...rint code128 in page mode 0A set the print starting position to the beginning of the line 1B 4C switch to page mode 1B 57 20 00 00 00 60 02 20 03 set print area in page mode 1D 5C 80 00 set relative vertical print position in page mode 1D 68 78 set barcode height 1D 77 03 set barcode width 1D 66 00 select font for HRI characters 1D 48 03 select printing position for HRI characters 1D 6B 49 0B 7B 4...

Page 77: ...mmand is automatically enabled when the printer is turned on or when error occurs after printer is powered on User may also use real time command enable disable command 1B 63 40 n to turn on off real time commands When print with printer drivers the real time command is automatically disabled by printer driver to avoid rubbish data from the printer If user wants to check printer status with real t...

Page 78: ...oad the bit images into RAM again whenever the printer is restarted or initialized Refer to command 1D 2A download bit images into RAM and 1C 71 download bit images into NV for detailed information on how to perform the download In both RAM bit image download and NV bit image download a number must be specified for the image to be downloaded Please read carefully the commands 1D 2A and 1C 71 for t...

Page 79: ...rownum 0 unsigned char temp 8 0x80 0x40 0x20 0x10 0x08 0x04 0x02 0x01 Comparing parameters if pBmpData NULL pBmpDataRotated NULL return 0 if nPixelsOfWidth 0 nPixelsOfHeight 0 return 0 if nPixelsOfWidth 8 0 nPixelsOfHeight 8 0 return 0 get real image dimension nBytesOfWidth nPixelsOfWidth 31 32 4 nBytesOfHeight nPixelsOfHeight 8 White black reverse the value 1 in BMP data is for white which is con...

Page 80: ...0000000F0 001E0200000001C0000E0200000003800000060000000700000006000000070000000E0000000E000 0003E0000000C000000FE0000001C00000FFE000000180000FFFE00000038000FFFFE0000003080 7FFFF60000003087FFFFE600000030FFFFFF8600000060FFFFF80600000061FFFFC00600000061F FF8000600000061FFB0000600000061F8300006000000618030000E000000600038000C0000006000 78001C000000700078003C0000007000F800780000007803FC00F80000003E0FFF...

Page 81: ...FFFFFE000000 000FFFFF9C000000000FFFF818000000000FFFC03807C000000FFE00700FE000000FF000E01FF00 000070000C03FF80000000000C07FF800000000000078780000000003F0F01C000000003FF8E01C0 0000000FFFDC00C00000003FFFD800C00000007FFFF800C0000001FFFFF000C0000003FE07E000 C0000007F001E001C000000F8001C001C000001E000380038000001C00038007800000380007000F 80000070000E003F00000070001E01FF00000060007FFFFE000000E003FFFFFC00...

Page 82: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 76 3 Check printer status after printing If the ASB is enabled the status is transmitted automatically ...

Page 83: ...A j 106 6A VT 11 0B 43 2B K 75 4B k 107 6B FF 12 0C 44 2C L 76 4C l 108 6C CR 13 0D 45 2D M 77 4D m 109 6D SO 14 0E 46 2E N 78 4E n 110 6E SI 15 0F 47 2F O 79 4F o 111 6F DLE 16 10 0 48 30 P 80 50 p 112 70 DC1 17 11 1 49 31 Q 81 51 q 113 71 DC2 18 12 2 50 32 R 82 52 r 114 72 DC3 19 13 3 51 33 S 83 53 s 115 73 DC4 20 14 4 52 34 T 84 54 t 116 74 NAK 21 15 5 53 35 U 85 55 u 117 75 SYN 22 16 6 54 36 V...

Page 84: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 78 Appendix B Code Page Table Code Page 0 PC437 USA ...

Page 85: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 79 Code Page 1 Katakana ...

Page 86: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 80 Code Page 2 PC850 Multilingual ...

Page 87: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 81 Code Page 3 PC860 Portuguese ...

Page 88: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 82 Code Page 4 PC863 Canadian French ...

Page 89: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 83 Code Page 5 PC865 Nordic ...

Page 90: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 84 Code Page 16 WPC1252 ...

Page 91: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 85 Code Page 17 PC866 Cyrillic 2 ...

Page 92: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 86 Code Page 18 PC852 Latin2 ...

Page 93: ...Confidential MTP7632 Programming Manual Telpar 800 872 4886 87 Code Page 19 PC858 ...

Page 94: ...rom 00 to 99 The following special characters are also available in CODE128 SHIFT characters In code set A the character just after SHIFT is processed as a character for code set B In code set B the character just after SHIFT is processed as a character for code set A The character recovers the previous code set before SHIFT when starting from the second character SHIFT characters are used only fo...

Page 95: ... 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 P Q R S T...

Page 96: ...63 64 65 66 67 68 69 70 71 H I J K L M N O P Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 p q r s t u v w x y z DEL FNC1 FNC2 FNC3 FNC4 SHIFT...

Page 97: ...6 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69...

Reviews: