Specifications

$1D $43 $30
Printers: KPM150
[Name] Select counter print mode
[Format] ASCII GS C 0 n m
Hex 1D 43 30 n m
Decimal 29 67 48 n m
[Range] 0 n 5
m = 0, 1, 2, 48, 49, 50
[Description] Selects a print mode for the serial number counter.
• n speci es the number of digits to be printed as follows:
when n = 0, the printer prints the actual digits indicated by the numeric value.
when n = 1 to 5, the command sets the number of digits to be printed.
• m speci es the printing position within the entire range of printed digits as follows:
m PRINTING POSITION
PROCESSING OF DIGITS LESS THAN THOSE SPECIFIED
0, 48 Flush right Adds spaces to the left
1, 49 Flush right Adds a '0' to the left
2, 50 Flush left Adds spaces to the right
[Notes] • If n or m is out of the de ned range, the previously set print mode is not changed.
• If n = 0, m is not applicable
[Default] n = 0, m = 0
[Reference] $1D $43 $31, $1D $43 $32, $1D $43 $3B, $1D $63
[Example]
n = 3, m = 0 n = 3, m = 1 n = 3, m=2
1 001 1
indicates a space
$1D $43 $31
Printers: KPM150
[Name] Select count mode (A)
[Format] ASCII GS C 1 aL aH bL bH n r
Hex 1D 43 31 aL aH bL bH n r
Decimal 29 67 49 aL aH bL bH n r
[Range] 0 aL, aH 255
0 bL, bH 255
0 n, r 255
[Description] Selects a count mode for the serial number counter.
• aL, aH or bL, bH specify the counter range.
• n indicates the unit amount when counting up or down.
• r indicates the repetition number when the counter value is xed.
[Notes] • Count-up mode is speci ed when:
[aL + (aH × 256)] < [bL + (bH × 256)] and n 0 and r 0
• Count-down mode is speci ed when:
[aL + (aH × 256)] > [bL + (bH × 256)] and n 0 and r 0
• Counting stops when:
[aL + (aH × 256)] = [bL + (bH × 256)] or n = 0 or r = 0
• Setting the count-up mode, the minimum counter value is [aL + (aH × 256)] and the
maximum value is [bL + (bH × 256)]. If the counting up reaches a value that exceeds the
maximum, it resets to the minimum value.
• Setting the count-down mode, the maximum counter value is [aL + (aH × 256)] and the
minimum value is [bL + (bH × 256)]. If the counting down reaches a value less than the
minimum, it resets to the maximum value.
KPM54 Emulation
84 Command Reference