Samsung SRP-370 User Manual page 33

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

Advertisement

<Function 12> GS ( E pL pH fn a (fn=12)
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=12
1 ≤ a ≤ 4
[Description]
▪ Transmits the communication conditions of the serial interface specified by a.
a
1
2
3
4
Header
Flag
Type of the communication condition
Separator
Setting value
NUL
▪ Configuration of the setting value
- When the baud rate (a=1) is specified :
Baud rate (bps)
d1
9600
57
19200
49
38400
51
57600
53
115200
49
- When the parity setting (a=2) is specified :
d1
48
49
50
- When the flow control setting (a=3) is specified :
d1
48
49
- When the data length setting (a=4) is specified :
d1
55
56
▪ If a is out of range, this command ignores the value which is specified with a.
E
pL
pH
fn
a
45
pL
pH
fn
a
69
pL
pH
fn
a
Communication Condition
Baud rate
Parity
Flow control
Data length
Hexadecimal
Decimal
Amount of Data
37H
55
1 byte
33H
39
1 byte
31H - 34H
49 - 52
1 byte
1FH
31
1 byte
30H - 39H
48 - 57
1 - 6 bytes
00H
0
1 byte
d2
d3
d4
d5
d6
54
48
48
--
57
50
48
48
56
52
48
48
55
54
48
48
49
53
50
48
48
Parity
No parity
Odd parity
Even parity
Flow control
DTR / DSR
XON / XOFF
Data length
7 bits
8 bits
64
GS ( L pL pH m fn [parameter]
GS 8 L p1 p2 p3 p4 m fn [parameter]
[Name]
[Format]
[Description]
fn
Format
0, 48
GS ( L pL pH m fn
2, 50
GS ( L pL pH m fn
3, 51
GS ( L pL pH m fn
64
GS ( L pL pH m fn d1 d2
65
GS ( L pL pH m fn d1 d2 d3
66
GS ( L pL pH m fn kc1 kc2
67
GS ( L pL pH m fn a kc1 kc2 b xL
--
xH yL yH [c d1...dk]1...[c d1 dk]b
--
69
GS ( L pL pH m fn kc1 kc2 x y
--
112
GS ( L pL pH m fn a bx by c
--
xL xH yL yH d1...dk
Select graphics data.
ASCII
GS
(
L
pL
Hex
1D
28
4C
pL
Decimal
29
40
76
pL
ASCII
GS
(
L
p1
p2
Hex
1D
28
4C
p1
p2
Decimal
29
40
76
p1
p2
* In the description below GS ( L is used for the explanation.
- Note that GS ( L and GS 8 L have the same Function.
- If the [parameter] of each format exceeds 65533 bytes use GS 8 L.
▪ Processes graphics data according to the function code fn.
Function No.
Function
Function 48
Transmits the NV graphics memory
capacity.
Function 50
Prints the graphics data in the print
buffer.
Function 51
Transmits the remaining capacity of the
NV graphics memory.
Function 64
Transmits the defined NV graphics key
code list.
Function 65
Deletes all NV graphics data.
Function 66
Deletes the specified NV graphics data.
Function 67
Defines the raster graphics data in the
non-volatile memory.
Function 69
Prints the specified NV graphics data.
Function 112
Stores the raster graphics data in the
print buffer memory.
▪ pL, pH specifies (pL + pH x 256) as the number of bytes after pH(m, fn,
and [parameter]).
▪ Frequent write command executions by this command may damage the
NV memory. Therefore, it is recommended to write to the NV memory no
more than 10times a day.
▪ While processing this command, the printer is BUSY while writing data to
the NV graphics memory and stops receiving data. Therefore it is prohibited
to transmit data including the real-time commands during the execution of
this command.
65
pH
m
fn
[parameter]
pH
m
fn
[parameter]
pH
m
fn
[parameter]
p3
p4
m
fn
[parameter]
p3
p4
m
fn
[parameter]
p3
p4
m
fn
[parameter]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srp-372Bixolon srp-370Bixolon srp-372

Table of Contents