GS k n [d] k NUL
[Name]
[Format]
[Range]
[Description]
Print bar code <1D>H<6B>H<n> [<d>]k<00>H
0 ≤ n ≤ 6
Selects a bar code system and prints the bar code.
•Sets the print starting position to the beginning of the line.
•n selects the bar code system from the following table.
•“d” indicates the characters to be printed and “k” indicates the number of characters to be printed.
n | Bar code system |
0 | U P C - A |
1 | U P C - E |
|
|
2 | JAN13 (EAN) |
|
|
3 | JAN8 (EAN) |
|
|
4 | C O D E 3 9 |
5 | I T F |
6 | CODABAR |
[Notes] | • When data is present in the print buffer, this command is ig- | |
| nored. | |
| • Performs the paper feeding required for printing the bar code, | |
| regardless of the current line spacing. | |
| • In each bar code system, if a character code ”d” cannot be | |
| printed, the printer prints the processed data and the following | |
| data is treated as normal data. | |
| • When a bar code system with a fixed number of printing charac- | |
| ters is selected, the number of characters "K" shouId be agreed | |
| with that number. | |
| • If the horizontal size exceeds one line, the excess data is not | |
| printed. | |
| • If data exceeds label paper, it is printed on the next label. | |
[Default] | n = 0 | |
GS w n |
|
|
|
|
|
[Name] | Select horizontal size (magnification) of bar code. | |
[Code] | <1D>H<77>H<n> | |
[Range] | 2 ≤ n ≤ 4 | |
[Description] | Selects the horizontal size of the bar code. | |
[Default] | n = 3 |
5 2