From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20100207165609.A8C812803F@smtp.hushmail.com> References: <20100207165609.A8C812803F@smtp.hushmail.com> Date: Sun, 15 Aug 2010 17:39:53 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Printing to PS printer - solution Topicbox-Message-UUID: 487d3756-ead6-11e9-9d60-3106f5b1d025 Hello, Following the instructions I am able to print from my plan 9 machine on a network printer Oki 5900dn. The problem left, however, is that it doesn't print duplex, though it could (and does from linux). I tried to add +duplex into the relevant field in the /sys/lib/devices file, but that lead to no change. I tried to add the on-line option -iduplex, again no change (still prints simplex) but adds the message "illegal option '-i duplex' ignored". Can anybody help? Why do I need a spooler for a network printer? What's the difference between lpdspool/generic/nospool/... [my line in the devices file now reads: okipr next_door oki raw - post2+600dpi+nohead+duplex generic lpdspool lpd - - FIFO Thanks Ruda On 7 February 2010 18:56, Wolfgang Kunz wrote: > Hi, > > here are my notes on how I got my postscript printer working: > > Printer: OKI B430dn (Network printer) > > Working printing configuration: > > 1. Add printer to /lib/ndb/local > sys=3Dokidr ip=3D192.168.2.191 > > okidr=3DName for the printer > ip=3D IP Address of the printer > > check with: ip/ping okidr > > 2. Add printer entry to /sys/lib/lp/devices > oki2 =A0 =A0office =A0 =A0okidr =A0 =A0raw =A0 =A0- post2+600dpi+nohead = =A0 =A0generic > =A0lpdspool =A0 =A0lpd =A0 =A0- =A0 =A0- =A0 =A0FIFO > > 3. Check > lp -q -doki2 (this works only as user bootes on my system) > > It should show you: > transmission log: > : 100.00% sent > 9232 bytes sent, status: waiting for end of job > 9232 bytes sent, status: end of job > > printer queue: > connecting to tcp!okidr!printer > =A0trying from port 721...connected > Ready > no entires > > 4. Print Postscript files: > > lp -doki2 test.ps > > > Regadrs, > Wolfgang > > >