D-F0382 NP-266/366 Product specifications Ver.1.10
38
38) 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
(NW-7)
07
CODE128
* If the print character numbers are fixed in the barcode symbology, the input character
numbers should match the print character numbers.
* If horizontal data exceed one line, the exceeded data cannot be printed.
39) 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.
40) Automatic transmission of printer status: << GS v NUL >>
Code
: [1D] h + [76] h + [00] h
Description : Automatically transmits the status when the printer status changes.
*Once setting is made, it is effective until software is reset, power is set off, or reset signal
is input.
*The commands are stored in the internal receive input buffer and executed sequentially.
*Status of transmission is one byte and functions are explained below.
Value
Bit Function
0 1
0 Paper
near
empty
Paper
present Near
empty
1 Platen
open
Normal
Open
2
Paper end
Paper present
Paper end
3
Head temp. too high
Normal
Head temp. too high
4
Cutter problem
Normal
Cutter problem
5
Presenter error
Normal
Presenter error
6
Paper in presenter
No Paper
paper
7 Not
defined