[Foomatic] Re: lexmark Z33 cups
Martin
vgbzuosm at vc.ehu.es
Sun Dec 12 13:34:21 PST 2004
Hello Liam,
I have done as you said and now I get:
[root at localhost root]# ls -l /dev/usb/lp0
crw-rw---- 1 lp sys 180, 0 sep 15 2003 /dev/usb/lp0
But I have the same problem:
[root at localhost root]# foomatic-printjob -P martin -Q
inprimagailua is ready
no entries
[root at localhost root]# lp -P martin .bash_profile
lp: unable to print file: client-error-bad-request
One question, lp is not in sys group
[root at localhost root]# grep sys /etc/group
sys:x:3:root,bin,adm
do I have to include lp in sys group?
Martin
In article <coo4il$9pe$1 at poblano.linuxprinting.org>, powerstrike at eircom.net
(Liam) writes:
>
> 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