Samsung STP-103PG Printer User Manual


 
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.