![TransAct POSJET 1500 Programmer'S Manual Download Page 276](http://html1.mh-extra.com/html/transact/posjet-1500/posjet-1500_programmers-manual_1150636276.webp)
Port Protocols and
POSjet
®
1500
Programmer's Guide
Connection Specifics
Page 262
Rev M
Nov-07
Flow Chart 2 Print Controller Using Data
When the printer is on, the print controller looks for data. If there is data, it processes it. Flow control is done when
the data is taken from the buffer and the amount of data in the buffer is less than a prescribed amount. The low
watermark is set based on the expected environment. The POSjet
®
1500 printer sets the low watermark at half the
buffer size or 1024 characters whichever is smaller. The low watermark gives the host application time to get more
data to the printer before the printer uses up what it has.
When XON/XOFF protocol is implemented, it is possible for the host to miss an XON or an XOFF. To prevent this
from causing a communication lockup, the printer sends an XOFF for every character received after the high
watermark is reached. If the printer detects that the serial data link is inactive, it sends out an XON about every two
seconds. When the printer cover is opened, an XOFF is sent. An XOFF is sent even when the internal data buffer is
past the high watermark. This is done to allow the host to know that the printer is not ready.
Return data to print
controller.
Is the buffer
below the low
watermark?
No
Set DTR or transmit
XON.
Yes
The print controller needs
data to print or a
command to decode.
Return to print controller
with no data available.
Acquire data from the
buffer.
Is there any
data in the
buffer?
Move buffer pointers to
the next data byte.
Yes
Loop through idle
task, and then look
for more data.
No
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......