Restriction:
- This routine is not supported on UNIX platforms.
- This routine is not supported when CHARSET"EBCDIC" is in effect.
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
-
flags
- Call prototype (see
Key): Numeric literal or cblt-x4-comp5
- Picture: Numeric literal or pic x(4) comp-5.
-
printer-name
- Group predefined as
cblt-printer-name containing:
01 cblt-printer-name typedef.
03 cblte-pn-name-length cblt-x2-comp5. *> pic x(2) comp-5.
03 cblte-pn-name cblt-x1. *> Occurs depending on
*> cblte-pn-name-length. 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.
|