1 DATECS
DPP-350
Programmer’s manual VER.1.50
32
Starting with version 1.41, a new form of the command with USB class support added (ESC y Usb:).
Format:
[1Bh] + [79h] + [75h] + [73h] + [62h] + [3Ah] + Data
Format for
Data
:
T
1
+ D
1
+ T
2
+ D
2
+ … + [00h]
Ti
is one byte, selecting the data type, which follows. Possible values:
01h
USBclass
: one byte - ‘
P
’: принтер; ‘
S
’: сериен.
02h
VendorID
: 4 hexadecimal symbols.
03h
ProductID
(for USB printer class): 4 hexadecimal symbols.
04h
ProductID1
(for USB serial class): 4 hexadecimal symbols.
05h
ManufacturerName
: Up to 48 symbols (ASCII codes 20h-7Eh)
06h
ModelName
: Up to 48 symbols (ASCII codes 20h-7Eh)
07h
DeviceStr
: Up to 150 symbols (ASCII codes 20h-7Eh)
Not all fields are obligatory. Missing fields don’t change values.
77.
Enabling/Canceling printing of 180° turned characters (
ESC {
)
Code
: [1Bh] + [7Bh] + n
n
can be from 0 to 255, but only the least significant bit is of significance:
0
Cancel printing of 180° turned characters
1
Enable printing of 180° turned characters
Default value is 0.
The whole line is turned.
78.
Printing in page mode and returning to standard mode (
GS FF
)
Code:
[1Dh] + [0Ch]
The command prints the image in the currently defined page and leaves page mode. All the page
memory is erased.
The command is supported in firmware version 1.42 or higher.
79.
Specifying the absolute vertical position in page mode (
GS $
)
Code:
[1Dh] + [24h] + nL + nH
nL
Lower byte of the new vertical position
nH
Higher byte of the new vertical position
The command sets new vertical print position. If the position is outside the currently active page, the command is
not accepted. The real new coordinates depend on the print direction (selected using
GS T
). The command is
invalid in standard mode.
The horizontal position is changed with commands
ESC $
and
ESC \
- they work both in page and standard
mode.
The command is supported in firmware version 1.42 or higher.
Note:
Downloading new firmware will destroy the last USB response string (the place they are stored is part
of the firmware).