Infrared Bidirectional Serial (Only Dpt100-B Model); Standard Mode - DCA Intertel s’print BT User Manual

Portable thermal printer
Table of Contents

Advertisement

2.2 INFRARED BIDIRECTIONAL SERIAL (only DPT100-B model)

The printer has a serial interface for bidirectional data exchange. The
infrared port is centered on the lower part of the front (see fig. 2.4); it uses
the encode method bits as described in the IrDA physical layer, for speeds
up to 115.2 kbps (a 3/16th optical pulse time of bit time).
To utilize the infrared bidirectional serial interface, it must first be enabled under setup
(parameter: "Interface: Infrared"). It is possible to communicate with the printer in
two different ways: by sending a string of characters and/or commands preceded by
the IR port Open command and followed by a Close command (standard mode), or by
utilizing a simple transfer protocol that guarantees that data is compressed correctly
by the printer.

2.2.1 Standard Mode

To utilize the printer in standard mode, set the "IR protocol" parameter to
Disabled. In this mode, the data flow to the printer must be structured as
follows:
2Bytes
n Bytes
2Byte
Start Command
Data/Command
Stop Command
START COMMAND (ESC STX): the IR port opening command, it is composed
of 2 bytes with values 0x1B 0x02. All characters received before this command,
when the communication port is closed, are ignored.
DATA/COMMANDS: the part of the data and/or commands the printer must elaborate
and its length is variable. This field may include both data to be
printed and control characters (see Section 3 "Printer Functions"). To guarantee that
all data is received correctly, this field is subject to handshaking software (xon/xoff).
STOP COMMAND (ESC ETX): the IR port closing command, it is composed of 2 bytes
with values 0x1B 0x03. All characters received after this command are ignored, unless
it is a START COMMAND.
DCA
Intertel
28
DCA
Intertel

Advertisement

Table of Contents
loading

Table of Contents