Asynchronous Terminals and Printer Processes Programming Manual

PRINTER PROGRAMMING CONSIDERATIONS
Printer Command Language (PCL) Support
| Printer Command Language (PCL) Support
|
|
| The 5515/5516 printers support PCL Level II escape sequence
| commands. These commands are generated by the application
| program, sent to the I/O process, and subsequently sent to the
| printer. However, the I/O process does not translate these
| escape sequence commands; it handles the PCL escape sequence
| commands as data.
|
| When you send PCL escape sequence commands from your application
| program, do not break them up. These commands must be complete.
| If you send a PCL escape sequence command in two WRITEs, the
| output is unpredictable.
|
|
| WRONG:
|
| !data
| INT .PRT^BUFFER1[0:4] := [ %000033,"*b4W",%177777,%177777];
| INT .PRT^BUFFER2[0:4] := [ %177777.%177777];
| .
| .
| .
| WRITE ( FILE^NUM, PRT^BUFFER1, 6)
| WRITE ( FILE^NUM, PRT^BUFFER2, 4)
|
| RIGHT:
|
| !data
| INT .PRT^BUFFER1[0:4] := [ %000033,"*b4W",%177777,%177777];
| INT .PRT^BUFFER2[0:4] := [ %177777.%177777];
| .
| .
| .
| WRITE ( FILE^NUM, PRT^BUFFER1, 10)
|
| For details on the PCL escape sequence commands supported for
| the 5515/5516 printers, refer to the
5515/5516/5518 Printers
|
Technical Reference Manual
.
|
|
|
| Using Vertical Format Control (VFC)
|
|
| To use Vertical Format Control (VFC), you must be able to define
| and download a VFC table. Table 7-5 lists the standard default
| VFC table by channel and corresponding default.
|
|
|
7-30 November 1987