<Function 3> GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1] (fn = 3)
[Format] ASCII GS ( E pL pH fn [a1 b18 ... b11] ... [ak bk8 ... bk1]
Hex 1D 28 45 pL pH fn [a1 b18 ... b11] ... [ak bk8 ... bk1]
Decimal 29 40 69 pL pH fn [a1 b18 ... b11] ... [ak bk8 ... bk1]
[Range] 10 ≤ (p
L + pH × 256) ≤ 65530 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255)
fn = 3
a = 2, 8
b = 48, 49, 50
[Default (upon shipment)]
All switches are set to Off (b=48).
[Description] • Changes the memory switch specified by a to the values specified with b.
• When (b = 48), turns the applicable bit off.
• When (b = 49), turns the applicable bit on.
• When (b = 50), does not change the applicable bit. Set (b = 50) as the reserved bit.
• Memory switch 2 (Msw 2: a = 2)
Msw Function Setting value
2-1 to 2-8 Reserved. 50
• Memory switch 8 (Msw 8: a = 8)
Msw Function Setting value
8-1 to 8-4 Reserved. 50
8-5
Returns the printer status as a paper out when the
cover is open.
48
Selects the cover open status.
49
8-6 Reserved (Fixed to off). 48
8-7
Releases Printer BUSY when the remaining capacity
of the receive buffer becomes 256 bytes.
48
Releases Printer BUSY when the remaining capacity
of the receive buffer becomes 138 bytes.
49
8-8
Recognizes a cover open during printing as an
automatically recoverable error.
48
Recognizes a cover open during printing as a
recoverable error.
49
<Function 4> GS ( E pL pH fn a (fn = 4)
[Format] ASCII GS ( E pL pH fn a
Hex 1D 28 45 pL pH fn a
Decimal 29 40 69 pL pH fn a
[Range] (p
L + pH × 256) = 2 (pL = 2, pH = 0)
fn = 4
a = 2, 8
[Description] • Transmits the setting value(s) of the memory switch specified by a.