Writes a text string to the printer.
call "PC_PRINTER_WRITE" using printer-handle print-buffer by value print-buffer-len 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-buffer | pic x(n). | pic x(n). |
print-buffer-len | 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-buffer | The buffer from which the bytes are to be printed |
print-buffer-len | The number of bytes to print |
status-code | Printer Handling Routines Return Codes |