MODEL 814M DIRECT THERMAL PRINTER PROGRAMMING MANUAL PART NUMBER 880048-0101 Revised 04/14 MSG © Copyrigh
6 2. Kiosk Command Set HT [Name] [Format] [Description] [Notes
96 A.2 Character Set Characters in Code Set A: Transmit data Transmit data Transmit data Character Hex Decimal Character Hex Decimal Character He
97 Characters in Code Set B: Transmit data Transmit data Transmit data Character Hex Decimal Character Hex Decimal Character Hex Decimal SP ! &q
98 Characters in Code Set C Transmit data Transmit data Transmit data Character Hex Decimal Character Hex Decimal Character Hex Decimal 0 1 2 3
7 FF [Name] [Format] [Description] [Notes] [Reference] Print and feed paper. ASCII FF Hex 0C Decimal 12 Under page mode, prints the d
8 n = 9: Transmit PRST status. n = 10: Reset printer n = 11: Clear printer errors.(function as the clear errors command) [Notes] When n is out
9 4 0/1 00/10 Cutter normal / Cutter error 5 0 00 Reserve 6 0 00 Reserve 7 0 00 Fixed to 0 n = 6, Transmits printer status defined as below:
10 Bit Off/On Hex. Description 0 0/1 00/01 PRST without paper / PRST with paper 1-3 0 00 Fixed to 0 4 1 02 Fixed to 1 5-7 0 00 Fixed
11 ESC SP n [Name] [Format] [Range] [Description] [Notes] [Default] [Reference] Set right-side character spacing ASCII ESC
12 ESC ! n [Name] [Format] [Range] [Description] [Notes] [Default] [Reference] Select print mode ASCII ESC ! n Hex
13 ESC $ nL nH [Name] [Format] [Range] [Description] [Notes] [Reference] Set absolute print position ASCII ESC $ nL nH Hex
14 ESC & y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)] [Name] [Format] [Range] [Description] [Notes] [Default] [E
15 When compressed ASCII font (9×17) is selected.
ii
16 ESC * m nL nH d1... dk [Name] [Format] [Range] [Description] Download and print bit-image ASCII ESC * m nL nH d1...dk He
17 [Notes] If the value of m is out of the specified range, nL and data following are processed as normal data. If the bit-image data
18 ESC - n [Name] [Format] [Range] [Description] [Notes] [Default] [Reference] Turn underline mode on/off ASCII ESC - n Hex 1
19 ESC 2 [Name] [Format] [Description] [Notes] [Reference] Select default line spacing ASCII ESC 2 Hex 1B 32 Decimal 27 50 Selects 1
20 ESC = n [Name] [Format] [Range] [Description] [Notes] [Default] Set peripheral device ASCII ESC = n Hex 1B 3D n Decimal 27
21 ESC @ [Name] [Format] [Description] [Notes] Initialize printer ASCII ESC @ Hex 1B 40 Decimal 27 64 Clears the data in the prin
22 [Default] [Reference] The default tab positions are at intervals of 8 standard ASCII characters (columns 9, 17, 25). HT ESC E n [Name] [Format]
23 ESC J n [Name] [Format] [Range] [Description] [Notes] [Reference] Print and feed paper ASCII ESC J n Hex 1B 4A
24 [Reference] This command sets the position where data is buffered to the position specified by ESC T within the printing area defin
25 ESC R n [Name] [Format] [Range] [Description] [Notes] [Default] Select an international character set ASCII ESC R n He
iii Proprietary Statement This manual contains information proprietary to Microcom Corporation. This information is intended solely for the use of
26 [Reference] -Set right-side character spacing: ESC SP -Select default line spacing: ESC 2, ESC 3 The following commands are enabled
27 [Default] [Reference] -If the starting position is the upper right or lower left of the printing area, data is buffered in the paper feed dire
28 [Notes] [Default] [Reference] Printing area height: dy = [dyL + dyH × 256] × (vertical motion unit)]inches
29 ESC \ nL nH [Name] [Format] [Range] [Description] [Notes] [Reference] Set horizontal relative print position ASCII ESC \
30 ESC a n [Name] [Format] [Range] [Description] [Notes] [Default] Select justification ASCII ESC a n Hex 1B 61 n Decimal
31 ESC c 1 nL nH [Name] [Format] [Range] [Description] [Notes] Set cutting position ASCII ESC c 1 nL nH Hex 1B 63 31 nL nH Decim
32 ESC c 4 n [Name] Select paper sensor(s) to stop printing [Format] ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99
33 ESC c 8 n [Name] [Format] [Range] [Description] [Notes] [Reference] Select PRST action mode ASCII ESC c 8 n Hex
34 ESC c 9 t [Name] [Format] [Range] [Description] [Notes] [Reference] Set PRST waiting time ASCII ESC c 9 t Hex 1B 63 39 t D
35 ESC d n [Name] [Format] [Range] [Description] [Notes] [Reference] Print and feed n lines ASCII ESC d n Hex 1B 64 n Decimal
iv
36 Y1 = Y 1l + Y1h×255. [Notes] • This command is effective only in page mode. • This command can only make horizontal line and vertical lin
37 ESC v [Name] [Format] [Description] [Notes] Transmit device status ASCII ESC v Hex 1B 76 Decimal 27 118 Transmi
38 FS p n m [Name] [Format] [Range] [Description] [Notes] [Reference] Print NV bit image ASCII FS p n m Hex 1C
39 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
40 [Reference] [Example] yL, yH out of the defined range, it stops processing this command and starts writing into the NV im
41 GS FF [Name] [Format] [Description] Feed paper until the next black mark reaches print position ASCII GS FF Hex 1D 0C Decimal 29
42 [Notes] [Default] [Reference] This command is effective for all characters (alphanumeric and Kanji) exce
43 GS $ nL nH [Name] [Format] [Range] [Description] [Notes] [Reference] Set absolute vertical print position in page mode ASCII GS
44 [Notes] • This command is enabled only when processed at the beginning of a line in standard mode. • This command is not effective in page mode.
45 Flage: Hexadecimal = 20H /Decimal = 32 (1 byte) NUL: Hexadecimal = 00H /Decimal = 0 (1 byte) • In the user-defined mode
1 Table of Contents 1. General Information...
46 • If the settings are changed, they become effective when the BA-T500 is reset other power is turned on again. • The setting values can be
47 [Notes] [Reference] ♦ y specifies the number of dots in the vertical direction. The number of dots in the horizontal direc
48 [Notes] [Reference] 3, 51 Quadruple 101 101 300DPI m Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI) 0, 48 Normal
49 GS B n [Name] [Format] [Range] [Description] [Notes] [Default] Control white/black reverse printing mode ASCII GS B n Hex
50 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 the l
51 If setting count-up mode, the minimum value of the counter is [ aL + aH x 256],the maximum number is [ bL + bH x 256].If counting up reaches a
52 [Description] Select a count mode for the serial number counter. • sa, sb, sn, sr and scare all displayed in ASCII characters, using the co
53 [Default] [Reference] n = 0 GS f, GS k GS I n [Name] [Format] [Range] [Description] [Notes] Transmit printer configuration ASCII GS I
54 [Default] [Reference] nL = 0, nH = 0 GS P, GS W GS P xL xH yL yH [Name] [Format] [Range] [Description] [Notes] [Default
55 GS V m GS V m n [Name] [Format] [Range] [Description] [Notes for and] [Note for ] Select cut mode and cut paper ASCII GS
2 ESC c 4 n ...
56 [Notes] [Reference] This command is only effective when processed at the beginning of the line in page mode. This command does not
57 [Reference] ESC $, ESC T, ESC W, ESC \, GS $, GS P GS ^ r t m [Name] [Format] [Range] [Description] [Notes] [Reference] Execu
58 [Notes] When the LSB of n = 0, the ASB function is disabled. When the LSB of n = 1, the ASB function is ena
59 [Reference] 00101/10101 05/15 PRST retraction status Normal/Error Top cover open, Print head overheated, paper end /
60 [Description] [Notes] [Default] [Reference] Selects a font for the HRI characters used when printing a bar code. n selects a font from the
61 m Bar Code System Number of Characters 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
62 1) Daabbcc, D:Linking structure mode, input particular identifier “D”, this mode is selectable. If this mode is selected, the rest three parameter
63 Legal character: Number and alphabet; Variable length: Adjustable. The legal bar width: The ratio of wide and narrow bar can not be adjusted. For
64 The following data should be selected in corresponding character sets. Transmit data Specific character ASCII Hex Decimal SHIFT {S 7B, 53 123,
65 [Range] m = 0, 1 ≤ nA ≤ 255, 0 ≤ nB ≤ 1, 1 ≤ nC ≤ 2 [Description] he meaning of n is defined as follows: Parameters Meaning of the parameters m
3 GS k m d1...dk NUL GS k m n d1...dn...60 GS o n .
66 [Range] [Description] [Notes] [Reference] n = 1, 49 Transmits the status specified by n as follows: N Function1, 49 Transmits paper
67 3.Chinese character control commands FS ! n [Name] Set print mode for Chinese character [Format] ASCII FS ! n Hex 1C 21
68 character or not, then process the first byte and the second byte if the code is for Chinese. • When use Chinese GB18030 character
69 FS 2 c1 c2 d1...dk [Name] Defined user-defined Chinese character [Format] ASCII FS 2 c1 c2 d1...dk Hex 1C 3
70 FS S n1 n2 [Name] Set the right and left character spacing [Format] ASCII FS S n1 n2 Hex 1C 53 n1 n2 Decimal 28 8
71 FS W n [Name] Select/cancel quadruple-size mode of Chinese character [Format] ASCII FS W n Hex 1C 57 n Decimal 28
72 4. Programming Instructions 4.1 General Information 1) All programming examples are given in Hex. 2) Commands cited in the instructions are bold
73 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
74 1B 63 38 00 (select PRST action mode) 1B 53 (switch to standard mode) 33 33 33 33 33 20 49 6E 20 73 74 61 6E 64 61 72 64 20 6D 6F 64 65 2E 20 54
75 3) Select print mode :1B 53 switch to standard mode (Default) 1B 4C switch to page mode. 4) Select PRST action mode :1B 63 38 n,1B 63 39 n. 4.3.2
4
76 0A (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 0A (print) 33 33 33 33 33 33 33 33 33 33 33 33 33
77 (The following hex string will print “Select underline print mode“) 53 65 6C 65 63 74 20 75 6E 64 65 72 6C 69 6E 65 20 70 72 69 6E 74 20 6D 6F 64
78 z Select barcode height (1D 68) z Select barcode width (1D 77) z Select font for HRI characters(1D 66) z Select printing position for HRI char
79 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. To print in page mode,
80 c) The status of the first byte and second byte based on printer process status give exact printer status information. For example, “01 04 15
81 //************************************************// int AntiRotateBmp90D( char *pBmpData, const int nPixelsOfWidth, const int nPixels
82 free(midData); return 1; } Example:Download a bit image into RAM and print it. 1D 23 00 (Define a number for the image to be downloade
83 4.3.6 Recommendations on applicable flow for programm Make good use of ASB command during programming, since the ASB command is able to automat
84 Appendix A: ASCII TABLE ASCII Decimal HEX ASCII Decimal HEX ASCII Decimal HEX ASCII Decimal HEX NULL 0 00 SP 32 20 @ 64 40 ` 96 60 SOH 1
85 Appendix B: Code Page Table Code Page 0 (PC437: USA)
5 1. General Information 1.1 Key Terms Real-time commands – These commands are acted on immediately upon being received by the printer (regardless o
86 Code Page 1(Katakana)
87 Code Page 2 ( PC850: Multilingual)
88 Code Page 3 (PC860: Portuguese)
89 Code Page 4 (PC863: Canadian- French)
90 Code Page 5 (PC865: Nordic)
91 Code Page 16 (WPC1252)
92 Code Page 17 (PC866: Cyrillic #2)
93 Code Page 18 (PC852 Latin2 )
94 Code Page 19 (PC858)
95 Appendix C: Code 128 Bar Code A.1 Description of the CODE128 Bar Code Code 128 bar codes can encode 128 unique ASCII characters, 2-digit numerals
Kommentare zu diesen Handbüchern