PC_PRINTER_DEFAULT_NAME

Sets the default printer for all PC_PRINTER_ routines.

Syntax:
call "PC_PRINTER_DEFAULT_NAME" using by value     flags
                                     by reference printer-name
                                     returning    status-code
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
flags Numeric literal or cblt-x4-comp5 Numeric literal or pic x(4) comp-5
printer-name Group predefined as cblt-printer-name containing: Group containing:
  cblte-pn-name-len   cblt-x2-comp5   pic x(2) comp-5.
  cblte-pn-name   pic x(n).   pic x(n).
status-code See Library Routines - Key
On Entry:
flags Flags controlling the behavior of the call. Must be set to 1.
cblte-pn-name-len The length of the printer name.
cblte-pn-name The text of the printer name to be used as the default printer.
On Exit:
status-code Printer Handling Routines Return Codes
See Also: