[Foomatic] Re: Problems with foomatic and a Lexmark Z23 (Z33 also)

Liam powerstrike at eircom.net
Mon Nov 15 16:57:46 PST 2004


Hi, 
Was having problems with Lex Z33 & followed instructions here re chmod & chown
of /dev/usb/lp0
I could not seem to find lpdamin (FC2 ?), so I used 'system-config-printer' & .
First I deleted all previous attempts to configure this printer ( & there were
many!)
Using the CUPS config utility from Easy Software Products
(http://localhost:631), I added a printer and followed the Lexmark route,
choosing the Z33/foomatic driver.  There didn't seem to be a option to choose
/dev/null. It did not work after having just added it here. I then used
'system-config-printer' to edit the Q & under Queue Type, chose locally
connected & created a custom device of /dev/null'. Under the Printer Driver,
select Lexamrk & chose Z33 from the list. Only one driver i soffered
'lexmarkinkjet', so use that. Then under the Driver options, select your paper
size (A4) & slect 'First port of USB' as the Port of Printer.Click OK & Apply.
Then Test->Print CUPS Test Page & out pops the CUPS test page. 
I then successfully printed a couple of pages from OpenOffice.

Then it stopped working again :(((
PID 4589 stopped with status 3!
lpq.cups says "Lex1 is ready" & the test page goes onto the Q & off again - but
no printout!
Sob :( Off I go again...


In article <418E8FA7.4000904 at gmx.net>, Till Kamppeter <till.kamppeter at gmx.net>
writes:
> 
> The driver talks directly to the printer and not through the CUPS USB 
> backend. So the CUPS backed should not be started to not block the port. 
> Therefore you must point your CUPS queue to /dev/null. To do so do (as 
> root):
> 
> cancel -a <queue name>
> killall -9 usb
> lpadmin -p <queue name> -E -v file:/dev/null
> 
> Now you should be able to print.
> 
>     Till
> 
> 
> 
> Calvin Spealman wrote:
> >>There is a "Permission denied" on /dev/usb/lp0. You need to make  
> >>/dev/usb/lp0 read/write accessable for the CUPS special user (usually  
> >>"lp" and the CUPS group (usually "sys"): 
> >> 
> >>chmod 660 /dev/usb/lp0 
> >>chown lp.sys /dev/usb/lp0 
> >> 
> >>    Till 
> > 
> >  
> > Thanks, I tried that. Now, I am getting: 
> > sh: line 1: /dev/usb/lp0: Device or resource busy 



More information about the Printing-foomatic mailing list