System Administration Guide: Advanced Administration

Selecting the Protocol

The print subsystem uses BSD print protocol and raw TCP to communicate with the printer. The printer vendor documentation provides the information about which protocol to use. In general, the TCP protocol is more generic across printers.

Type one of the following commands to select the protocol:


# lpadmin -p printer-name -o protocol=bsd

# lpadmin -p printer-name -o protocol=tcp

If the protocol that is selected is the BSD print protocol, you can further select the order of sending the control file to the printer. Some printers expect the control file, then the data file. Others expect the reverse. For this information, see the printer vendor documentation. The default is to send the control file first.

Type either one of the following commands to select the order:


# lpadmin -p printer-name -o bsdctrl=first

# lpadmin -p printer-name -o bsdctrl=last