PC_PRINTER_WRITE

Writes a text string to the printer.

Syntax:

call "PC_PRINTER_WRITE" using     printer-handle
                                  print-buffer
                        by value  print-buffer-len
                        returning status-code

Parameters:

  Using call prototype (see Key) Picture
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  

On Entry:

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