Admin Production rocket
Current Publication

PC_PRINTER_CONTROL

NetExpress Bookshelf Help V5.1 WrapPack 1
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:
1 Abort printing the document and close the printer
2 Throw a page
3 Flush the print buffers
4 Start a new line
On Exit:
status-code Printer status code
See Also:

Related Topics