1 DATECS
DPP-350
Programmer’s manual VER.1.50
33
80.
Setting printer flags (memory switches)
( GS ))
Code:
[1Dh] + [29h] + f1 + f2 + … + f10
This model has 10 memory switches and selecting, releasing, and changing a function is available with
this command. With this command can be set 10 flags (memory switches), they are switched ON or
OFF. Memory switch setting is retained even after printer power off. These flags are like virtual switches
defining the state of the printer.
f
i
is the flag that we want to switch ON or OFF. All flags must be set. Possible values are:
‘0’
:
Flag is OFF.
‘1’
:
Flag is ON.
‘.’
:
Flag stays unchanged.
Meaning of different flags:
Flag
OFF
ON
1
Power on/off sound disabled
Power on/off sound enabled
2
CR (ASCII code 13) is not executed
CR is executed as LF (ASCII code 10)
3
LF (ASCII code 10) is executed
LF (ASCII code 10) is not executed
4
LF immediately after CR as selected
by flag 3
LF immediately after CR is not
executed
5
Default is font A (12x24)
Default is font B (9x16)
6
“Cover open” sensor monitored
“Cover open” sensor disabled
7
Disable IrDA module
Enable IrDA module (if present)
8
Bluetooth in DISCOVERABLE mode
Bluetooth in NONDISCOVERABLE
mode
9
USB interface disabled
USB interface enabled
10
USB in mode HOST
USB in mode DEVICE
81.
Defining a Downloaded Bit Image (logo) (GS *)
Code:
[1Dh] + [2Ah] + n1 + n2 + D
1
+ … + D
n
n1
is between 1 and 127 and defines the horizontal size of the downloaded image.
n2
is between 1 and 248 and defines the vertical size of the downloaded image.
D
i
are the data for the bit image. This data consists of
n1*n2
bytes, from left to right and from top to
bottom, but
n1
bytes in each horizontal line (
n1*8
dots) and
n2
lines. Each bit defines a dot, 1
corresponds to black. Total number of bytes cannot be bigger than 16 kB.
The command defines a bit image that contains number of dots, defined by
n1
and
n2
. Image is stored and after
the printers is switched off.
The so defined bit image is printed with command
GS /
82.
Printing a Downloaded Bit Image (logo) (
GS /
)
Code:
[1Dh] + [2Fh] + m
m
defines the printing mode and can be:
m
Mode
Vertical dots
Horizontal dots
0
Normal
203 DPI
203 DPI
1
Double width
203 DPI
101 DPI
2
Double height
101 DPI
203 DPI
3
Double height and double
width
101 DPI
101 DPI
When a download bit image has not been defined, this command is ignored.
A portion of a download bit image exceeding one line length is not printed.
Command ESC @ (initialization of the printer) does not clear downloaded bit image.