[Foomatic] lexmark Z33 cups
Martin Zugasti
vgbzuosm at vc.ehu.es
Sun Nov 28 01:11:27 PST 2004
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