1.Command List Type Command Name Print and line feed Print and carriage return Print JMP to the next TAB position Command ESC D n Set horizontal tab positions ESC J n Print and Feed n dots paper ESC d n Print and Feed n lines ESC 2 Select default line spacing...
2.Control Commands [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 the next horizontal tab position exceeds the printing area, the printer sets the printing position to [printing area width + 1].
This command line feed is ignored with a serial interface model. [Notes] Sets the print starting position to the beginning of the line. [Reference] ESC SP n [Name] Set right-side character spacing [Format] ASCII Decimal 27 0 n 255 [Range] [Description] Sets the character spacing for the right side of the character to [n×...
In standard mode, the horizontal motion unit (x) is used. [Reference] ESC \, GS $, GS \ Off/On Decimal Function Character Font A (12×24). Character Font B (9×17). Turn white/black reverse printing mode not selected. Turn white/black reverse printing mode selected. Turn on/off upside-down printing mode not selected.
Page 8
xk)] c2 [x1 d1...d(y x1)]...[xk d1...d(y Decimal y c1 xk)] [Range] y = 3 32 c1 c2 126 0 x 12 (when Font A (12×24) is selected) 0 d1 ... d(y×xk) 255 [Description] Defines user-defined characters. y specifies the number of bytes in the vertical direction. c1 specifies the beginning character code for the definition, and c2 specifies the final code.
Page 10
0 d 255 [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows: Mode Vertical Direction Horizontal Direction Number Dot Density Number of Data Density Dots nL + nH ×256 8-dot single-density 67.7 dpi 101.6 dpi nL + nH ×256...
Page 11
3.11.3 When 24-dot bit image is selected:...
[Format] ASCII Decimal 0 n 255 [Range] [Description] Sets the line spacing to [n×0.125 mm]. The line spacing can be set independently in standard mode. [Notes] In standard mode, the vertical motion unit (y) is used. [Default] n = 30 [Reference] ESC 2 ESC ? n...
n1...nk Decimal 27 n1...nk 1 n 255 [Range] 0 k 32 [Description] Sets horizontal tab positions. n specifies the column number for setting a horizontal tab position from the beginning of the line. k indicates the total number of horizontal tab positions to be set. The horizontal tab position is stored as a value of [character width [Notes] n]measured from the beginning of the line.
ESC G n [Name] Turn on/off double-strike mode [Format] ASCII Decimal 0 n 255 [Range] [Description] Turns double-strike mode on or off. When the LSB of n is 0, double-strike mode is turned off. When the LSB of n is 1, double-strike mode is turned on. Only the lowest bit of n is enabled.
Germany Denmark I Sweden Italy Spain I Japan Norway Denmark II Spain II Latin America Korea Slovenia/Croatia China [Default] n = 0 ESC M [Name] Select character font [Format] ASCII Decimal n [Range] [Description] Selects the character font. Function Simplified Chinese character font(12)...
1,49 Turns on 90clockwise rotation mode This command affects printing in standard mode. However, the [Notes] setting is always effective. When underline mode is turned on, the printer does not underline 90 clockwise-rotated characters. Double-width and double-height commands in 90rotation mode enlarge characters in the opposite directions from double-height and double- width commands in normal mode.
0 n 255 [Range] [Description] Prints the data in the print buffer and feeds n lines. This command sets the print starting position to the beginning of the [Notes] line. This command does not affect the line spacing set by ESC 2 or ESC The maximum paper feed amount is 1016 mm (40 inches).
1 n 255 [Range] 0 m 3 , 48 m 51 [Description] Prints NV bit image n using the mode specified by m. Mode Vertical Dot Density Horizontal Dot Density 0,48 Normal 203.2 dpi 203.2 dpi 1,49 Double-width 203.2 dpi 101.6 dpi 2,50 Double-height...
Page 21
0 yL 255 0 yL 1 (when 1 (yL yH 256) 288 0 d 255 xH 256) (yL yH 256) 8 k = (x Total defined data area = 192K bytes [Description] Define the NV bit image specified by n. n specifies the number of the defined NV bit image.
Page 22
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.
GS ! [Name] Select character size [Format] ASCII 21 n Decimal 33 n 0 n 255 [Range] (1 vertical number of times 8, 1 horizontal number of times 8)
[Description] Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7, as follows: Off/On Decimal Function Character height selection. See Table 2. Character width selection. See Table 1. Table 1 Table 2 Character Width Selection Character Height Selection Decimal...
d1...d(x×y ×8) 2A x Decimal 42 x d1 ...d(x×y×8) 1 x 255 [Range] 1 y 48 (where x×y 1536) 0 d 255 [Description] Defines a downloaded bit image using the number of dots 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.
Decimal 0 m 3, 48 m 51 [Range] [Description] Prints a downloaded bit image using the mode specified by m. m selects a mode from the table below: Mode Vertical Dot Density Horizontal Dot Density 0, 48 Normal 203.2 dpi 203.2 dpi 1, 49 Double-width...
GS f n [Name] Select font for Human Readable Interpretation (HRI) characters [Format] ASCII Decimal n 1, 48, 49 [Range] [Description] Selects a font for the HRI characters used when printing a bar code. n selects a font from the following table: Font 0,48 Font A (12×24)
Decimal 29 0 nL 255 [Range] 0 nH 255 [Description] Sets the left margin using nL and nH. The left margin is set to [(nL + nH ×256) ×0.125 mm]. This command is effective only when processed at the beginning of [Notes] the line in standard mode.
Page 30
paper. This command feeds as much paper as is required to print the bar code,regardless of the line spacing specified by ESC 2 or ESC 3. This command is enabled only when no data exists in the print buffer.When data exists in the print buffer, the printer processes the datafollowing m as normal data.
Page 31
②Special characters are defined by combining two characters "{" and one character. The ASCII character "{" is defined by transmitting "{" twice consecutively. Transmit data Specific character ASCII Decimal SHIFT 7B, 53 123,83 CODE A 7B, 41 123,65 CODE B 7B,42 123,66 CODE C...
① GS k m v r d1...dk NUL② GS k m v r nL nH d1...dn [Name] Print QR CODE ①m=32 [Format] ASCII m v r d1...dk m v r d1...dk Decimal m v r d1...dk ②m=97 ASCII m v r nL nH d1...dn m v r nL nH d1...dn...
GS w n [Name] Set bar code width [Format] ASCII Decimal 2 n 6 [Range] [Description] Sets the horizontal size of the bar code. n specifies the bar code width as follows: Module Width (mm) for Binary-level Bar Code Multi-level Bar Code Thin Element Width (mm) Thick Element Width(mm) 0.250...
coordinate; xkeL : The K line end point is the low order of horizontal coordinate; xkeH : The K line end point is the high order of horizontal coordinate; Coordinates starting from the most left of printing area.The minimum is 0, maximum is 383, that xkeL + xkeH * 256 maximum is 383.
FS & [Name] Select Kanji character mode [Format] ASCII & Decimal [Description] Selects Kanji character mode. [Notes] For Kanji model: When the Kanji character mode is selected, the printer processes all Kanji code as two bytes each. Kanji codes are processed in the order of the first byte and second byte.
FS 2 c1 c2 d1...dk [Name] Define user-defined Kanji characters [Format] ASCII d1...dk d1...dk Decimal d1...dk [Range] c1 and c2 indicate character codes for the defined characters. Model type A1H c2 c1 = FEH Chinese kanji supporting model 0 d 255 k = 32 (slip), k = 72 (paper roll) [Description] Defines user-defined Kanji characters for the character codes...
Need help?
Do you have a question about the PTP-III and is the answer not in the manual?
Questions and answers