Gs 'C' '2' Nl Nh Set Counter Value; Gs 'C' Print Counter - Seiko RP-F10 Series Technical Reference

Table of Contents

Advertisement

Related Commands GS 'C' 'O', GS 'C' '2', GS 'c'
GS 'C' '2' nl nh
Code
1DH 43H 32H nl nh
Definition Range
Default
nl = 1, nh = 0
Function Sets the consecutive counter value.
Notes
nl and nh indicate the consecutive counter value, and the counter value is [nh × 256 + nl].
・ When the count-up mode is set:
When the counter value set with this command falls outside the counter range set with
"Set Count Mode" command (GS 'C' '1'), the counter value is forcibly changed to the
minimum value by execution of the "Print Counter " command (GS 'c').
・ When the count-down mode is set:
When the counter value set with this command falls outside the counter range set with
"Set Count Mode" command (GS 'C' '1'), the counter value is forcibly changed to the
maximum value by execution of the "Print Counter " command (GS 'c').
Related Commands GS 'C' '0', GS 'C' '1', GS 'c'
GS 'c'
Code
1DH 63H
Function Sets the consecutive counter value in the line buffer and updates the counter.
Notes
After setting the current consecutive counter value as print data (character string) in the line
buffer, the counter is updated according to the set count mode. The counter value set in the
line buffer is printed through a print command or buffer full.
When setting the counter value in the line buffer, if it exceeds the range of the maximum
value and the minimum value, the counter is reset to the minimum when the count-up mode
is set, or to the maximum when the count-down mode is set, before setting in the line buffer.
When the updated counter value exceeds the range of the maximum value and the minimum
value, the counter is reset to the minimum when the count-up mode is set, or to the maximum
when the count-down mode is set.
Related Commands GS 'C' '0', GS 'C' '1', GS 'C' '2'
0 ≤ nl ≤ 255, 0 ≤ nh ≤ 255
6-84
Set Counter Value
Print Counter

Advertisement

Table of Contents
loading

Table of Contents