Page 2
Manual Description Command Notation [Name] Command in ASCII format and general description. [Format] The code sequence, including ASCII, HEX and DECIMAL. [Range] Gives the allowable ranges for the arguments. [Description] Describes the command’s function. [Details] Describes the usage of the command in detail. [Notes] Provides important information on setting and using the printer command.
Page 3
3、ESC SP n Set right-side character spacing [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Description] Sets the character spacing for the right side of the character to inches [ n x horizontal motion units]. [Details] § When characters are enlarged n times, the right-side character spacing is n times normal value.
Page 4
5、ESC $ nL nH Set absolute print position [Format] ASCII ESC $ nL nH 1B 24 nL nH Decimal 27 36 nL nH 0 ≤ n ≤ 255 [Range] [Description] § Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed.
Page 5
the final code. § x specifies the number of dots in the horizontal direction. [Note] § The available range of character is from ASCII <20>H to <7F>H (96 characters). § Consecutive character codes for multiple characters can be defined in one definition.
Page 7
Mode Vertical Horizontal Density Density Data(k) nL + nH × 256 8 dots Single Density 67 DPI 100 DPI nL + nH × 256 8 dots Double Density 67 DPI 200 DPI ( nL + nH × 256) × 3 24 dots Single Density 200 DPI 100 DPI...
Page 8
位 图数 据 D d 1 d 2 d 3 d 4 d 5 d 6 d 7 d 8 d 9 最 高 位 D d 1 d4 d 7 位图 数 据 d 2 d5 d8 最低 位 d 3 d6 d9 打...
Page 9
10、ESC 2 Select default line spacing [Format] ASCII Decimal [Description] Selects default (3.75mm, 1/6-inch) line spacing. [Notes] § Default line spacing is absolute in standard mode and page mode. [Reference] ESC 3 11、ESC 3 n Set line spacing [Format] ASCII 33 n Decimal 51 n...
Page 10
[Notes] § The DIP switch settings are not checked again. § The data in the receive buffer is not cleared. § Macro defined is reserved. § NV bitmap data is not cleared. 14、ESC D n1...nk NUL Set horizontal tab positions [Format] ASCII n1...
Page 11
§ When the LSB of n is 0, emphasized mode is turned off. § When the LSB of n is 1, emphasized mode is turned on. [Notes] § Only the lowest bit of n is enabled. § This command and ESC ! turn on and off emphasized mode in the same way. The last proceeded command becomes effective.
Page 12
[Description] Selects Font A or Font B from the following table: Function Font A (12 × 24) is selected 0,48 Font B (9 × 17) is selected 1,49 19、ESC R n Select an international character set [Format] ASCII Decimal 0 ≤n ≤ 15 [Range] [Description] Selects an international character set n from the following table:...
Page 13
§ This command is only effected in standard mode. § When 90-degree rotation is selected, printer doen’st print the underline. § Twice-height and twice-width is opposited in 90-degree rotation mode. [Default] n = 0 [Reference] ESC !, ESC - 21、ESC \ nL nH Set relative horizontal position [Format] ASCII...
Page 14
§ This command justifies the space area of the data skipped by command HT, ESC $ and ESC \. [Default] n = 0 [Example] 左 对 齐 居 中 右 对 齐 A B C A B C A B C A B C D A B C D A B C D...
Page 15
[Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255, 0 ≤ t2 ≤ 255 [Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows: Connector Pin 0, 48 Drawer kick-out connector pin 2 1, 49 Drawer kick-out connector pin 5 [Notes]...
Page 16
§ When the LSB of n is 0, upside-down printing mode is turned off. § When the LSB of n is 1, upside-down printing mode is turned on. [Notes] § Only the lowest bit of n is effective. § This command is enabled only when input at the beginning of a line. §...
Page 17
characters, etc.), except upside-down printing mode. § If the downloaded bit-image to be printed exceeds one line, the excess data is not printed. § This command feeds dots (for the height n of the NV bit-image) in normal and double-widthmodes, and (for the height n × 2 of the NV bit-image) in double-height and quadruple modes,regardless of the line spacing specified by ESC 2 or ESC 3.
Page 18
§ In page mode, this command is not effective. § This command is effective when 7 bytes <FS yH> is processed as a normal value. § When the amount of data exceeds the capacity left in the range defined by xL, xH, yL, yH, the printer processes xL, xH, yL, yH out of the defined range.
Page 19
30、GS ! n Select character size [Format] ASCII Decimal 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 usingbits 4 to 7, as follows: Decimal Function...
Page 20
[Notes] § This command is all characters (alphanumeric and Kanji) effective except forHRI 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.
Page 21
④ Printer is reset or the power is turned off. § The following figure shows the relationship between the downloaded bit image and the printed data. X x 8 × 点 D1 d1 d y+1 最 高位 d y+ 3 --- ---- --- --- - -- --- - d 70 - - -- - - -- --- --- --- - -- - - d 71 Y y 8 ×...
Page 22
33、GS B n Turn white/black reverse printing mode [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Description] Turns on or off white/black reverse printing mode. § When the LSB of n is 0, white/black reverse mode is turned off. §...
Page 23
35、GS L nL nH Set left margin [Format] ASCII nL nH nL nH Decimal nL nH 0 ≤ nL ≤ 255 [Range] 0 ≤ nH ≤ 255 [Description] Sets the left margin using nL and nH. § The left margin is set to [( nL + nH ╳ 2 56) ╳ h orizontal motion unit]] inches.
Page 24
§ In standard mode, the following commands use x or y, regardless of character rotation (upside-down or 90° clockwise rotation): ①Commands using x: ESC SP, ESC $, ESC \, FS S, GS L, GS W ②Commands using y: ESC 3, ESC J, GS V §...
Page 25
[Default] nL = 76, nH = 2 [Reference] GS L, GS P 38、ESC v Transmit printer status (only for Serial and Ethernet interface) [Format] ASCII Decimal [Description] Transmit printer status. For Serial interface: § When n=0, paper present. § When n=4, no paper present. For Ethernet interface, the printer status is transmited automatically.
Page 26
Off/On Decimal ASB Status Undefined. 4-7 Off Not used. Fixed to 0. 39、GS f n Select HRI font [Format] ASCII Decimal [Range] n = 0, 1, 48, 49 [Description] When printing barcode, to select HRI font. n selects the font as follows: Font Font A (12 ×...
Barcode Type Number of Characters Characters Remarks 11 ≤ k ≤ 12 48 ≤ d ≤ 57 UPC-A 0~9 11 ≤ k ≤ 12 48 ≤ d ≤ 57 UPC-E 0~9 12 ≤ k ≤ 13 48 ≤ d ≤ 57 JAN13 0~9 (EAN13)
Page 28
code after receiving 8 bytes bar code data and processes the following data as normal data. § The number of data for ITF bar code must be even numbers. When an odd number of data is input, the printer ignores the last received data. [Notes ②] §...
Page 29
0 ≤ d ≤ 255 k = ( xL + xH × 256) × ( yL + yH × 256) ( k ≠ 0) [Description] Selects Raster bit-image mode. The value of m selects the mode, as follows: MODE Vertical Dot Density Horizontal Dot ensity 0, 48 Normal...
Page 31
. The company reverses the CODE SOFT INTERNATONAL INFORMATION CO. LTD rights of modifications of manufacture technology, assembly, software and hardware without notice. Contact your franchiser if you need further information about the product...
Need help?
Do you have a question about the TP-290XIII and is the answer not in the manual?
Questions and answers