To create or modify
a printer, you must supply the NAME, MODEL, DEVICE, and DEST variables.
All the other variables use default values from the printer prototype
that is specified by the MODEL variable.
To delete a printer,
specify only the required NAME variable.
The following variables
are required in the input data set:
- DEST
-
specifies the output
destination for the printer.
Operating Environment Information: DEST
is case sensitive for some devices.
Restriction:DEST is limited to 1023 characters.
- DEVICE
-
specifies the type
of I/O device to use when sending output to the printer. Valid devices
are listed in the Printer Definition wizard
and in the SAS Registry Editor.
Restriction:DEVICE is limited to 31 characters.
- MODEL
-
specifies the printer
prototype to use when defining the printer.
For a valid list of
prototypes or model descriptions, you can look in the SAS Registry
Editor under CORE\PRINTING\PROTOTYPES.
Restriction:MODEL is limited to 127 characters.
Tip:While in interactive mode, you can invoke the registry
with the REGEDIT command.
- NAME
-
specifies the printer
definition name that is associated with the rest of the attributes
in the printer definition.
The name is unique
within a given registry. If a new printer definition contains a name
that already exists, then the record is not processed unless the REPLACE
option has been specified or unless the value of the OPCODE variable
is
Modify
.
Restriction:NAME is limited to 127 characters, must have at least
one nonblank character, and cannot contain a backslash. Leading and
trailing blanks are stripped from the name.