Samsung 500 Printer User Manual


 
5857
Control commands list
Chapter 5
ESC { n
[Name] Turns on/off upside-down printing mode
[Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n
[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.
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.
In upside-down printing mode, the printer rotates the line to be
printed by 180° and then prints it.
[Default] n = 0
[Example]
Upside-down printing mode is furned off
Paper feed direction
ABCDEF
n012345
Upside-down printing mode is furned on
n012345
ABCDEF
GS I n
[Name] Transmit printer ID
[Format] ASCII GS I n
Hex 1D 49 n
Decimal 29 73 n
[Range] 1 n 3
[Function] Transmits the printer ID specified by n as follows:
n = 2, Type ID
[Notes]
The printer ID is transmitted when the data in the receive buffer is
developed. Therefore, there may be a time lag between receiving
this command and transmitting the status, depending on the
receive buffer status.
[Reference]
n
1,49
2,50
3,51
Printer ID
Printer model ID
Type ID
ROM version ID
Specification
SRP-500 series See table
below
ROM version
ID (hexadecimal)
0D
Bit
0
1
2
3
4
5
6
7
Off/On
Off
On
Off
On
-
-
Off
-
-
Off
Hex
00
01
00
02
-
-
00
-
-
00
Decimal
0
1
0
2
-
-
0
-
-
0
Function
Two-byte character code not supported.
Two-byte character code supported.
Auto cutter not equipped.
Auto cutter equipped.
Undefined.
Undefined.
Not used. Fixed to Off.
Undefined.
Undefined.
Not used. Fixed to Off.