Technical data

B
ONC Binding Entries
B.1 ONC Binding Entries
Local file and NIS naming services use entries in ONC binding entry format
to identify printing objects. The print system stores and retrieves these
entries from the /etc/printers.conf file.
The syntax of the ONC binding entry format is similar to that used in
/etc/printcap and /etc/remote files except that the ONC binding entry format
uses different key names.
The syntax for a printer-configuration is:
ONCEntry::=NameList{: KeyValuePair}+
NameList::=PrimaryName{‘|’ Alias}+
KeyValuePair::=Name={ValueDP | ...}
ValueDP::=Hostname, ProgramNumber, ProgramVersion,
Authentication, SubType, ServerName[, Protoserver], spooling-type
Where:
{...}+ = one or more
|=or
| = the symbol |
[...] = optional
Where:
Parameter Description
ONCEntry A printer table entry that consists of a PrimaryName, optional
Aliases, and one or more KeyValuePairs.
PrimaryName
of Object
The primary name for identifying an object.
Aliases Zero or more aliases of the object (optional).
KeyValuePair An attribute that consists of an attribute name and its value.
Here we show only the values of type ValueDP.
ValueDP Server bindings for: printer address binding (paddr), server
address binding (saddr), queue address binding (qaddr)
Hostname Name of the host machine that holds the object and
its associated server.
ONC Binding Entries B–1