Asynchronous Terminals and Printer Processes Programming Manual

PRINTER PROGRAMMING CONSIDERATIONS
Programming Considerations for 5512 Printers
In addition, the 5573 does not print on a quarter inch along |
the outer edges of the page. To ensure that all characters are |
printed, do not use this region. |
|
|
|
PROGRAMMING CONSIDERATIONS FOR 5512 PRINTERS |
|
|
ATP6100 (including the 3681 implementation) and |
SERIALPRINTPROCESS support the 5512 printer. Using ATP6100, the |
subtype for the 5512 is 9. Using SERIALPRINTPROCESS, the subtype |
for the 5512 is 7. |
|
ATP6100 communicates with the 5512 printer by using the |
Transparent Tandem Asynchronous Protocol (T-TAP). T-TAP allows |
the application program to issue PCL commands to control the |
printers. The I/O process can send the commands transparently to |
the printers--that is, without translation. |
|
SERIALPRINTPROCESS communicates with the 5512 by using the Tandem |
Asynchronous Protocol (TAP), which is a link level protocol. |
TAP provides backward compatibility for the 5512 printer which |
typically uses T-TAP. However, the printer must be defined in |
the SYSGEN configuration file as SERIAL5515. The 5512 printer in |
the SERIALPRINTPROCESS environment has the functionality of the |
5515. For details on the 5512 printer in the SERIALPRINTPROCESS |
environment, see the "Programming Considerations for 5515/5516 |
Printers" section. |
|
The 5512 printer does not support CONTROLBUF procedures. In |
addition, these printers require the C00 versions of SYSGEN, |
Spooler, and CMI/CMP. |
|
|
|
Resetting the 5512 Printers |
|
|
In both environments, resetting the printer ensures that the I/O |
process and the printer are at a known default state. The I/O |
process performs a RESET only once for a device, when the device |
is first opened. The I/O process does not perform another RESET |
even if multiple opens exist on the device. In addition, the I/O |
process can perform a RESET only for operations not controlled |
by the spooler. For operations controlled by the spooler, the |
spooler issues a SETMODE 28 at the beginning of each job. |
|
The RESET or SETMODE 28 sets all the SETMODE parameters to their |
SYSGEN values and causes the driver to issue
ESC
E to the printer. |
The
ESC
E resets the printer to the front panel defaults, the VFC |
table to its default, and causes a conditional physical top of |
form. |
November 1987 7-37