From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 20 Jan 2010 02:20:22 +0000 Message-ID: From: Frederik Caulier To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] How to add djet500' driver to gs? Topicbox-Message-UUID: c139b27e-ead5-11e9-9d60-3106f5b1d025 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