Rocket® Net Express™ (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
PC_PRINTER_CONTROL
Sends a print command to a printer.
Syntax:
call "PC_PRINTER_CONTROL" using printer-handle by value print-command returning status-code
Parameters:
| Using call prototype (see Key) | Picture (32-bit systems) | |
|---|---|---|
| printer-handle | cblt-x4-comp5 | pic x(4) comp-5. |
| print-command | Numeric literal or cblt-x4-comp5 | Numeric literal or pic x(4) comp-5. |
| status-code | See Key | |
On Entry:
| printer-handle | The printer handle returned when the printer was opened | ||||||||
| print-command | The command to send to the printer:
|
On Exit:
| status-code | Printer status code |
Related Topics