Sends a print command to a printer.
call "PC_PRINTER_CONTROL" using printer-handle by value print-command returning status-code
Using call prototype (see Library Routines - 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 Library Routines - Key |
printer-handle | The printer handle returned when the printer was opened | ||||||||
print-command | The command to send to the printer:
|
status-code | Printer Handling Routines Return Codes |