C O N F I D E N T I A L
Paper roll
Usable application programs and tips
Ver. 4.0
p. 968
Serial number counter
Features for the serial number counter function:
1. Operation is possible in the range of the counter values from 1 to 65535.
2. There are two counter modes, count-up and count-down.
3. Printing styles such as the number of print columns and print position of the counter value can be set by
a command.
4. Incrementing or decrementing of the counter value, such as step amount or the number or repetition,
can be set by the command.
5. Various settings for the serial counter number can be set by using a number or a character string.
■
GS C 1
and
GS C 2
are used for setting using a number.
■
GS C ;
is used for setting using a character string.
6. Character data, bit image data, and serial counter can be printed on the same printing line.
Example for using the serial counter (when making labels with a different number for each)
Procedures:
1.
GS C 0
sets print columns, print position, and print style for the serial counter.
2.
GS C 1
sets the minimum value, maximum value, and the number of the step amount for increment and
decrement, and the repetition number of the same counter.
3.
GS C 2
sets the counter value.
4.
GS c
sets the serial counter value in the print buffer and increments or decrements the counter value.
5.
GS FF
prints the data, ejects a label, and feeds the next label to the print starting position.
GS c
in procedure 4 is the only command which cannot print the counter value. A print command is needed
as described in procedure 5 for printing the counter value. In procedure 4, transmitting character data
enables you to make a label combining character data and serial counter.