D-F0390 NP-326 Product specifications Ver.0.02
32
26) Absolute position set
:<< ESC $ n1 n2>>
Code
: [1B] h + [24] h +n1 +n2 * [00
≤
n1
≤
FF] h
* [00
≤
n2
≤
03] h
Print start position is assigned by dots in 1/203rd of inch from the beginning of line.
* Divide the value of dot by 256, place quotient to n2, and remainder to n1.
* The print start position is n1 + n2 x 256 from top of the line.
* Setting which exceeds end of line is ignored.
* If the command is received in the middle of line, the current position is also valid.
27) Relative position set
:<< ESC
\
n1 n2>>
Code
: [1B] h + [5C] h + n1 +n2
* [00
≤
n1
≤
FF] h
* [00
≤
n2
≤
FF] h
Print start position is assigned by dots from current position in unit of 1/203rd of inch.
* Right direction is treated as plus and left as minus.
* For assigning N dots in minus direction (left), it will be: N dots = 65536 - N
* Divide dots by 256, quotient is n2 and remainder is n1.
* Assigning beyond the end of a line is neglected
28) Barcode print
:<< GS k n Dn NUL >>
Code
: [1D] h + [6B] h + n + Dn + [00] h * [00
≤
n
≤
07] h
Description : Selects barcode symbology and prints barcode.
* The next print start position is on the line head
* Select following barcode symbology with “n” value.
* Dn indicates the character code to be printed.
n (Hex)
Barcode symbology
00
UPC-A
01
UPC-E
02
EAN-13
(JAN-13)
03
EAN-8
(JAN-8)
04
CODE
39
05
ITF
06
CODABAR
07
CODE128
* When there is data in the buffer this command is neglected.
* If character code Dn is not a printable character, following data after Dn will be treated
as normal data.
* If the print character numbers are fixed in the barcode symbology the input character
numbers should match to the print character numbers.
* If horizontal data exceed one line, the exceeded data cannot be printed.
29) Barcode width size select
:<< GS w n >>
Code
: [1D] h + [77] h + n
* [02
≤
n
≤
04] h
Description : Selects width of barcode
* Default value of “n” is [03]h.
30) Barcode height select
:<< GS h n >>
Code
: [1D] h + [68] h + n
* [01
≤
n
≤
FF] h
Description : Selects barcode height
* “n” shows the vertical dot number
* Default value of “n” is 162([A2] h).