
EVOLIS CARD PRINTER
Evolis Printers Programming Guide Page 7
Part Number: A5013 Rev. E
5- Programming the Serial Port
As default, the printer serial port is disabled.
The following commands will set the serial port configuration and will memorize the protocol of
communication, even after turning printer power on/off.
(ESC)Pcom;p1;p2;p3;p4;p5;o1;o2(CR)
p1: 1 Serial Port #1 of the printer
2 Serial port #2 of the printer
p2: From 2400 to 115200 Port Speed
p3: N No parity
O Odd parity
E Even parity
p4: 1 or 2 Number of Stop Bit
o1: 0 or NONE No protocol (default value)
XON/XOFF Soft Protocol
RTS/CTS Material Protocol
BOTH Soft and Material Protocols
ACK/NACK Ack/Nack Protocol with simplified answer
o2: 0 or E Enable Port
R Enable Port for reception and disables transmission (except for
Xon/Xoff characters)
D Disable Port
CAUTION:
• The Com2 of the printer can not get the Material Protocol.
• If the Printer Port Com1 is set with the Material Protocol, therefore the Com2 will automatically be
disabled.
• In case of using the ACK/NACK Protocol, the printer will automatically become a SLAVE (Computer =
MASTER).
Example: (ESC)Pcom;1;9600;N;8;1(CR)
à Com1 is set to 9600,N,8,1, enable without any protocol.
(ESC)Pcom;2;115200;N;8;1;XON/XOFF;R(CR)
à Com2 is set to 115200,N,8,1 with a XON/XOFF protocol without feed back of character
on the serial port.
Command to read the configuration of the port: (ESC)Rcom;com(CR)
Definition of the ACK/NACK Protocol:
As soon as this protocol is set, the printer will answer in the following way:
When a command is sent correctly, the printer will answer the character: ACK
If the string of characters has been transmitted, the ACK character is transmitted to indicate that the
command has been properly sent.
In case of error, the printer returns the following: NACK code
When code is: 1 Command Error
2 Parameter Error
T Time-Out Error, Mechanical Error
C Cover Open Error
F Feeder Error
R Ribbon Error
K Magnetic Checksum Error
D Magnetic Data Error
W Writing Magnetic Data Error
Kommentare zu diesen Handbüchern