Gs C 2 Nl Nh; Gs C ; Sa ; Sb ; Sn; Sr; Sc - Bematech LR2000 Programming Manual

Pos thermal printer
Hide thumbs Also See for LR2000:
Table of Contents

Advertisement

 In setting count-up mode, the minimum value of the counter is [aL + aH ×256] and
 In setting count-down mode, the maximum value of the counter is [aL + aH ×256]
 When this command is executed, the internal counter that indicates the repetition
[Defaults]
aL = 1, aH = 0, bL = 255, bH = 255, n =1, r = 1
[Reference]
GS C 0, GS C 2, GS C ;, GS c

GS C 2 nL nH

[Name]
Set counter
[Format]
ASCII
Hex
Decimal
0 nL 255
[Range]
0 nH 255
[Description]
Sets the serial number counter value.
 nL and n
 In count-up mode, if the counter value specified by this command goes out of the
[Notes]
 In count-down mode, if the counter value specified by this command goes out of
[Default]
nL = 1, nH = 0
[Reference]
GS C 0, GS C 1, GS C ; GS c

GS C ; sa ; sb ; sn; sr; sc;

[Name]
Select count mode (B)
[Format]
ASCII
Hex
Decimal
"0" sa "65535"
[Range]
"0" sb "65535"
"0" sn "255"
"0" sr "255"
"0" sc "255"
the maximum value is [bL + bH ×256]. If counting up reaches a value exceeding
the maximum, it is resumed with the minimum value.
and the minimum value is [bL + bH×256]. If counting down reaches avalue less
than the minimum, it is resumed with the maximum value.
number specified by r is cleared.
GS C 2 nL mH
1D 43 32 nL mH
29 67 50 nL mH
determine the value of the serial number counter set by [nL + nH ×256].
H
counter operation range specified by GS C1 or GS C ;, it is forced to convert to the
minimum value by GS c.
the counter operation range specified by GS C1 or GS C ;, it is forced to convert to
the maximum value by GS c.
GS C ; sa ; sb ; sn ; sr ; sc ;
1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B
29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59
LR2000 Programming Manual V1.2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents