Page 2
1. COMMANDS 1.1 Command Notation [Name] The name of the command. [Format] The code sequence. [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, if necessary. [Default] Gives the default values, if any, for the command parameters.
Page 3
Ignore The state in which all codes, including parameters, are read in and discarded, and nothing happens. Inch A unit of length. One inch is 25.4 mm. Most Significant Bit (10) Least Significant Bit Base line (11) Standard position when character data is stored in the print buffer. Normal character in standard mode and page mode: -------------Thermal Printer-------------...
Command List Horizontal tab Print and line feed FF (*) Print and return to standard mode in page mode CAN (*) Cancel print data in page mode DLE EOT n (*) Real-time status transmission DLE ENQ n (*) Real-time request to printer DLE DC4 n m t H Generate pulse at real-time ESC FF (*)
Page 5
ESCtn Select character code table ESC{n Turns on/off upside-down printing mode FS p n m (*) Print NV bit image Define NV bit image FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n (*) GS ! n (*) Select character size GS $ nL nH (*) Set absolute vertical print position in page mode...
1.3 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].
Page 7
CAN(*) [Name] Cancel print data in page mode [Format] ASCII Decimal [Description] In page mode, deletes all the print data in the current printable area [Details] • This command is enabled only in page mode. •If data that existed in the previously specified printing area also exists in the currently specified printing area, it is deleted.
Page 8
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. With a parallel interface model, this command can not be executed when the •...
Page 9
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. No auto-cutter error. Auto-cutter error occurs. Not used. Fixed to On. No unrecoverable error.
Page 10
• With a parallel interface model, this command can not 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 with a parallel interface model. •...
Page 11
off-line, the receive buffer is full, or there is an error status. 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 •...
Page 12
converted to the maximum automatically -------------Thermal Printer-------------...
Page 13
[Default] n = 0 [Reference] GS P ESC ! n Name] Select print mode(s) [Format] ASCII Decimal [Range] 0 ≤n ≤255 [Description] Selects print mode(s) using n as follow: Off/On Decimal Function Character font A(12 24). Character font B (9 17).
Page 14
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. [Details] • The distance from the beginning of the line to the print position is [ ( nL + nH X 256) X (vertical or horizontal motion unit)] inches.
Page 15
definition, and c2 specifies the final code. •x specifies the number of dots in the horizontal direction. [Details]• The allowable character code range is from ASCII code <20>H to <7E>H (95 characters) •It is possible to define multiple characters for consecutive character codes. If only one character is desired,use c1 = •d is the dot data for the characters.
Page 17
ESC * m nL nH d1...dk [Name] Select bit-image mode [Format] ASCII nH d1...dk 2A m nH d1...dk Decimal 42 m nL d1...dk [Range] m = 0,1, 32, 33 0≤nL≤255 0≤nH≤3 0≤d≤255 [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH as follows: Vertical Direction Horizontal Direction...
Page 18
•When 24-dot bit image is selected: -------------Thermal Printer-------------...
Page 19
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 Turns on underline mode (2-dots thick) •The printer can underline all characters...
Page 20
When the starting position is set to the upper left or lower right of the printable area using ESC ① the vertical motion unit (y) is used. When the starting position is set to the upper right or lower left of the print able area using ESC T, the ②...
Page 21
•The NV bit image data is not cleared. • The data of the user NV memory is not cleared. ESC D n1...nk NUL [Name] Set horizontal tab positions [Format] ASCII n1..,nk n1..,nk Decimal n1..,nk [Range] 1 ≤n ≤255 0≤k≤32 [Description] Sets horizontal tab positions. [Details] •n specifies the column number for setting a horizontal tab position from the beginning of the line.
Page 22
ESC G n [Name] Turn on/off double-strike mode [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Turns double-strike mode on or off. [Details] •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.
Page 23
① Set right-side character spacing: ESC SP, FS S ② Select default line spacing: ESC 2, ESC 3 · Only valve setting is possible for the following commands in page mode; these commands are not executed. ① Turn 90º clockwise rotation mode on/off: ESC V ②Select justification: ESC a ③...
Models other than the Simplified Chinese model: n=0 ESC S (*) [Name] Select standard mode [Format] ASCII Decimal [Description] Switches from page mode to standard mode. [Details] ·This command is effective only in page mode. · Data buffered in page mode are cleared. ·...
Page 25
①If the starting position is the upper left or lower right of the printing area, date is buffered in the direction perpendicular to the paper feed direction: Commands using horizontal motion units: ESC SP, ESC $, ESC \ Commands using vertical motion units: ESC 3, ESC J, GS $, GS \ ②If the starting position is the upper right or lower left of the printing area, data is buffered in the page feed direction: Commands using horizontal motion units: ESC 3, ESC J, GS $, GS \...
Page 26
printing area height is automatically set to (vertical printable area + vertical starting position) · The horizontal and vertical motion unit are specified by GS P. Changing the horizontal or vertical motion unit does not affect the current printing area. ·...
Page 27
vertical motion unit] · 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 28
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 4-7 - Undefined [Details] · It is possible to select multiple sensors to output signals. Then, if any of the sensors detects a paper end, the paper end signal is output.
Page 29
· When the panel buttons are disabled, none of them are usable when the printer cover is closed. · In this printer, the panel buttons are the FEED button. · In the macro ready mode, the FEED button are enabled regardless of the settings of this command;...
Page 32
FS p n m (*) [Name] Print NV bit image [Format] ASCII Decimal [Range] ≤ ≤ ≤m≤ 48≤m≤ [Description] Prints a NV bit image n using the mode specified by m. Mode Vertical Dot Density Horizontal Dot Density 0,48 Normal 200 dpi 200 dpi 1,49...
Page 33
image you are defining. · yL, yH specifies (yL + yH ×256) × 8 dots in the vertical direction for the NV bit image you are defining. [Details] ·This command cancels all NV bit images that have already been defined by this command. The printer can not redefine only one of several data definitions previously defined.
Page 34
defined only after completing this command. The printer clears the receive and print buffers and resets the mode to the mode that was in effect at power on. At this time, DIP switch settings are checked again. [Reference]FS p GS ! n [Name] Select character size [Format]...
Page 35
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. • 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 36
sets the absolute position in the vertical direction. ②When the starting position is set to the upper right or lower left, this command sets the absolute position in the horizontal direction. • The horizontal and vertical motion unit are specified by GS P. •...
Page 37
Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI) 0, 48 Normal 1,49 Double-width 2,50 Double-height 3, 51 Quadruple [Details]• This command is ignored if a downloaded bit image has not been defined. • In standard mode, this command is effective only when there is no data in the pint buffer •...
Page 38
•This command does not affect bit image, user-defined bit image, bar code, HRI characters, and spacing skipped by HT, ESC $, and ESC \. •This command does not affect the space between lines. •White/black reverse mode has a higher priority than underline mode. Even if underline mode is on, it is disabled (but not canceled) when white/black reverse mode is selected.
Page 39
GS P x y (*) [Name] Set horizontal and vertical motion units [Format] ASCII 50 x y Decimal 29 80 x y [Range] 0≤x≤255 0≤y≤255 [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.
Page 40
cuts it. ·The horizontal and vertical motion unit are specified by GS P. ·The paper feed amount is calculated using the vertical motion unit (y). 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. GS W nL nH [Name] Set printing area width...
Page 41
Normal mode or Double-height mode = 1 dot [Default] nL = 0, nH = 2 For 58mm paper width model; nL = 104, nH = 1 [Reference] GS L, GS P GS \ nL nH [Name] Set relative vertical print position in page mode [Format] ASCII Decimal...
Page 42
GS a n (*) [Name] Enable/Disable Automatic Status Back (ASB) [Format] ASCII Decimal [Range] 0≤n≤255 [Description] Enables or disables ASB and specifies the status items to include, using n as follows: Off/On Decimal Status for ASB Drawer kick-out connector pin 3 status disabled.
Page 43
[Details] ·HRI indicates Human Readable Interpretation. ·HRI characters are printed at the position specified by GS H. [Default] n = 0 [Reference] GS H, GS k GS h n [Name] Select bar code height [Format] ASCII Decimal [Range] 1≤n≤255 [Description] Selects the height of the bar code. n specifies the number of dots in the vertical direction.
Page 45
GS r n (*) [Name] Transmit status [Format] ASCII Decimal [Range] n = 1, 2, 49, 50 [Description] Transmits the status specified by n as follows: Function 1,49 Transmits paper sensor status 2,50 Transmits drawer kick-out connector status [Details] ·When using a serial interface When DTR/DSR control is selected, the printer transmits only 1 byte after confirming the host is ready to receive a data (DSR signal is SPACE).
Page 46
0≤yL≤255 0≤d≤255 k = (xL + xH x 256) x (yL + yH x 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 200 DPI 200 DPI...
Page 47
FS ! n [Name] Set print mode(s) for Kanji characters [Format] ASCII Decimal [Range] 0≤n≤255 [Description] Sets the print mode for Kanji characters, using n as follows: Off/On Decimal Function Undefined. Undefined. Double-width mode is OFF. Double-width mode is ON. Double-height mode is OFF.
Page 48
[Range] 0≤n≤2, 48≤n≤50 [Description] Turns underline mode for Kanji characters on or off, based on the following values of n. Function 0,48 Turns off underline mode for Kanji characters 1,49 Turns on underline mode for Kanji characters (1-dot thick) 2,50 Turns on underline mode for Kanji characters (2-dot thick) [Details] ·The printer can underline all characters (including right- and left-side character spacing), but cannot underline the space set by HT and 90°clockwise-rotated characters.
Page 49
D1=00H, D4=00H, D7=00H, D10=00H…… D2=1FH, D5=78H, D8=60H, D11=00H…… D3=C0H, D6=30H, D9=38H, D12=70H…… 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,...
Page 50
units of the minimum horizontal movement amount. 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 follow: ①...
Page 51
] Beeper and alarm functions when receipt comes. [Description • m: 1<=m<=20 the functions times of beeper and alarm. • t: 1<=t<=20, the beeper and alarm lasting time, which is [tx50]ms. • When n=0, beeper and alarm are disabled When n=1, beeper is enabled When n=2, alarm is enabled When n=3, beeper and alarm are enabled two-dimension code...
Page 52
■ Settings of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off. ■ n = width of a module = height of a module. (Because the QR code modules are square.) GS ( k <Function 169>...
Page 53
■ It is possible to encode to a QR Code as follows. Be sure not to include anything except the following data in the data dl...dk. Category of data Characters it is possible to specify Numerical Mode data “0”〜"9” Alphanumeric Mode data “0”~”9”,”A”~”Z”, SP, $, %, *, +, -, ., /, : Kaji Mode data Shift JIS value (Shift value from JISX0208) 8-Bit Byte Mode data...
Page 54
• Number of bits in Character Count Indicator • Mode Indicator • Terminator • Alignment Patterns (when model 2 is selected) • Extension Patterns (when model 1 is selected) ■ Printing of symbol is not affected by print mode (emphasized, double-strike, underline, white/ black reverse printing, or 90°...
Page 55
Send data Decimal Data Header lbyte Identifier lbyte Horizontal size(*l ) 30H-39H 48-57 l-5byte Separator lbyte Vertical size(*l) 30H~39H 48-57 l-5byte Separator lbyte Fixed value lbyte Separator lbyte Other information(*2) 30H or3 1H 48 or 4 9 lbyte lbyte (*l) “...
Page 56
Other information Decimal Condition Printing is possible Printing is impossible Size information indicates size of symbol that is printed by Function 181. The quiet zone is not included in the size information. If “other information” is “Printing is impossible “(in decimal: 49),use one of the solutions ...
Need help?
Do you have a question about the RP-100-300II and is the answer not in the manual?
Questions and answers