1. Command List Command Name Horizontal tab Print and line feed Print and return to standard mode (in page mode) Print and carriage return Cancel print data in page mode DLE EOT n Real-time status transmission DLE ENQ n Real-time request to printer DLE DC4 n Generate pulse at real-time ESC FF...
Page 3
FS p n Print NV bit image FS q Define NV bit image GS ! n Select character size GS $ Set absolute vertical print position in page mode GS * x y Define downloaded bit image GS ( A Execute test print GS / Print downloaded bit image...
2. Control Commands [Name] Horizontal tab [Format] ASCII Decimal [Description] Moves the print position to the next horizontal tab position. [Details] • 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].
[Description] When automatic line feed is enabled, this command functions the same as LF; when automatic line feed is disabled, this command is ignored. [Details] • Sets the print starting position to the beginning of the line. • The automatic line feed is ignored with a serial interface model. •...
Page 6
The printer transmits the status without confirming whether the host computer can receive data. The printer executes this command upon receiving it. This command is executed even when the printer is off-line, the receive buffer is full, or there is an error status with a serial interface model. ...
n = 3: Error status Off/On Decimal Function Not used.Fixed to Off. Not used.Fixed to On. Undefined. No auto-cutter error. Auto-cutter error occurs. Not used.Fixed to On. No unrecoverable error. Unrecoverable error occurs. No auto-recoverable error. Auto recoverable error occurs. Not used.Fixed to Off.
there is an error status when DIP switch 2-1 is on with a parallel interface model. The status is also transmitted whenever the data sequence of <10>H<05>H< n> (1 <= n <= 2 ) is received. Example: In ESC m n dk, d1 = <10>H, d2 = <05>H, d3 = <01>H ...
With a parallel interface model, this command cannot be executed when the printer is busy. This command is executed even when the printer is off-line or there is an error status when DIP switch 2-1 is on. If print data includes the same character strings as this command, the printer performs the same operation specified by this command.
Page 10
printable area using ESC T, the vertical motion unit ( y) is used. • The maximum right-side spacing is 255/180 inches. Any setting exceeding the maximum is converted to the maximum automatically. [Default] n = 0 [Reference] GS P ESC ! n [Name] Select print mode(s) [Format]...
Page 11
ESC $ nL nH [Name] Set absolute print position [Format] ASCII Decimal [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed. •...
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 13
• When font B (9 ╳ 17) is selected. THERMAL RECEIPT PRINTER...
Page 14
ESC * m nL nH d1... dk [Name] Select bit-image mode [Format] ASCII m nL nH d1...dk 2A m nL nH d1...dk Decimal 42 m nL nH d1...dk [Range] m = 0, 1, 32, 33 0 ≤ nL ≤ 255 0 ≤...
Page 15
to not print a dot. • If the width of the printing area set by GS L and GS W less than the width required by the data sent with the ESC * command, the following will be performed on the line in question (but the printing cannot exceed the maximum printable area): ①...
Page 16
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 Turns off underline mode 1, 49 Turns on underline mode (1-dot thick) 2, 50...
ESC 2 [Name] Select default line spacing [Format] ASCII Decimal [Description] Selects 1/ 6-inch line (approximately 4.23mm) spacing. [Details] •The line spacing can be set independently in standard mode and in page mode. [Reference] ESC 3 ESC 3 n [Name] Set line spacing [Format] ASCII...
Page 18
DLE ENQ, DLE DC4) until it is enabled by this command. [Default] n = 1 ESC ? n [Name] Cancel user-defined characters [Format] ASCII Decimal [Range] 32 ≤ n ≤ 126 [Description] Cancels user-defined characters. [Details] • This command cancels the pattern defined for the character code specified by n.
• When setting n = 8, the print position is moved to column 9 by sending HT. • Up to 32 tab positions ( k = 32) can be set. Data exceeding 32 tab positions is processed as normal data. •...
Page 20
Decimal [Range] 0 ≤ n≤ 255 [Description] Prints the data in the print buffer and feeds the paper [ n ╳ vertical or horizontal motion unit] inches. [Details] • After printing is completed, this command sets the print starting position to the beginning of the line.
⑤ S et printable area width: GS W • The following command is ignored in page mode: ① E xecute test print: GS ( A • The following command is not available in page mode: ① P rint NV bit image: FS p ②...
Korea Slovenia/Croatia Chinese T he character sets for Slovenia/Croatia and China are supported only in the Simplified Chinese model. [Default] Simplified Chinese model: n = 15 Models other than the Simplified Chinese model: n = 0 ESC S [Name] Select standard mode [Format] ASCII...
1, 49 Bottom to top Lower left 2, 50 Right to left Lower right 3, 51 Top to bottom Upper right [Details] When the command is input in standard mode, the printer executes only internal flag operation. This command does not affect printing in standard mode.
Page 24
[Details] This command affects printing in standard mode. However, the setting is always effective. When underline mode is turned on, the printer does not underline 90 clockwise-rotated. Double-width and double-height commands in 90 rotation mode enlarge characters in the opposite directions from double-height and double- width commands in normal mode.
Page 25
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. When the horizontal starting position , vertical starting position, printing area width, and printing area height are defined as X, Y, Dx, and Dy respectively, the printing area is set as shown in the figure below.
• The horizontal and vertical motion unit are specified by GS P. • The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.
Each bit of n is used as follows: Off/On Decimal Function Paper roll near-end sensor disabled Paper roll near-end sensor enabled Paper roll end sensor disabled Paper roll near-end sensor enabled Paper roll end sensor disabled Paper roll near-end sensor enabled Paper roll end sensor disabled Paper roll near-end sensor enabled Undefined...
ESC C 5 n [Name] Enable/disable panel buttons [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Enables or disables the panel buttons. • When the LSB of n is 0, the panel buttons are enabled. • When the LSB of n is 1, the panel buttons are disabled. [Details] •...
Page 29
ESC t n [Name] Select character code table [Format] ASCII Decimal [Range] 0 ≤ n ≤ , 16 ≤ n ≤ 2 1 [Description] Selects a page n from the character code table. Page PC437 [U.S.A.Standard Europe] Katakana PC850:Multilingual PC860:Portuguese PC863 [Canadian French] PC865:Nodic West Europe...
[Default] n = 0 [Example] FS p n m [Name] Print NV bit image [Format] ASCII 70 n Decimal 112 n [Range] 0 <= n <= 2 55 0 <= m <= 3 , 48 <= m <= 5 1 [Description] Prints a NV bit image n using the mode specified by m.
Page 31
②If the printing area width cannot be extended by one line vertically, the left margin is reduced to accommodate one line vertically. 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 ...
Page 32
printer processes xL, xH, yL, yH out of the defined range. I n the first group of NV bit images, when any of the parameters xL, xH, yL, yH is out of the definition range, this command is disabled. ...
Page 33
GS ! n [Name] Select character size [Format] ASCII Decimal [Range] 0 <= n <= 2 55 (1 <= v ertical number of times <= 8 , 1 <= h orizontal 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...
Page 34
Character width selection. See Table 1. Table 1 Table 2 Character Width Selection Decimal Width 1(normal) 2(double-width) Table 1 Table 2 Character Height Selection Decimal Width 1(normal) 2(double-height) [Details] This command is all characters (alphanumeric and Kanji) effective except for HRI characters.
Page 35
GS $ nL nH [Name] Set absolute vertical print position in page mode [Format] ASCII nL nH Decimal 29 nL nH [Range] 0 <= n L <= 2 55, 0 <= n H <= 2 55 [Description] Sets the absolute vertical print starting position for buffer character data in page mode.
Page 36
① ESC @ is executed. ② ESC & is executed. ③ FS q is executed. ④ Printer is reset or the power is turned off. • The following figure shows the relationship between the downloaded bit image and the printed data. [Reference] GS / GS / m...
② If the printing area width cannot be extended by one line in vertical, the left margin is reduced to accommodate one line in vertical. [Reference] GS * GS : [Name] Start/end macro definition [Format] ASCII Decimal 29 [Description] Starts or ends macro definition. [Details] ...
GS H n [Name] Select printing position for HRI characters [Format] ASCII Decimal [Range] 0 <= n <= 3 , 48 <= n <= 5 1 [Description] Selects the printing position of HRI characters when printing a bar code. n selects the printing position as follows: Printing position 0, 48 Not printed...
GS P x y [Name] Set horizontal and vertical motion units [Format] ASCII Decimal [Range] 0 <= x <= 2 55 0 <= y <= 2 55 [Description] Sets the horizontal and vertical motion units to approximately 25.4/ x mm { 1/ x inches} and approximately 25.4/ y mm {1/ y inches}, respectively.
[Description] Selects a mode for cutting paper and executes paper cutting. The value of m selects the mode as follows: Print mode 0, 1, 49 Partial cut (one point left uncut) Feeds paper (cutting position + [ n ╳ ( vertical motion unit)]), and cuts the paper partially (one point left uncut).
Page 41
③ If the printing area width cannot be extended sufficiently, the right space is reduced. • If the width set for the printing area is less than one line in vertical, the following processing is performed only on the line in question when data other than character data (e.g., bit image, user-defined bit image) is developed: ①...
Page 42
horizontal motion unit (x) is used. • The horizontal and vertical motion unit are specified by GS P. • The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.
Page 43
Drawer kick-out connector pin 3 status enabled. Undefined. Error status disabled. Error status enabled. Paper roll sensor status disabled. Paper roll sensor status enabled. Undefined. [Details] If any of the status items in the table above are enabled, the printer transmits the status when this command is executed.
Page 44
GS h n [Name] Select bar code height [Format] ASCII Decimal 29 104 [Range] 1 <= n <= 2 55 [Description] Selects the height of the bar code. n specifies the number of dots in the vertical direction. [Default] n = 162 [Reference] GS k ①GS k m d1…dk NUL...
Page 45
45 ≤ d ≤ 57, 65 ≤ d ≤ 90, CODE39 1 ≤ n ≤ 255 d = 32, 36, 37, 43, 45, 46, d = 42 1 ≤ n ≤ 255(even number) 48 ≤ d ≤ 57 CODABAR 1 ≤ n ≤ 255 48 ≤...
Page 46
following data as normal data. In this case the data buffer position does not change. I f bar code width exceeds the printing area, the printer does not print the bar code but moves the data buffer position to the left side out of the printing area. When CODE93 (m = 72) is used: ...
Page 47
Drawer kick-out connector pin 3 is LOW. Paper roll near-end sensor: paper near end. Undefined. Not used. Fixed to Off. Undefined. Not used. Fixed to Off. GS v 0 m xL xH yL yH d1..dk [Name] Print raster bit image [Format] ASCII xL xH yL yH d1...dk...
definition, and begins performing this command. The definition of this command should be cleared. d indicates the bit-image data. Set time a bit to 1 prints a dot and setting it to 0 does not print a dot. GS w n [Name] Set bar code width [Format]...
Page 49
Underline mode is OFF. Underline mode is ON. [Details] • When both double-width and double-height modes are set (including right- and left-side character spacing), quadruple-size characters are printed. • The printer can underline all characters (including right- and left-side character spacing), but cannot underline the space set by HT and 90°...
Page 50
[Reference] FS ! FS . [Name] Cancel Kanji character mode [Format] ASCII Decimal 28 [Description] Cancels nKanji character mode. [Reference] FS &, FS C FS 2 c1 c2 d1...dk [Name] Define user-defined Kanji characters [Format] ASCII d1...dk d1...dk Decimal c2 d1...dk [Range] c1 and c2 indicate character codes for the defined characters.
Page 51
FS S n1 n2 [Name] Set left- and right-side Kanji character spacing [Format] ASCII n 1 n2 n 1 n2 Decimal n 1 n2 [Range] 0 ≤ n 1 ≤ 255 0 ≤ n 2 ≤ 255 [Description] Sets left- and right-side Kanji character spacing n1 and n2, respectively. •...
Page 52
• In standard mode, the horizontal motion unit is used. • In page mode, the horizontal or vertical motion unit differs in page mode, depending on starting position of the printable area as follows: ① When 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.
Need help?
Do you have a question about the p11-usl and is the answer not in the manual?
Questions and answers