Samsung SRP-370 User Manual page 42

Thermal receipt printer
Hide thumbs Also See for SRP-370:
Table of Contents

Advertisement

GS r n
[Name]
Transmit status.
[Format]
ASCII
GS
Hex
1D
Decimal
29
[Range]
n=1, 2, 49, 50
[Description]
▪ Transmits the normal status specified by n as follows :
n
Function
1, 49
Transmits paper sensor status.
2, 50
Transmits drawer kick-out connector status.
▪ Paper sensor status (n=1, 49) :
Bit
Off/On
Hex
Decimal
Off
00
0, 1
On
03
Off
00
2, 3
On
0C
4
Off
00
5
Off
00
6
Off
00
7
Off
00
- Bits 2 and 3 : This command cannot be executed since the printer
becomes offline when the paper roll end sensor detects the paper not
present. Therefore, the status of bit 2 (1) and bit 3 (1) is not transmitted.
▪ Drawer kick-out connector status (n=2, 50) :
AAWBit
Off/On
Hex
Off
00
0
On
01
1
Off
00
2
Off
00
3
Off
00
4
Off
00
5
Off
00
6
Off
00
7
Off
00
GS v 0 m xL xH yL yH d1...dk
[Name]
Print raster bit image.
[Format]
ASCII
GS
v
Hex
1D
76
Decimal
29
118
[Range]
0 ≤ m ≤ 3, 48 ≤ m ≤ 51
1 ≤ (xL + xH x 256) ≤ 128 (0 ≤ xL ≤ 128, xh=0)
1 ≤ (yL + yH x 256) ≤ 4095 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 15)
0 ≤ d ≤ 255
k = (xL + xH x 256) x (yL + yH x 256)
r
n
72
n
114
n
Function
0
Paper roll near-end sensor : paper adequate.
3
Paper roll near-end sensor : paper near end.
0
Paper roll end sensor : paper present.
12
Paper roll end sensor : paper not present.
0
Fixed.
0
Reserved.
0
Reserved.
0
Fixed.
Decimal
Function
0
Drawer kick-out connector pin 3 is LOW.
1
Drawer kick-out connector pin 3 is HIGH.
0
Reserved.
0
Reserved.
0
Reserved.
0
Fixed.
0
Reserved.
0
Reserved.
0
Fixed.
0
m
xL xH yL yH d1...dk
30
m
xL xH yL yH d1...dk
48
m
xL xH yL yH d1...dk
82
[Description]
▪ Prints a raster bit image in m mode.
- m specifies the bit image mode.
<For SRP-370>
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
<For SRP-372>
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
- xL, xH specifies (xL + xH x 256) byte(s) in the horizontal direction for the bit image.
- yL, yH specifies (yL + yH x 256) dot(s) in the vertical direction for the bit image.
- d specifies the definition data of the bit image data.
GS w n
[Name]
Set bar code width.
[Format]
ASCII
GS
Hex
1D
77
Decimal
29
119
[Range]
2 ≤ n ≤ 6
n=3
[Description]
▪ Set the horizontal size of the bar code, using n as follows :
<For SRP-370>
Multi-level Bar Code
n
Module Width (mm)
2
0.282
3
0.423
4
0.564
5
0.706
6
0.847
<For SRP-372>
Multi-level Bar Code
n
Module Width (mm)
2
0.250
3
0.375
4
0.500
5
0.626
6
0.751
[Notes]
▪ Multi-level bar codes are as follows :
- UPC-A, UPC-E, JAN13, HAN8, CODE93, CODE128
▪ Binary-level bar codes are as follows :
- CODE39, ITF, CODABAR
Vertical dot density
Horizontal dot density
180 dpi
180 dpi
180 dpi
90 dpi
90 dpi
180 dpi
90 dpi
90 dpi
Vertical dot density
Horizontal dot density
203 dpi
203 dpi
203 dpi
203/2 dpi
203/2 dpi
203 dpi
203/2 dpi
203/2 dpi
dpi : dots per 25.4mm {1"}
w
n
n
n
Binary-level Bar Code
Thin element width (mm)
Thick element width (mm)
0.282
0.706
0.423
1.129
0.564
1.411
0.706
1.834
0.847
2.258
Binary-level Bar Code
Thin element width (mm)
Thick element width (mm)
0.250
0.626
0.375
1.001
0.500
1.251
0.626
1.627
0.751
2.002
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srp-372Bixolon srp-370Bixolon srp-372

Table of Contents