Page 2
SRP-500 1. EPSON Mode (TM-U200) Command Description Hexadecimal Print and carriage return Horizontal tab Print and linefeed DLE EOT Transmit real-time status 10 04 DLE ENQ Real-time request to printer 10 05 ESC SP Set right-side character spacing 1B 20...
Page 3
SRP-500 2. STAR Mode (SP-320) Command Description Hexadecimal Deferred drive command “A” for peripheral unit 1 Page feed (Form feed) Print and linefeed (same as LF) Select expanded character mode Select upside-down Cancel upside-down character Cancel expanded character mode (Default setting)
Page 4
SRP-500 3. CITIZEN Mode (iDP-3541) Command Description Hexadecimal First drawer drive command1 Paper feed command FF n “n”-lines paper feed command 0C n Enlarged character command Normal character command Initial set command Inverted character command Red color print command Clear command...
Page 5
SRP-500 4. Control Commands Details 4-1 Command Notation [Name] The name of the command. [Format] The code sequence. ASCII Indicates the ASCII equivalents. Hex indicates the hexadecimal equivalents. Decimal indicates the decimal equivalents. [ ] k indicates the contents of the [ ] should be repeated k times.
Page 6
SRP-500 [Name] Print and carriage return [Format] ASCII Decimal [Description] This command prints the data in the print buffer and does not feed the paper. [Note] Sets the print starting position to the beginning of the line [Reference] DLE EOT n...
Page 7
SRP-500 n = 2 : Off-line status Off/On Decimal Function Not used. Fixed to Off. Not used. Fixed to On. Cover is closed (front & rear) Cover is open (front or rear) Paper is not being fed by using the paper feed button.
Page 8
SRP-500 DLE ENQ n [Name] Real-time request to printer [Format] ASCII Decimal [Range] n = 2 [Description] The printer responds to a request from the host specified by n. n = 2: Recovers from an error after clearing the receive and print buffers.
Page 9
SRP-500 Off/On Decimal Function Character font A (12 x 14) selected. Character font B (12 x 12) selected. Undefined. Undefined. Emphasized mode not selected. Emphasized mode selected. Double-height mode not selected. Double-height mode selected. Double-width mode not selected. Double-width mode selected.
Page 10
SRP-500 ESC ( A pL pH fn < fn = 1> [Name] Start the memory switch setting mode. [Format] ASCII [parameters] Decimal [Range] pL + pH x 256 = 1 (pL = 1, pH = 0) fn = 1 [Description] This command starts the memory switch setting modes.
Page 12
SRP-500 set is canceled and the internal character set is enabled. When the LSB is 1, the user-defined character set is selected. [Notes] When the downloaded character set has been released, the internal character set is specified automatically. [Default] n = 0 [Reference] ESC &, ESC ?
Page 13
SRP-500 0 ≤ nH ≤ 3 0 ≤ d ≤ 255 [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH Divide the number of dots to be printed by 256. The interger answer is nH and the remainder is nL.
Page 14
SRP-500 [Format] ASCII Decimal [Description] Selects default (1/6-inch) line spacing. [Reference] ESC 3 ESC 3 n [Name] Set line spacing [Format] ASCII Decimal [Range] 0 ≤ d ≤ 255 [Description] Sets the line spacing to [ n x (1/192)] inches.
Page 15
SRP-500 This command deletes the defined pattern for the specified code in the character font selected by the "ESC !" command. If a user-defined character has not been defined for the specified character code, the printer ignores this command. [Reference] ESC &, ESC %...
Page 16
SRP-500 ESC E n [Name] Turn emphasized mode on/off [Format] ASCII Decimal [Range] 32 ≤ n ≤ 255 [Description] Turns emphasized mode on or off. When the LSB of n is 0, emphasized mode is turned off. When the LSB of n is 1, emphasized mode is turned on.
Page 17
SRP-500 ESC R n [Name] Select an international character set [Format] ASCII Decimal [Range] 0 ≤ n ≤ 10 [Description] Selects an international character set n from the following table: Character set Character set U.S.A Italy France Spain I Germany U.K.
Page 18
SRP-500 [Notes] The command is enabled only when input at the beginning of the line. A portion of data skipped by means of HT is also target data for the justification function. [Default] n = 0 [Example] Left justification Centering...
Page 19
SRP-500 ESC c 4 n [Name] Select paper sensor(s)to stop printing [Format] ASCll Decimal [Range] 0 ≤ n ≤ 255 [Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows : Off/On...
Page 20
(256×nH) + nL = the Length of each macro m = (256×nH) + nL. [Notes] The SRP-500 Printer maintains a 2M bit (256KB) section of flash memory to save user information This function is useful define NV bit image (Logo).
Page 21
SRP-500 ESC m [Name] Execute partial cut [Format] ASCII Decimal [Description] Execute partial cut with one point uncut ESC p m t1 t2 [Name] Generate pulse [Format] ASCII m t1 t2 m t1 t2 Decimal m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤...
Page 22
SRP-500 ESC t n [Name] Select character code table [Format] ASCII Decimal [Range] n = 0, 2, 3, 4, 5, 16, 17, 18, 19, 21, 22, 23 [Description] Selects a page n from the character code table. Page Page PC437...
Page 23
SRP-500 ESC { n [Name] Turns on/off upside-down printing mode [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Turns upside-down printing mode on or off. When the LSB of n is 0, upside-down printing mode is turned off.
Page 24
1 ≤ n ≤ 3 [Function] Transmits the printer ID specified by n as follows: Printer ID Specification ID (hexadecimal) 1,49 Printer model ID SRP-500 series See table 2,50 Type ID below 3,51 ROM version ID ROM version n = 2, Type ID...
Page 25
SRP-500 ① GS V m ② GS V m n [Name] Feeds paper for cutting position. [Format] ① 1 ASCll GS Decimal 29 ② ASCll Decimal 29 [Range] ① m = 1, 49 ② m = 66, 0 ≤ n ≤ 255 [Description] Feeds paper for cutting position as follows;...
Page 26
SRP-500 [Notes] Even if only one of the statuses is enabled, the status is sent when this command is executed. Subsequently, whenever the state of a valid status changes, that status is sent. In this case, because the current state is shown for each status, there is a possibility of a state change for a status for which ASB is not enabled.
Page 27
SRP-500 Third byte (paper sensor information) Off/On Decimal Status for ASB 0, 1 Paper near-end sensor: paper adequate. Paper near-end sensor: paper near end. 2, 3 Paper end sensor: paper present. Paper end sensor: no paper present. Not used. Fixed to Off.
Page 28
SRP-500 [Notes] ASB(Automatic Status Back) transmits the status such as ink near-end, ink cartridge installed/not installed automatically to the printer in real-time. It is called [ASB function] and the status is [ASB status]. If you use ASB, application can acquire the printer change in real-time and passively.
Page 29
SRP-500 GS r n [Name] Transmit status [Format] ASCII GS r n Hex 1D 72 n Decimal 29 114 n [Range] 1 ≤ n ≤ 2, 49 ≤ n ≤ 50 [Description] Transmits the status specified by n as, follows:...