Problem
I'm trying to configure remote lpd style printing to a printer off of an Intel Netport Express print server and am getting one or both of the following symptoms:
1. print jobs are not completing from my user application.
2. lpstat commands (e.g., -t) are hanging when checking the remote printer queue. At the same time this occurs, the Intel Netport drops off the network and is not pingable until the Netport is powered off and back on again.
Solution
This problem can be due to setting the "extended remote printing protocol" when configuring the remote printer through scoadmin.
If the printer is already configured, you can remedy this situation by removing the "ex" flag from the printer definition in /etc/printcap. Consider the following printcap entry:
printer1:\:lp=:rm=printer1.foo.com:ex:rp=printer1:sd=/usr/spool/lpd/printer1:mx#0:Edit the above line so that it now looks like
printer1:\:lp=:rm=printer1.foo.com:rp=printer1:sd=/usr/spool/lpd/printer1:mx#0:The "lpstat -t" command and printing to this printer from your application should now function properly. Note: you may need to power cycle your Netport Print Server to reinstate it's network connectivity as mentioned above.
For any new printers that you create, make sure that you de-select the extended remote printing protocol field when adding the printer through scoadmin.
Note: The character based version of scoadmin printer manager does not allow you to de-select this field. You will need to either use the graphical scoadmin printer manager from your X desktop or use the above procedure to remove the "ex" flag from the printcap file after creating your printer.
NOTES: The Intel Netport Express also comes with a utility called
"proinstall" that will allow you to configure the printer
in a different manner. See the documentation that comes
with your Netport for more details concerning this
utility. This method of configuring your remote printer
won't have the same problem noted above as it doesn't use
the "ex" flag, but may or may not be appropriate for your
printing needs.