I have an HP LaserJet 6l attached to a pc running Windows 2000. It is an
old 100Mhz Pentium that I don't mess with so it is good for a print server,
always up and running when I need to print. I have installed Print Services
for Unix to make it available to my Solaris 8 and 7 systems.
I can add the printer via admintool and print ascii text to it without a
problem (lp /etc/hosts works great) but anything else comes out as garbage.
I downloaded and installed the ghostscript package from SunFreeware.com
(ghostscript-6.0-sol8-sparc-local.gz) and tried to set up a print filter.
Searching the archives on deja.com gave me many examples of printing through
ghostscript to a local printer or a printer with a direct network connection
(jet direct for example), however I was unable to find instructions for
printing to a printer attached to another host. Here is what I have tried:
modifying the /usr/lib/lp/model/netstandard file by removing if/if section
for the filter and adding:
FILTER="/usr/local/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=ljet4 -r600 -sOutput
Then adding the printer through this command:
lpadmin -p HPlaser -i /usr/lib/lp/model/netstandard -v /dev/null -o
dest=192.168.0.50 -I postscript
All of the commands complete without error. Then I set the printer as
default through admintool. When I try to print even simple ascii text
through lp, I get the following error:
UX:lp: ERROR: There is no filter to convert the file content.
TO FIX: Use the lpstat -p -l command to find a
printer that can handle the file type
directly, check your filters using lpfilter -f and l, or
consult with your system
The lpstat command gives me this:
printer HPlaser is idle. enabled since Fri Nov 2 22:48:41 EST 2001.
Content types: postscript
Printer types: unknown
On fault: write to root once
After fault: continue
Default page size:
Default port settings:
I added all filters with the lpfilter -f and l command.
Can anyone shed some light on what I am doing wrong? Thanks in advance for