27) Relative position set
Code
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
Code
Description : Selects barcode symbology and prints barcode.
* The next print start position is on the line head
* Select following barcode symbology with "n" value.
n (Hex)
00
01
02
03
04
05
06
07
* Dn indicates the character code to be printed.
* 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
Code
Description : Selects width of barcode
* Default value of "n" is [03]h.
30) Barcode height select
Code
Description : Selects barcode height
* "n" shows the vertical dot number
* Default value of "n" is [A2] h (162 dots).
D-F0399 NP-266S/366S Specifications Ver.0.01 Provisional
:<< ESC \ n1 n2>>
: [1B] h + [5C] h + n1 +n2
:<< GS k n Dn NUL >>
: [1D] h + [6B] h + n + Dn + [00] h
Barcode symbology
UPC-A
UPC-E
EAN-13 (JAN-13)
EAN-8 (JAN-8)
CODE 39
ITF
CODABAR
CODE128
:<< GS w n >>
: [1D] h + [77] h + n
:<< GS h n >>
: [1D] h + [68] h + n
* [00≤n1≤FF] h
* [00≤n2≤FF] h
* [00≤n≤07] h
* [02≤n≤04] h
* [01≤n≤FF] h
30