Printer channel addresses are straightforward but do take a few minutes to learn. PMDF-FAX users will find printer addresses quite familiar.
The general format of an address for a printer channel is:
AVPL@printer-domain-namewhere
printer-domain-name
is one of the printer
domain names added to the configuration file as described in
Section 27.6.1.1 . The AVPL
item is described in
following subsections.
27.6.2.1 The contents of the attribute-value pair list, AVPL
The left hand side of a printer channel address, (i.e., the
AVPL
in
AVPL@printer-domain-name
, is constructed
in the linear attribute-value pair list (AVPL) format recommended by
RFC 2156. The general form is:
/attribute1=value1/attribute2=value2/.../The trailing / at the end of the AVPL is here superfluous but nonetheless called for by the RFCs. PMDF does not require that it be supplied; however, future releases of PMDF may require its presence so it is best not to get into the habit of omitting it.
The attribute codes, for the most part, describe the intended recipient of the printer output. The available codes are similar to X.400 attribute codes, but they are not identical. They must be chosen from those shown in Table 27-5 . Note that the P1 --- P8, SETUP, and USERNAME attributes are only supported on OpenVMS.
Attribute name | Usage |
---|---|
AT | Attention (usually a person's name) |
MS | Mail stop |
O | Organization or company |
OU | Organizational unit or department |
P1 --- P8 | Parameters to be passed through the print job; OpenVMS only |
SETUP | Setup module to be used by the print job; specify multiple modules in a comma separated list; OpenVMS only |
TN | Recipient's telephone number |
USERNAME | Username under which to submit print job; OpenVMS only |
USERNAME attributes will be ignored unless the SET_USERNAME=1 option has been specified in the channel's option file. Use of this attribute allows specification of the username under which to submit each print job. This username, rather than that of the process running the printer channel, will then appear on any banner or trailer pages.
27.6.2.2 Quoting the AVPL
The attribute-value pair list (AVPL) may contain spaces and other
special characters. If so, the entire list must be enclosed in double
or single quotes.
The characters /, =, and $ are treated as list punctuation characters. If any of these characters appear in either attribute names or values, they must be prefixed with a dollar sign, $, to remove their special meaning. For instance, the "a/s" in the name "Acme a/s" requires special quoting:
IN%"'/at=Rex Sheds/O=Acme a$/s/'@printer.innosoft.com"
27.6.2.3 Examples of printer channel addresses
Assume that the domain name printer.acme.com is a legal printer domain
name. Then, the following are examples of legal printer channel
addresses as they would be specified to either VMS MAIL or DECwindows
MAIL:
IN%"'/AT=Ralph/TN=(714) 624-7907/'@printer.acme.com" IN%"'/TN=(714) 621-8465/AT=Ned Freed/O=Innosoft/'@printer.acme.com" IN%"'/AT=Dan/O=Innosoft/OU=MIS Dept./MS=XJ 614/'@printer.acme.com" IN%"'/AT=Dan Newman/USERNAME=DAN/'@printer.acme.com"When using a user agent which accepts plain RFC 822 addresses (e.g., PMDF MAIL or Pine), use instead:
"/AT=Ralph/TN=(714) 624-7907/"@printer.acme.com "/TN=(714) 621-8465/AT=Ned Freed/O=Innosoft/"@printer.acme.com "/AT=Dan/O=Innosoft/OU=MIS Dept./MS=XJ 614/"@printer.acme.com "/AT=Dan Newman/USERNAME=DAN/"@printer.acme.com