[Foomatic] Re: lexmark Z33 cups

Liam powerstrike at eircom.net
Thu Dec 2 14:22:13 PST 2004


Hi Martin,
See the thread of mine below. I was gettign similar output to these commands as
you are. I think the crucial step was changing the chown/chmod of /dev/usb/lp0
as describer by Till Kampeter in an earlier post:

chmod 660 /dev/usb/lp0 
chown lp.sys /dev/usb/lp0 


I now get:
[root at localhost liam]# ls -l /dev/usb/lp0
crw-rw----  1 lp sys 180, 0 Feb 23  2004 /dev/usb/lp0

Liam.

In article <coc4nv$4v1$1 at poblano.linuxprinting.org>, vgbzuosm at vc.ehu.es (Martin
Zugasti ) writes:
> 
> Hello,
> I have a Lexmark Z33 printer, in one partition I have FedoraCore I with LPD
and
> foomatic works well, but in other partition I have FedoraCore I with CUPS but
> foomatic does not work well.
> For example:
> 
> [root at localhost root]# lpq -a
> no entries
> [root at localhost root]# lpq -P martin
> martin is ready
> no entries
> [root at localhost root]# foomatic-printjob -P martin -Q
> martin is ready
> no entries
> [root at localhost root]# foomatic-printjob -P martin .bashrc
> [root at localhost root]# echo $?
> 0
> [root at localhost root]# foomatic-printjob -P martin -Q
> martin is ready
> no entries
> [root at localhost root]# lpq -P martin
> martin is ready
> no entries
> 
> [root at localhost root]# lp -P martin .bash_profile
> lp: unable to print file: client-error-bad-request
> [root at localhost root]# echo $?
> 1
> [root at localhost root]# lpq -P martin
> martin is ready
> no entries
> 
> But lexmarkmaintain works well
> 
>  “So make sure that the user "lp" (CUPS, LPRng, GNUlpr, LPD), "ppr" (PPR), or
> all users who
> should be able to print (PDQ) have read and write access to the
> printer port ("/dev/lp0", "/dev/usb/lp0", ...). “
> 
> [root at localhost root]# ls -l /dev/usb/lp0
> crw-rw----    1 root     lp       180,   0 sep 15  2003 /dev/usb/lp0
> [root at localhost root]# grep lp /etc/passwd
> lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
> [root at localhost root]# grep lp /etc/group
> lp:x:7:daemon,lp
> 
> [root at localhost root]# cat /etc/printcap
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> martin|martin:rm=localhost.localdomain:rp=martin:
> 
> [root at localhost root]# cat /etc/cups/printers.conf
> # Printer configuration file for CUPS v1.1.19
> # Written by cupsd on dom 28 nov 2004 00:20:26 CET
> <DefaultPrinter martin>
> Info Created by redhat-config-printer 0.6.x
> DeviceURI file:/dev/null
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> 
> 
> Bye,
> 
> Martin



More information about the Printing-foomatic mailing list