beautypg.com

Datamax-O'Neil VMP SERIES AN-15 (Line Printer and Easy Print Modes) User Manual

Page 6

background image








{CIN} CONFIGURE IrDA BAUD

The CIN command requires data only to configure the name given to the printer when it connects to an IrDA host

COMPLETE

COMMAND

VALUES/FORMAT

ORIGINAL

MF2/MF3/2t/4t

RADIO READY

2t/3l/4t

CIN:

String can be a maximum of 19 characters

X



{CIP} CONFIGURE INFRARED PROTOCOL
The CIP command selects which protocol is to be used for Infrared communications. IrDA is a bidirectional
communications protocol. All others are unidirectional unless noted as 2WAY

COMPLETE

COMMAND

VALUES/FORMAT

ORIGINAL

MF2/MF3/2t/4t

RADIO READY

2t/3l/4t

CIB:nnn

nnn selects which protocol is to be used for infrared:

OFF = No infrared communications
IRDA = IrDA protocol
ASK = ASK (Amplitude Shift Keying)
ASK-CRC = ASK with CRC protocol
ASK-CRC-2W = Bidirectional ASK with CRC
DIRECT = DIRECT (IR on/off to send)
DIRECT-CRC = Direct with CRC protocol
DIRECT-CRC-2W = bidirectional DIRECT-CRC
PULSE – PULSE (IR with IrDA modulation only)
PULSE-CRC = Pulse with CRC protocol
PULSE-CRC-2W = bidirection PULSE-CRC

[NOTE: The CRC protocol appends a HEADER and TRAILER onto the
DATA as follows:

HEADER FORMAT:
BYTE #1 = STX (0x02)
BYTE #2 = LSB of Byte Count
BYTE #3 = MSB of Byte Count
TRAILER FORMAT:
BYTE #1 = ETX (0x03)
BYTE #2 = LSB of CRC
BYTE #3 = MSB of CRC

The CRC is a CRC-16 calculation. First byte in the calculation is the
LSB of the Byte Count and the last byte in the calculation is the ETX. If
the CRC calculated by the printer does not match the one sent, or if the
printer does not receive the full transmission after it receives the
opening STX, the printer will beep. If the transmission is received
completely and the CRCs match, the printer will print the data]

X


{CIV} CONFIGURE IrDA AUTOVOID

The CIV command can be used to turn autovoid ON or OFF (default is ON). If an IrDA connection is made and the printer
times out before it receives a disconnect from the host, it assumes that all data has not been transferred and will
automatically print VOID ** VOID ** VOID across the printed page as a safeguard to assure the proper document has
printed completely.

COMPLETE COMMAND

VALUES/FORMAT

ORIGINAL

MF2/MF3/2t/4t

RADIO READY

2t/3l/4t

CIV:n

n is used to turn AutoVoid ON or OFF

n = Y

 AutoVoid ON

n = N

 AutoVoid OFF

X