Citizen Swift 90 User Manual page 42

Swift series user's manual
Hide thumbs Also See for Citizen Swift 90:
Table of Contents

Advertisement

The Data-Ready Protocol The data-ready protocol works by controlling the signals on pins of
the interface. The pin functions with the data-ready protocol are shown in below. The DTR pin
controls the flow of information to the printer.
When the remaining buffer capacity is less than 256 bytes the printer changes the DTR signal to
LOW. When the data in the buffer falls to below 256 bytes the signal is again changed to HIGH.
Your computer must stop sending information within 256 characters after the printer makes the
DTR signal LOW or the information that overfills that buffer will be lost.
When the printer goes on line the printer changes the DTR signal from LOW to HIGH to signal
to the computer that it is ready to receive information.
The XON/XOFF Protocol This is the simplest of the software protocols. When the printer's
buffer fills up it sends the ASCII code XOFF (13 HEX) to the computer to tell it to stop sending
information. When there is again some room in the buffer the printer sends the ASCII code XON
(11 HEX) to the computer to tell it to resume sending information. If the computer doesn't stop
sending information within 256 characters after it receives an XOFF code the information that
overfills the buffer will be lost.
The printer will send an XON code when it goes on line to get things started. It will send an
XOFF code to stop the computer from sending information if there is an error, such as running
out of paper.
Serial Interface Data Ready Protocol Pin Functions
Pin
Signal
1
GND
2
TXD
3
RXD
4
RTS
7
GND
20
DTR
Pin functions With The XON/XOFF Software Protocols
Pin
Signal
1
GND
2
TXD
3
RXD
4
RTS
7
GND
20
DTR
Signal Levels The serial interface uses standard RS232C signal levels as shown below
Signal Level
LOW (0 or mark)
HIGH (1 or space)
42
Direction
Function
-
Printer's chassis ground
-
Not used
IN
Carries data to the printer
OUT
High when the printer is on line
-
Signal ground
OUT
HIGH when the printer is ready to receive data
Direction
Function
-
Printer's chassis ground
OUT
Carries data from the printer
IN
Carries data to the printer
OUT
ON when the printer is ready to receive data
-
Signal ground
OUT
Turned ON when the printer is ready to receive data.
Input
-25V to -3V
+3V to +25V
Output
-12V
+12V

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents