Samsung BIXOLON SRP-350 Guide De L'utilisateur page 24

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

GS W nL nH
[Name]
Set printing area width.
[Format]
ASCII
GS
W
Hex
1D
57
Decimal
29
87
0 ≤nL ≤255, 0 ≤nH ≤255
[Range]
[Description]
Sets the printing area width to the area specified by nL and nH.
* The printing area width is set to
[(nL + nH ×256) ×horizontal motion unit] inches.
GS ₩ nL nH
[Name]
Set relative vertical print position in page mode.
[Format]
ASCII
GS
Hex
1D
5C
Decimal
29
92
0 ≤nL ≤255, 0 ≤nH ≤255
[Range]
[Description]
Sets the relative vertical print starting position from the current position in
page mode.
* This command sets the distance from the current position to
[(nL + nH ×256) ×vertical or horizontal motion unit] inches.
GS ^ r t m
[Name]
Execute macro.
[Format]
ASCII
GS
^
Hex
1D
5E
Decimal
29
94
[Range]
0 ≤r ≤255, 0 ≤t ≤255
m = 0, 1
[Description]
Executes a macro.
* r specifies the number of times to execute the macro.
* t specifies the waiting time for executing the macro.
* m specifies macro executing mode.
When the LSB of m = 0
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1 :
After waiting for the period specified by t, the PAPER OUT LED
indicators blink and the printer waits for the FEED button to be
pressed. After the button is pressed, the printer executes the macro
once. The printer repeats the operation r times.
44
nL
nH
nL
nH
nL
nH
nL
nH
nL
nH
nL
nH
r
t
m
r
t
m
r
t
m
GS a n
[Name]
Enable/Disable Automatic Status Back.
[Format]
ASCII
GS
a
n
Hex
1D
61
n
Decimal
29
97
n
0 ≤n ≤255
[Range]
[Description]
Enables or disables ASB and specifies the status items to include, using n
as follows :
Bit
Off/On
Hex
Decimal
Status for ASB
Off
00
0
Drawer kick-out connector pin 3 status disabled.
0
On
01
1
Drawer kick-out connector pin 3 status enabled.
Off
00
0
On-line / Off-line status disabled.
1
On
02
2
On-line / Off-line status enabled.
Off
00
0
Error status disabled.
2
On
04
4
Error status enabled.
Off
00
0
Paper roll sensor status disabled.
3
On
08
8
Paper roll sensor status enabled.
4-7
-
-
-
Undefined.
[Details]
* If any of the status items in the table above are enabled, the printer
transmits the status when this command is executed. The printer
automatically transmits the status whenever the enabled status item
changes. The disabled status items may change, in this case, because
each status transmission represents the current status.
* If all status items are disabled, the ASB function is also disabled.
* If the ASB is enabled as a default, the printer transmits the status when
the printer data reception and transmission is possible at the first time
from when the printer is turned on.
* The following four status bytes are transmitted without confirming
whether the host is ready to receive data. The four status bytes must be
consecutive, except for the XOFF code.
* Since this command is executed after the data is processed in the
receive buffer, there may be a time la between data reception and
status transmission.
* When the printer is disabled by ESC= (Select peripheral device), the
four status bytes are transmitted whenever the status changes.
* The status to be transmitted are as follows :
45

Publicité

Table des Matières
loading

Table des Matières