CBM-270 User’s Manual
GS k n [ d ] k NUL
[Function] | Printing the bar code |
[Code] | <1D> H <6B> H <n> [ <d> ] k <00> H |
[Range] | 0 ≤ n ≤ 7 |
[Outline] | Specifying a type of bar code and printing bar codes. |
| ∙ The beginning of line is considered as the next printing start position. |
| ∙ Depending on the value of n, the following bar code can be selected. |
d indicates a character code to be printed and k indicates the number of character to be printed.
n | Bar Code System | Maximum Columns |
0 |
| − |
1 |
| − |
2 | JAN13 (EAN) | − |
3 | JAN 8 (EAN) | − |
4 | CODE 39 | 13 |
5 | ITF | 22 |
6 | CODABAR | 17 |
7 | CODE 128 | 16 |
[Caution] | ∙ When data being held in the print buffer, this command is ignored. | |
| ∙ Regardless of the specified feed pitch, this command feeds the paper to be required to | |
| print a bar code. | |
| ∙ If the character code d cannot be printed in the respective bar code system, the bar code so | |
| far will be printed, processing the subsequent data as normal data. | |
| ∙ When a bar code whose number of characters to be printed is fixed has been selected, the | |
| number of characters k have to be always made equal to the number of characters to be | |
| printed. (The bar code is not printed when not matching.) | |
| ∙ When the horizontal direction exceeds one line length, the excess part is not printed. | |
[Default] | ∙ The initial value is not specified. | |
[Description of Bar Codes] | <For print examples, see Page 72.> | |
| This bar code, consisting of numerals only, has a fixed length of 12 columns; a | |
| number entered from the host or application software plus a check column(12th column) | |
| automatically calculated inside the printer. If the | |
| the entire bar code will be printed as it is. | |
This bar code, consisting of numerals only, has a fixed length of 8 columns; the first number | ||
| system character is "0" stationary. A | |
| software is compressed to 8 columns with a check column and printed. The | |
| check column is automatically calculated inside the printer and sent from the host, the entire | |
| bar code will be printed, compressed to 8 columns. |