Telpar MTP7632 Programming Manual

Kiosk printer
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for Telpar 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 This manual contains the private confidential information belonging to Telpar.. Telpar has the right to disclose its confidential information and does not be responsible for the loss or damages caused from the wrong usage or reference of this manual by users.
  • Page 3: Revision History

    Confidential MTP7632 Programming Manual Revision History Date Version Remarks V1.0 Original edition 2006-03-21 Telpar 800-872-4886...
  • Page 4: Table Of Contents

    Confidential MTP7632 Programming Manual Content 1. General Information ..........................1 1.1 Key Terms............................1 1.2 Command Explanation ........................1 2. Kiosk Command Set ..........................2 HT................................. 2 LF ................................. 2 FF ................................. 2 CR ................................ 3 DLE EOT n ............................3 CAN..............................
  • Page 5 Confidential MTP7632 Programming Manual ESC c 0 n ............................24 ESC c 1 nL nH ........................... 25 ESC c 3 n ............................25 ESC c 4 n ............................26 ESC c 5 n ............................26 ESC c 8 n ............................27 ESC c 9 t ............................
  • Page 6 Confidential MTP7632 Programming Manual GS W nL nH ............................49 GS \ nL nH............................50 GS ^ r t m ............................50 GS a n ..............................51 GS f n ..............................53 GS h n ..............................53 ①GS k m d1...dk NUL② GS k m n d1...dn..................54 GS p n ..............................
  • Page 7: General Information

    Confidential MTP7632 Programming Manual 1. General Information 1.1 Key Terms Real-time commands – These commands are acted on immediately upon being received by the printer (regardless the printer’s busy or error status). Page mode -- Under this mode, the printer possesses all data in specified memory and thinks of this as a virtual page.
  • Page 8: Kiosk Command Set

    Confidential MTP7632 Programming Manual 2. Kiosk Command Set [Name] Horizontal tab. [Format] ASCII Decimal [Description] Moves the print position to the next horizontal tab position. [Notes] This command is ignored unless the next horizontal tab position has been set. If this command is received when the printing position is at max printable space, the printer executes print buffer-full printing of the current line and moves the print position to the beginning of next line.
  • Page 9: Dle Eot N

    Confidential MTP7632 Programming Manual [Format] ASCII Decimal [Description] Under page mode prints the data in the print buffer collectively and returns to standard mode. [Notes] Under standard mode, this command functions the same as LF command. The buffer data is deleted after being printed.
  • Page 10: Telpar 800-872-4886

    Confidential MTP7632 Programming Manual The printer transmits specified status immediately upon receiving this command, when the command is enabled. Even though the printer is not selected using ESC = (select peripheral device), this command is still effective. The printer transmits the status without confirming whether the host computer can receive data.
  • Page 11: Telpar 800-872-4886

    Confidential MTP7632 Programming Manual n = 6:Transmits printer status defined as below: Off/On Hex. Description 00/01 PRST without paper / PRST with paper 00/02 Normal/Paper jam at printing site 00/04 Normal/Paper jam on PRST 00/08 Normal/Black mark missing 00/10 Auto paper loading normal/ error...
  • Page 12: Can

    Confidential MTP7632 Programming Manual n = 10,reset printer Printer shall clear error information and buffer area and execute half-auto feeding course with this command. Printer status recover with the command after manually cancel error n = 11, clear printer error When executes this command, printer shall clear errors automatically according to error status.
  • Page 13: Esc ! N

    Confidential MTP7632 Programming Manual [Description] Sets the character spacing for the right side of the character to [n × horizontal or vertical motion units] inches. [Notes] The horizontal and vertical motion units are specified by GS P. Without setting of right character spacing, only changing the horizontal or vertical motion unit does not affect the current right-side spacing.
  • Page 14: Esc $ Nl Nh

    Confidential MTP7632 Programming Manual Undefined Underline mode not selected Underline mode selected [Notes] When both double-height and double-width modes are selected, quadruple size characters are printed. The printer can underline all characters, but cannot underline the space set by HT or 90°...
  • Page 15: Esc % N

    Confidential MTP7632 Programming Manual ESC % n [Name] Select/cancel user-defined character set [Format] ASCII 25 n Decimal 37 n [Range] 0 ≤ n ≤255 [Description] Selects or cancels the user-defined character set. ♦ When the LSB of n is 0, the user-defined character set is canceled.
  • Page 16 Confidential MTP7632 Programming Manual It is possible to define multiple characters for consecutive character codes. If only one character is desired, use c1 = c2. d is the data for the downloaded characters. The dot pattern is in the horizontal direction from the left side.
  • Page 17: Esc * M Nl Nh D1

    Confidential MTP7632 Programming Manual ESC * m nL nH d1... dk [Name] Download and print bit-image [Format] ASCII ESC * m nL nH d1...dk 1B 2A m nL nH d1...dk Decimal 27 42 m nL nH d1...dk [Range] m = 0, 1, 32, 33, 35 0 ≤...
  • Page 18 Confidential MTP7632 Programming Manual 8-dot double-density 100 DPI 300 DPI nL + nH × 256 24-dot single-density 300 DPI 150 DPI ( nL + nH × 256) × 3 33,35 24-dot double-density 300 DPI 300 DPI ( nL + nH × 256) × 3...
  • Page 19: Esc - N

    Confidential MTP7632 Programming Manual ESC - n [Name] Turn underline mode on/off [Format] ASCII Decimal [Range] 0 ≤ n ≤2, 48 ≤n ≤ 50 [Description] Turns underline mode on or off, based on the following values of n: Function 0, 48...
  • Page 20: Esc 2

    Confidential MTP7632 Programming Manual ESC 2 [Name] Select default line spacing [Format] ASCII Decimal [Description] Selects 1/6-inch line (approximately 4.23 mm) spacing. [Notes] The line spacing can be set independently in standard mode and in page mode. [Reference] ESC 3...
  • Page 21: Esc ? N

    Confidential MTP7632 Programming Manual Decimal [Range] 0 ≤ n ≤ 255 [Description] Disable or enable peripheral device to which host computer sends data. [Notes] • The lowest bit of n is effective; • When the LSB of n is 0, printer is disabled;...
  • Page 22: Esc D N1

    Confidential MTP7632 Programming Manual ESC D n1...nk NUL [Name] Set horizontal tab positions [Format] ASCII n1... nk NUL 44 n1...nk 00 Decimal 68 n1...nk 0 [Range] 1 ≤ n ≤ 255 0 ≤ k ≤ 32 [Description] Sets horizontal tab positions.
  • Page 23: Esc G N

    Confidential MTP7632 Programming Manual ♦ When the LSB of n is 1, emphasized mode is turned on. [Notes] Only the least significant bit of n is effective. ESC ! turn on and off emphasized mode in the same way, the last received command is available.
  • Page 24: Esc L

    Confidential MTP7632 Programming Manual In page mode, this command functions as follows, depending on the starting position of the printable area for selecting vertical motion unit(y) or horizontal motion unit(x): ① When the starting position is set to the upper left or lower right of the printable area using ESC T, the vertical motion unit (y) is used.
  • Page 25: Esc M N

    Confidential MTP7632 Programming Manual ESC M n [Name] Select character font [Format] ASCII Decimal [Range] n = 0, 1, 2, 3, 48, 49, 50, 51 [Description] Selects character fonts. Function 0,48 Select standard ASCII font 1,49 Select compressed ASCII font:...
  • Page 26: Esc S

    Confidential MTP7632 Programming Manual Italy ° é ù à ò è ì ¡ Ñ ¿ ¨ ñ Spain I Japan ¥ Norway ¤ É Æ Ø Å Ü é æ ø å ü Denmark II É Æ Ø Å Ü...
  • Page 27: Esc V N

    Confidential MTP7632 Programming Manual Decimal [Range] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 [Description] Selects the print direction and starting position in page mode. n specifies the print direction and starting position as follows: [Notes] When the command is input in standard mode, the printer executes only internal flag operation.
  • Page 28: Esc W Xl Xh Yl Yh Dxl Dxh Dyl Dyh

    Confidential MTP7632 Programming Manual Function 0, 48 Turns off 90° clockwise rotation mode 1, 49 Turns on 90° clockwise rotation mode [Notes] This command only affects printing in standard mode. When underline mode is turned on, the printer does not underline 90° clockwise rotation.
  • Page 29: Esc \ Nl Nh

    Confidential MTP7632 Programming Manual position). The horizontal and vertical motion units are specified by GS P. Changing the horizontal or vertical motion unit does not affect the current printing area. Use the horizontal motion unit (x) for setting the horizontal starting position and printing area width, and use the vertical motion unit (y) for setting the vertical starting position and printing area height.
  • Page 30: Esc A N

    Confidential MTP7632 Programming Manual vertical motion unit] The horizontal and vertical motion units are specified by GS P. In standard mode, the horizontal motion unit is used. In page mode, the horizontal or vertical motion unit differs as follows, depending on the starting point of the printing area: ①...
  • Page 31: Esc C 1 Nl Nh

    Confidential MTP7632 Programming Manual 63 30 n Decimal 99 48 n [Range] n =0,1,2 [Description] Selects paper type specified by n as follows. Paper type Continuous paper Marked paper [Notes] If n selects 0, other settings are disabled. [Default] n = 0...
  • Page 32: Esc C 4 N

    Confidential MTP7632 Programming Manual Paper end sensor is not available Paper end sensor is available undefined [Notes] • It is possible to select two sensors to output signals. Then, if any of the sensors detects a paper end, the paper end signal is output.
  • Page 33: Esc C 8 N

    Confidential MTP7632 Programming Manual In the macro ready mode, the panel buttons are always enabled. [Default] n = 0 ESC c 8 n [Name] Select PRST action mode [Format] ASCII 63 38 n Decimal 99 56 n [Range] 0 ≤ n ≤ 3 [Description] Selects PRST action mode specified by n as follows.
  • Page 34: Esc C @ N

    Confidential MTP7632 Programming Manual [Range] 0 ≤ n ≤ 240 [Description] Sets the time period (t in seconds) for PRST to wait before it takes any actions set by ESC c 8. [Notes] Actions here mean the PRST action modes specified in ESC c 8 command.
  • Page 35: Esc I

    Confidential MTP7632 Programming Manual This command does not affect the line spacing set by ESC 2 or ESC 3. The maximum paper feed amount is 600mm (23.6 inches) for 300DPI printer and is 900mm (35.4 inches) for 203DPI printers. If the paper feed amount (nx line spacing) of more than 600mm (300DPI) or 900mm (203DPI) is specified, the printer feeds the paper only 600mm (300DPI) or 900mm (203DPI).
  • Page 36: Esc T N

    Confidential MTP7632 Programming Manual ESC t n [Name] Select character code table [Format] ASCII Decimal [Range] 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, [Description] Selects a page n from the character code table. Page PC437 Katakana PC850...
  • Page 37: Esc { N

    Confidential MTP7632 Programming Manual ESC { n [Name] Turns on/off upside-down printing mode [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Turns upside-down printing mode on or off. ♦ When the LSB of n is 0, upside-down printing mode is turned off.
  • Page 38: Fs Q N [Xl Xh Yl Yh D1

    Confidential MTP7632 Programming Manual 300DPI: Vertical Dot Density Horizontal Dot Mode (DPI) Density (DPI) 0.48 Normal 1.49 Double-width 2.50 Double-height 3.51 Quadruple ♦ n is the number of the NV bit image (defined using the FS q command). ♦ m specifies the bit image mode.
  • Page 39 Confidential MTP7632 Programming Manual This command cancels all NV bit images that have already been defined by this command. The printer cannot redefine only one of several data definitions previously defined. In this case, all data needs to be sent again.
  • Page 40: Gs Ff

    Confidential MTP7632 Programming Manual power off. This command performs only definition of a NV bit image and does not perform printing. Printing of the NV bit image is performed by the FS p command. [Reference] FS p [Example] When xL = 64, xH = 0, yL = 96, yH = 0...
  • Page 41 Confidential MTP7632 Programming Manual Decimal [Range] 0 ≤ n ≤ 255 (1 ≤ vertical number of times ≤ 6, 1 ≤ horizontal number of times ≤ 6) [Description] Selects the character height using bits 0 to 3 and selects the character...
  • Page 42: Gs # N

    Confidential MTP7632 Programming Manual GS # n [Name] Specify a number for the bit-image to be downloaded. [Format] ASCII Decimal [Range] 0 ≤ n ≤ 7 [Description] Specifies a number for the bit-image to be downloaded. This number is to be used when downloading and printing this bit-image.
  • Page 43: Gs ( E Pl Ph M [Parameter]

    Confidential MTP7632 Programming Manual GS ( A pL pH n m [Name] Execute test printing [Format] ASCII pL pH n m pL pH n m [Range] ( pL+( pH × 256))=2 (pL=2, pH=0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤...
  • Page 44: Gs ( E Pl Ph M D1 D2 (M = 1)

    Confidential MTP7632 Programming Manual [Notes] • Frequent write command executions by a NV memory write command may damage the NV memory. Therefore, it is recommended to write the NV memory 10 times or less a day. GS ( E pL pH m d1 d2 (m = 1) <Function 1>...
  • Page 45: Gs ( E Pl Ph M A (M = 4)

    Confidential MTP7632 Programming Manual 10 ≤ ( pL + pH × 256) ≤ 65530 [Range] (where ( pL + pH × 256) = 9 × k + 1: 0 ≤ pL ≤ 255; 0 ≤ pH ≤ 255) m = 3 1 ≤...
  • Page 46: Gs * X Y D1

    Confidential MTP7632 Programming Manual Switch No. Status • If a not-supported memory switch number is selected (out of a), this command is ignored; • If this command is ignored, the printer doesn’t send any data. • The memory switch number a treats the same information with the memory switch number of Function 3.
  • Page 47: Gs / M

    Confidential MTP7632 Programming Manual GS / [Reference] GS / m [Name] Print downloaded bit image [Format] ASCII Decimal [Range] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Description] Prints a downloaded bit image using the mode specified by m.
  • Page 48: Gs B N

    Confidential MTP7632 Programming Manual for the bit-image to be printed is defined by GS # command. [Reference] GS * , GS # GS : [Name] Start/end macro definition [Format] ASCII Decimal [Description] Starts or ends macro definition. [Notes] Macro definition starts when this command is received during normal operation.
  • Page 49: Gs C 0 N M

    Confidential MTP7632 Programming Manual characters, and spacing skipped by HT, ESC $, and ESC \. This command does not affect the space between lines. Underline mode is disabled when White/black reverse mode is selected. Otherwise it is enabled when white/black reverse mode is turned off.
  • Page 50: Gs C 2 Nl Nh

    Confidential MTP7632 Programming Manual 43 31 aL aH bL bH n r Decimal 29 67 49 aL aH bL bH n r [Range] 0 ≤ aL ≤ 255 0 ≤ aH ≤ 255 0 ≤ bL ≤ 255 0 ≤ bH ≤ 255 0 ≤...
  • Page 51: Gs C ; Sa ; Sb ; Sn; Sr; Sc

    Confidential MTP7632 Programming Manual operation range specified by GS C 1 or GS C;, it is forced to convert to the minimum value. In count-down mode, if the counter value specified by this command goes out of the counter operation range specified by GS C 1 or GS C;, It is forced to convert to the maximum value.
  • Page 52: Gs H N

    Confidential MTP7632 Programming Manual [Reference] GS C 0, GS C 1, GS C 2, GS c GS H n [Name] Select printing position for HRI characters [Format] ASCII Decimal [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Description] Selects the printing position of HRI characters when printing a bar code.
  • Page 53: Gs L Nl Nh

    Confidential MTP7632 Programming Manual GS L nL nH [Name] Set left margin [Format] ASCII nL nH nL nH Decimal nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] Sets the left margin using nL and nH.
  • Page 54: ①Gs V M ②Gs V M N

    Confidential MTP7632 Programming Manual In standard mode, the following commands use x or y, regardless of character rotation (upside-down or 90° clockwise rotation): ① C ommands using x: ESC SP, ESC $, ESC \, FS S, GS L, GS W ②...
  • Page 55: Gs W Nl Nh

    Confidential MTP7632 Programming Manual [Notes for ①and②] This command is effective only processed at the beginning of a line. [Note for ②] When m = 0 or 48, if the paper feed length (L1) is less than the minimum page...
  • Page 56: Gs \ Nl Nh

    Confidential MTP7632 Programming Manual GS \ nL nH [Name] Set relative vertical print position in page mode [Format] ASCII nL nH nL nH Decimal nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] Sets the absolute vertical print starting position from the current position in page mode.
  • Page 57: Gs A N

    Confidential MTP7632 Programming Manual When m = 0: The macro executes r times continuously at the interval specified by t (t x 250 ms). When m = 1: After waiting for the period specified by t, the PAPER OUT LED indicators blink and the printer waits for the FEED button to be pressed.
  • Page 58 Confidential MTP7632 Programming Manual Reserve Reserve Fixed to 0 Second byte (printer information) Off/On Hex. Description 00/01 PRST without paper / PRST with paper 00/02 Normal/Paper jam on printing part 00/04 Normal/Paper jam on PRST 00/08 Normal/Black mark missing 00/10...
  • Page 59: Gs F N

    Confidential MTP7632 Programming Manual printer . • The seventh byte will be cleared up after the next cut. • PrstIn indicates the state of PrstIn sensor before or after retraction, with paper means that the paper holder is full of paper or some paper is absorbed on the channels.
  • Page 60: ①Gs K M D1

    Confidential MTP7632 Programming Manual Decimal [Range] 1 ≤ n ≤ 255 [Description] n specifies the number of dots in the vertical direction. [Default] n = 162 [Reference] GS k GS k m d1...dk NUL GS k m n d1...dn •...
  • Page 61 Confidential MTP7632 Programming Manual When JAN13 (EAN13) barcode system is selected, if more than 13 barcodes data is received, the printer will process the excess data as normal data. When JAN8 (EAN8) barcode system is selected, if more than 8 bytes barcodes data is received, the printer will process the excess data as normal data.
  • Page 62: Gs P N

    Confidential MTP7632 Programming Manual FNC4 7B, 34 123, 52 "{" 7B, 7B 123, 123 [Example] Example data for printing "No. 123456" In this example, the printer first prints "No." using CODE B, then prints the following numbers using CODE C.
  • Page 63: Gs Q N

    Confidential MTP7632 Programming Manual [Notes] nA and nB is valid when nC and nD equals to zero. GS q n [Name] Set error correcting grade of PDF417 [Format] ASCII Decimal [Range] 0≤ n≤8 [Description] Set error correcting grade of PDF417...
  • Page 64 Confidential MTP7632 Programming Manual [Range] 2 ≤ n ≤ 6 [Description] Set the horizontal size of the bar code. n specifies the bar code width as follows: Binary-level Bar Code Module Width (dots) for Thin element width Thick element Multi-level Bar Code...
  • Page 65: Fs ! N

    Confidential MTP7632 Programming Manual 3. Chinese character control commands FS ! n [Name] Set print mode for Chinese character [Format] ASCII Decimal [Range] 0 ≤n ≤ 255 [Description] Set the print mode for Chinese character, using n as follows: Decimal...
  • Page 66: Fs - N

    Confidential MTP7632 Programming Manual character or not, then process the first byte and the second byte if the code is for Chinese. •When use Chinese GB18030 character set, the printer process the third and the forth byte if the Chinese character is forth-byte code.
  • Page 67: Fs 2 C1 C2 D1

    Confidential MTP7632 Programming Manual FS 2 c1 c2 d1...dk [Name] Defined user-defined Chinese character [Format] ASCII c1 c2 d1...dk c1 c2 d1...dk Decimal c1 c2 d1...dk [Range] c1, c2 indicate character code for the defined character c1 = FEH A1H ≤ c2 ≤ FEH 0 ≤...
  • Page 68: Fs S N1 N2

    Confidential MTP7632 Programming Manual FS S n1 n2 [Name] Set the right and left character spacing [Format] ASCII Decimal [Range] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 [Description] Set the right spacing and the left spacing to n1 and n2 respectively.
  • Page 69: Fs W N

    Confidential MTP7632 Programming Manual FS W n [Name] Select/cancel quadruple-size mode of Chinese character [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Select/cancel quadruple-size mode of Chinese character . • When the LSB of n is 0, quadruple-size mode of Chinese character is turned off.
  • Page 70: Programming Instructions

    Confidential MTP7632 Programming Manual 4.Programming Instructions 4.1 General Information 1) The instructions are compiled to help users who use commands to control the printer quickly master the command set. 2) All programming examples are given in Hex. 3) Commands cited in the instructions are bolded and underlined. For instance, 1B 40. Data following the commands are not underlined.
  • Page 71: Paper Supported

    Confidential MTP7632 Programming Manual 4.2.2 Paper supported Black mark paper is thermal sensitive paper on which black marks are published regularly. The black marks are referenced to set print area and cut position. Refer to relative user’s manual for detailed black mark requirements.
  • Page 72: Programming Examples

    Confidential MTP7632 Programming Manual 33 33 33 33 33 20 49 6E 20 73 74 61 6E 64 20 6D 6F 64 65 20 61 6E 64 20 74 68 65 20 70 61 70 65 72 20 69 73 20 63 6F 6E 74 69 6E 75 6F 75 73 20 70 61 70 65 72 20 74 68 65 09 70 72 65 73 65 6E 74 65 72 27 73 20 61 63 74 69 6F 6E 20 69 73 20 69 6E 20 72 65 74 72 61 63 74 69 6F 6E 20 6D 6F 64 65 20 21 (print)...
  • Page 73: Set Printing And Print Data(Character /Barcode/Bit Image

    Confidential MTP7632 Programming Manual 4.3.2 Set printing and print data(character /barcode/bit image) 1) Set print area and print position Horizontal tab(09) Set horizontal absolute print position(1B 24) Set horizontal tab positions(1B 44) Select print direction in page mode(1B 54 n)...
  • Page 74 Confidential MTP7632 Programming Manual 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 (print) 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 1B 24 50 00 (set absolute print position)...
  • Page 75 Confidential MTP7632 Programming Manual 4E 6F 77 20 69 74 20 77 6F 72 6B 73 20 21 20 53 65 6C 65 63 74 20 20 20 20 20 50 72 69 6E 74 20 6D 6F 64 65 20 1B 21 01 (select print mode)...
  • Page 76 Confidential MTP7632 Programming Manual 1D 56 00 (cut paper) Printout:“山东新北洋信息技术股份有限公司” b) Print barcode(Refer to 2.command set for detailed information) Select barcode height(1D 68) Select barcode width (1D 77) Select font for HRI characters(1D 66) Select printing position for HRI characters(1D 48)...
  • Page 77: Print And Cut Paper

    Confidential MTP7632 Programming Manual 1D 2F 00 (print downloaded bit image) 1D 2F 01 (print download bit image) 1D 2F 02 (print downloaded bit image) 1D 2F 03 (print downloaded bit image) 1D 56 00 (cut paper) 4.3.3 Print and cut paper To print in line mode, use command 0A.
  • Page 78: Download Bit Images Into Ram Or Flash

    Confidential MTP7632 Programming Manual a) First confirm if the fourth byte is synchronous data and frontal three bytes is complied to grammar. b) Printer process status is transmitted depending on the third byte of printer return value. The lower four bits of third byte gives information on what process the printer is in and whether there are any errors.
  • Page 79 Confidential MTP7632 Programming Manual //Utility:Transform bmp format bit image into printer processable data // //Parameter:pBmpData---Pointer to source data nPixelsOfWidth----bit image width(in dots) nPixelsOfHeight---bit image height(in dots) pBmpDataRotated---Pinter to target data //Value return:1: data transformation ok. 0: parameter error. // //************************************************//...
  • Page 80 Confidential MTP7632 Programming Manual for (col = 0; col < 8; col++){ colnum = col % 8; rownum = row % 8; if(colnum >= rownum) tempdata temp[col] & (midData[(nPixelsOfHeight-1-colbyte*8-col) nBytesOfWidth + row / 8] >> (colnum-rownum)); else tempdata temp[col] &...
  • Page 81: Recommendations On Applicable Flow For Programm

    Confidential MTP7632 Programming Manual FFFFFFC000000000FFFF818007000000FFFC03800F801C00FFC007000FC03E00FC000E000FC03 E0060000C000FC03E00000008000FC03E00040000000FC01C000C00000007C000001C0000000780 00001C00000007800000380000000F800000700000000F000000700000001F000000F80000003E000 000FE0000007C000000FF800000F8000000FFF80003F80000003FFFE00FF00000001FFFFFFFC000 000007FFFFFF8000000000FFFFFF00000000001FFFFC000000000001FFF80000000000000FE00000 000000003FC0000000000001FF0000000000780FFC0000000000FFFFF00000000000FFFFC0000000 0000FFFE000000000000FFF00000000000007F0000000000000000000000000000000000000000000 00000003F00000000000001FFC0000000000007FFE000000000001FFFE000000000007FFFE000000 00000FFFFE00000000001FE03E00000000003F001C000000000078001C0000000000F00038000000 0001C000380000000001C0007000000000038000E000000000030001CE00000000070007FE000000 0007003FFE000000000703FFFE00000000073FFFFE0000000007FFFFFC0000000007FFFFFC00000 00007FFFE18000000000FFFC038000000000FF80070000000000FC000E0000000000C0000C000000 0000000008000000000000000000000000000000000000000000020000000000000007000000000000 000F0000C0000000001E000FC0000000001C00FFC000000000380FFFC00000000070FFFFC000000 0007FFFFFC0000000007FFFFF0000000000FFFFF00000000000FFFF000000000000FFF0000000000 000FFC0000000000000F38000000000000007000000000000000E000000000000000C000FC0000000 001800FFE0000000003807FFE000000000303FFFE00000000071FFFFE0000000007FFFFFE000000 000FFFFF9C000000000FFFF818000000000FFFC03807C000000FFE00700FE000000FF000E01FF00 000070000C03FF80000000000C07FF800000000000078780000000003F0F01C000000003FF8E01C0 0000000FFFDC00C00000003FFFD800C00000007FFFF800C0000001FFFFF000C0000003FE07E000 C0000007F001E001C000000F8001C001C000001E000380038000001C00038007800000380007000F 80000070000E003F00000070001E01FF00000060007FFFFE000000E003FFFFFC000000E03FFFFFF 8000000E3FFFFFFF0000000FFFFFFFFC0000000FFFFFFFE00000000FFFFE00000000001FFFC000 000000001FFC0000000000003FC00000000000003C000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000 1D 23 00 (Select the number of the bit image to be printed)...
  • Page 82 Confidential MTP7632 Programming Manual 3) Check printer status after printing. If the ASB is enabled, the status is transmitted automatically. Telpar 800-872-4886 76 -...
  • Page 83: Appendix A: Ascii Table

    Confidential MTP7632 Programming Manual Appendix A: ASCII TABLE ASCII ASCII ASCII ASCII Decimal Decimal Decimal Decimal NULL “ & ‘ < > Telpar 800-872-4886 77 -...
  • Page 84: Appendix B: Code Page Table

    Confidential MTP7632 Programming Manual Appendix B: Code Page Table Code Page 0 (PC437: USA) Telpar 800-872-4886 78 -...
  • Page 85 Confidential MTP7632 Programming Manual Code Page 1(Katakana) Telpar 800-872-4886 79 -...
  • Page 86 Confidential MTP7632 Programming Manual Code Page 2 ( PC850: Multilingual) Telpar 800-872-4886 80 -...
  • Page 87 Confidential MTP7632 Programming Manual Code Page 3 (PC860: Portuguese) Telpar 800-872-4886 81 -...
  • Page 88 Confidential MTP7632 Programming Manual Code Page 4 (PC863: Canadian- French) Telpar 800-872-4886 82 -...
  • Page 89 Confidential MTP7632 Programming Manual Code Page 5 (PC865: Nordic) Telpar 800-872-4886 83 -...
  • Page 90 Confidential MTP7632 Programming Manual Code Page 16 (WPC1252) Telpar 800-872-4886 84 -...
  • Page 91 Confidential MTP7632 Programming Manual Code Page 17 (PC866: Cyrillic #2) Telpar 800-872-4886 85 -...
  • Page 92 Confidential MTP7632 Programming Manual Code Page 18 (PC852 Latin2 ) Telpar 800-872-4886 86 -...
  • Page 93 Confidential MTP7632 Programming Manual Code Page 19 (PC858) Telpar 800-872-4886 87 -...
  • Page 94: Appendix C: Code 128 Bar Code

    Confidential MTP7632 Programming Manual Appendix C: Code 128 Bar Code A.1 Description of the CODE128 Bar Code In code 128 bar code system, it is possible to represent 128 ASCII characters, 2-digit numerals and some special characters in using one bar code character that is defined by combining one of code set A, code set B and code set C.
  • Page 95 Confidential MTP7632 Programming Manual A.2 Character Set Characters in Code Set A: Transmit data Transmit data Transmit data Character Character Character Decimal Decimal Decimal NULL FNC1 7B,31 123,49 FNC2 7B,32 123,50 FNC3 7B,33 123,51 FNC4 7B,34 123,52 123,83 < SHIFT...
  • Page 96 Confidential MTP7632 Programming Manual Transmit data Transmit data Transmit data Character Character Character Decimal Decimal Decimal " & 7B,7B 123,123 — FNC1 7B,31 123,49 FNC2 7B,32 123,50 FNC3 7B,33 123,51 FNC4 7B,34 123,52 SHIFT 7B,53 123,83 CODEA 7B,41 123,65 CODEC...
  • Page 97 Confidential MTP7632 Programming Manual Characters in Code Set C Transmit data Transmit data Transmit data Character Character Character Decimal Decimal Decimal FNC1 7B,31 123,49 123,65 CODEA 7B,41 CODEB 7B,42 123,66 Telpar 800-872-4886 91 -...

Table of Contents