Samsung STP-103PG User Manual - Page 23

GS a n, GS b n

Page 23 highlights

● When the LSB of m = 1: After waiting for the period specified by t, the LED indicator blinks and the printer waits for the PAPER FEED button to be pressed. After the button is pressed, the printer executes the macro once, The printer repeats the operation r times. GS a n [Name] [Format] [Range] [Description] Enabled/disable Automatic Status Back(ASB) ASCII GS a n Hex 1D 61 n Decimal 29 97 n 0 ( n ( 255 Enables or disables ASB and specifies the status items to include, using n as follows: Bit Off/On Hex Decimal Status for ASB 0 Off 00 0 Not used. 1 Off 00 0 On-line/off-line status disabled On 02 2 On-line/off-line status enabled 2 Off 00 0 Error status disabled On 04 4 Error status enabled 3 Off 00 0 Paper roll sensor status disabled On 08 8 Paper roll sensor status enabled 4~7 - - - Undefined First byte (printer information) Bit Off/On Hex Decimal 0 Off 00 0 1 Off 00 0 2 Off 00 0 3 Off 00 0 On 08 8 4 On 10 16 5 Off 00 0 On 20 32 6 Off 00 0 On 40 64 7 Off 00 0 Status for ASB Not used. Fixed to off Not used. Fixed to off Not used. On-line Off-line Not used. Fixed to on Cover is closed Cover is open Paper is not being fed by using the paper feed button Paper is being fed by using the paper feed button Not used. Fixed to off Second byte (printer information) Bit Off/On Hex Decimal 0 - - - 1 - - - 2 - - - 3 Off 00 0 4 Off 00 0 5 Off 00 0 6 Off 00 0 7 Off 00 0 Status for ASB Undefined Undefined Undefined Not used. Fixed to off Not used. Fixed to off Not used. Fixed to off Not used. Fixed to off Not used. Fixed to off Third bytes (paper sensor information Bit Off/On Hex Decimal Status for ASB 0,1 Off, Off 00 0 Paper roll near-end sensor: paper adequate On, On 03 3 Paper roll near-end sensor: paper near end 2,3 Off, Off 00 0 Paper roll end sensor: paper present On, On 0C 12 Paper roll end sensor: paper not present 4 Off 00 0 Not used. Fixed to off 5,6 - - - Undefined 7 Off 00 0 Not used. Fixed to off Fourth byte (paper sensor information) Bit Off/on Hex Decimal Status for ASB 0~3 - - - Undefined 4 off 00 0 Not used. Fixed to off 5,6 - - - Undefined 7 Off 00 0 Not used. Fixed to off [Default] n=0 GS b n [Name] [Format] [Range] [Description] Turns smoothing mode on/off ASCII GS b n Hex 1D 62 n Decimal 29 98 n 0 ≤ n ≤255 Turns smoothing mode on or off. ● When the LSB of n is 0, smoothing mode is turned off. ● When the LSB of n is 1, smoothing mode is turned on. 44 45

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

44
When the LSB of
m
= 1:
After waiting for the period specified by
t
, the LED indicator
blinks and the printer waits for the PAPER FEED button to be
pressed. After the button is pressed, the printer executes the
macro once, The printer repeats the operation
r
times.
GS a n
[Name]
Enabled/disable Automatic Status Back(ASB)
[Format]
ASCII
GS
a
n
Hex
1D
61
n
Decimal
29
97
n
[Range]
0 ( n ( 255
[Description]
Enables or disables ASB and specifies the status items to include,
using n as follows:
Bit
Off/On
Hex
Decimal
Status for ASB
0
Off
00
0
Not used.
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
First byte (printer information)
Bit
Off/On
Hex
Decimal
Status for ASB
0
Off
00
0
Not used. Fixed to off
1
Off
00
0
Not used. Fixed to off
2
Off
00
0
Not used.
Off
00
0
On-line
3
On
08
8
Off-line
4
On
10
16
Not used. Fixed to on
Off
00
0
Cover is closed
5
On
20
32
Cover is open
Off
00
0
Paper is not being fed by using the paper
feed button
6
On
40
64
Paper is being fed by using the paper feed
button
7
Off
00
0
Not used. Fixed to off
45
Second byte (printer information)
Bit
Off/On
Hex
Decimal
Status for ASB
0
-
-
-
Undefined
1
-
-
-
Undefined
2
-
-
-
Undefined
3
Off
00
0
Not used. Fixed to off
4
Off
00
0
Not used. Fixed to off
5
Off
00
0
Not used. Fixed to off
6
Off
00
0
Not used. Fixed to off
7
Off
00
0
Not used. Fixed to off
Third bytes (paper sensor information
Bit
Off/On
Hex
Decimal
Status for ASB
Off, Off
00
0
Paper roll near-end sensor: paper
adequate
0,1
On, On
03
3
Paper roll near-end sensor: paper near end
Off, Off
00
0
Paper roll end sensor: paper present
2,3
On, On
0C
12
Paper roll end sensor: paper not present
4
Off
00
0
Not used. Fixed to off
5,6
-
-
-
Undefined
7
Off
00
0
Not used. Fixed to off
Fourth byte (paper sensor information)
Bit
Off/on
Hex
Decimal
Status for ASB
0~3
-
-
-
Undefined
4
off
00
0
Not used. Fixed to off
5,6
-
-
-
Undefined
7
Off
00
0
Not used. Fixed to off
[Default]
n=0
GS b n
[Name]
Turns smoothing mode on/off
[Format]
ASCII
GS
b
n
Hex
1D
62
n
Decimal
29
98
n
[Range]
0
n
255
[Description]
Turns smoothing mode on or off.
When the LSB of n is 0, smoothing mode is turned off.
When the LSB of n is 1, smoothing mode is turned on.