A794 Owner’s Guide | Chapter 5: Communication Interface |
RS-232C Interface
The
The
Print Speed and Timing
The fast speed of the printer requires the application to send data to the printer at least as fast as it is printed. The application must also allow receipt lines to be buffered ahead at the printer, so the printer will be able to print each line immediately after the preceding line, without stopping to wait for more data. Ideally, the application will send all the data for an entire receipt without pausing between characters or lines transmitted.
If the application sends data at 9600 baud and pauses between lines for as short a time as 50 milliseconds, the printer will never be able to print at full speed. However, if the application sends data at 19.2 K baud and does not pause between lines, the printer will be able to print at its full speed of 2400 lines/minute. The table below shows that with a pause of 50 milliseconds after each line, the transmit time equals or exceeds the printer process time, slowing down the printer, regardless of the baud rate.
50 Millisecond Pause after Each Line
Characters | Lines per | Transmit Time | Transmit Time | Transmit Time | Process Time* |
per Line | Receipt | (9600 Baud) | (19.2 K Baud) | (115.2 K Baud) | in Seconds |
|
| in Seconds | in Seconds | in Seconds |
|
20 | 20 | 1.40 | 1.20 | 1.03 | 0.50 |
20 | 40 | 2.80 | 2.40 | 2.06 | 1.00 |
44 | 20 | 1.88 | 1.44 | 1.07 | 0.50 |
44 | 40 | 3.76 | 2.88 | 2.15 | 1.00 |
*Process Time is the time it would take the printer to process the data if all transmitted data were present. (It is not the time it takes to print the receipt.)
Example: 20 characters/line, with 20 lines = 0.5 seconds process time for the printer. It takes 1.2 seconds to send the data to the printer at 19.2K baud speed with a 50ms delay after each line. Thus the printer would have to wait 0.7 seconds longer to receive the data that it could process it if no delays existed and the transmission speed were faster.
December 1999 | 43 |