Citizen Systems CBM-290 Printer User Manual


 
CBM-290/291 User’s Manual
35
CITIZEN
(28) Specifying Absolute Positions (ESC $ n1 n2)
Code : [1B]h + [24]h + n1 + n2
*{0n1 FF}
{0 n2 1} Data is described in Hex code.
The printing start position is specified in the number of dots from the beginning of line. (1/20 inch unit)
The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.
Therefore, the printing start position is equal to n1 + n2 x 256 from the beginning of line..
Specifying beyond the line end is ignored.
In case underline is specified, no underline is provided to the skipped portion.
(29) Specifying Relative Positions (ESC ¥ n1 n2)
Code : [1B]h + [5C]h + n1 + n2
*{0n1 FF}
{0 n2 FF} Data is described in Hex code.
The printing start position is specified in the number of dots from the current position.
Rightward direction is taken as plus and leftward direction as minus.
To specify N dot in minus (left) direction, use a complement of N for assignment.
- N dots = 65536 - N
The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.
Specifying exceeding the end of line is ignored.
In case underline is specified, no underline is provided to the skipped portion.
(30) Bar Code Printing (GS k n Dn NUL)
Code : [1D]h + [6B]h + n + Dn + [00]h
*{0n 7} Data are described in Hex code.
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.
Dn indicates a character code to be printed.
n (Hex) Bar Code System Maximum Columns
0 UPC-A ---
1 UPC-E ---
2 JAN13 (EAN) ---
3 JAN 8 (EAN) ---
4 CODE 39 14
5ITF 24
6 CODABAR (NW-7) 18
7 CODE 128 15