Problem
I have configured my remote network printer in Printer Manager without errors. I am able to print and "lpstat -t" lists my network printer. However, when I go back into Printer Manager, my network printer is not listed. If I configure local printers (serial/parallel) first, configure a network printer with lpd, exit and re-enter Printer Manager, all printers are listed except the lpd printer.
If an lpd printer is the first printer configured with Printer Manager, it and all subsequent printers will not be listed when re-entering Printer Manager. All printers configured after lpd have been used and are not listed when re-entering Printer Manager.
NOTE: This article applies to SCO OpenServer 5.0.5 operating systems
with the Release Supplement 505A (rs505a) installed. Solution
This problem is fixed in SCO OpenServer Release 5.0.6.
For SCO OpenServer 5.0.5, install Support Level Supplement (SLS) OSS497B (or later), the Core OS Supplement.
If necessary, the following workaround can be used in the interim to installing SLS OSS497B (or later).
The /usr/lib/lpadmin utility can still be used from the command line for administration of local and remote printers.
Note: It has been reported that the following temporary workaround allows the printers to be managed and seen in the Printer Manager. These steps need to be taken for EACH remote printer on the system.
This problem can show up as a VisionFS problem with SCO OpenServer
Enterprise System Release 5.0.5 only. See ta109860, "VisionFS
cannot find an existing printer on an SCO OpenServer 5.0.5 server:
lpstat -v does not show the printer."For each printer there is a directory, created for configuration information, located at:
/usr/spool/lp/admins/lp/printers/<PrinterName>Two files need to be created in this directory for each remote
printer. They are alert.vars and alert.sh. Take these steps:(1) cd /usr/spool/lp/admins/lp/printers/<RemotePrinterName> (2) touch alert.vars (3) Use your favorite editor to create alert.sh with the EXACT syntax as shown below.
## YOUR COMMAND STARTS HERE -- DON'T TOUCH ABOVE!!
mail root
## YOUR COMMAND ENDS HERE -- DON'T TOUCH BELOW!!(4) chmod 660 alert.* (5) chown lp:lp alert.* (6) /usr/lib/lpshut (7) /usr/lib/lpsched (8) accept <RemotePrinterName> (9) enable <RemotePrinterName>
See also
The man page for lpadmin(ADM).ta110105, "What problems are addressed by SLS OSS497, the Core OS Supplement for SCO OpenServer Release 5.0.5?"
ta109860, "VisionFS cannot find an existing printer on an SCO OpenServer 5.0.5 server: lpstat -v does not show the printer."