In IslandWrite 5.0, printer names which don't appear in the printer list cannot be entered in the Print dialog box's printer field. This makes IslandWrite unable to print to any printer in this situation. This problem is logged as B#9801. This issue is resolved in Write 6.0 by removing the printer validation check.
Note: If lpstat is not working on your system, then lp (the standard SysV print command) probably isn't working. If you are using lpr on Solaris, then make sure to set the IPRINTSYS environment variable to "bsd" before running the Island products. In csh:
So, setting IPRINTSYS to "bsd" causes IslandWrite to call iw.bsd.ps when a file is to be printed. iw.bsd.ps uses /usr/ucb/lpr as its print command. If you are using lpr under HPUX or some other SYSV platform, this path will may not be available. You may have to modify each *.bsd.ps print script to point at your lpr.
1) Create a file for the script below called lpstat in the $IOFFICE/bin.
Note: The IOFFICE environment variable should be set to the directory containing the Island distribution.
# lpstat script for Island products
# Set IPRINTERS variable to a space separated list of priner names
# The defaults "printer1 printer2" may be hardcoded to your printer
# names, or set the IPRINTERS environment variable before running
# this script, or starting the Island product.
for printer in $IPRINTERS
echo "system for $printer: foo"
# end of script
2) Make the script executable.
4) Set your PATH environment variable to include $IOFFICE/bin before the system paths. This will insure that our lpstat replacement will get picked up instead of the system lpstat. In csh:
Alternately, each Island startup script, e.g. $IOFFICE/bin/IslandWrite, can be modified to prepend its PATH with the $IOFFICE/bin. Add the following lines after the setting of ARCH.
6) Start IslandWrite. If everything goes well, you should now notice the printers specified in the lpstat script in the printer dialog box.