You were right.

I manually removed /sys/src/cmd/gs/src/plan9.mak, re-run 'mk
fake-make' which then created plan9.mak again but with the new djet500
driver included.

After running 'mk install'  the output of the new gs binary now shows
the djet500.

Printing works generally fine, but with the following caveats: (nothing serious)

The first time I run 'lp textfile' the printer will act as if I had
pushed its reset button and the following error will occur:

cat: write error copying /tmp/gsp227: i/o error

(Note that there is another number instead of '227' each time, e.g.
182 or 7021. )

After that, until the next reboot, the printer will work fine using
the 'lp textfile' command.
Though, it will first send out an empty sheet at the beginning of each
printing job; then it starts printing normally.

Here's the line I use in /sys/lib/lp/devices:

hpdeskjet500    - - /dev/lpt1data - gs!djet500+nohead generic nospool - - - -

I also have a 'LPDEST=hpdeskjet500' in my /usr/$user/lib/profile.

Thanks alot for your help, it is very nice to be able to print on my
Plan 9 desktop system!

Best regards,
F. Caulier

Reply via email to