CUPS problem

Aaron hookahschwa at yahoo.com
Wed Jul 18 05:44:07 PDT 2007


Here is the RedHat version:

Red Hat Linux release 7.3
Kernel 2.4.18-3 on an i686

CUPS version:

cups-libs-1.1.14-15
cups-devel-1.1.14-15
cups-1.1.14-15
cups-drivers-1.1-0.20020313.3
cups-drivers-pnm2ppa-1.1-0.20020313.3
cups-drivers-hpijs-1.1-0.20020313.3

I am using the RedHat printer config utility to add and remove printers.

redhat-config-printer-tui

Printcap:
/etc/printcap
Yes, this is being generated again after I delete it.

I am getting different messages now when I run lpstat -t:

scheduler is running
system default destination: AdobePDF7
printer AdobePDF7 at localhost unknown state. enabled since Jul 18 09:00 2007. avai
lable
printer HP_Color_Inkjet_CP1700 at localhost unknown state. enabled since Jul 18 09:
00 2007. available
printer savin_on_192.168.1.46 at localhost unknown state. enabled since Jul 18 09:0
0 2007. available
printer Stylus_COLOR_740 at localhost unknown state. enabled since Jul 18 09:00 200
7. available
Printer: AdobePDF7 at localhost - ERROR: spool queue for 'adobepdf7' does not exist
 on server localhost.localdomain
   non-existent printer or you need to run 'checkpc -f'
Printer: HP_Color_Inkjet_CP1700 at localhost - ERROR: spool queue for 'hp_color_ink
jet_cp1700' does not exist on server localhost.localdomain
   non-existent printer or you need to run 'checkpc -f'
printer 'HP_DJ_650C_36_(socket' has illegal character at '(socket' in name
Printer: savin_on_192.168.1.46 at localhost - ERROR: spool queue for 'savin_on_192.
168.1.46' does not exist on server localhost.localdomain
   non-existent printer or you need to run 'checkpc -f'
Printer: Stylus_COLOR_740 at localhost - ERROR: spool queue for 'stylus_color_740'
does not exist on server localhost.localdomain
   non-existent printer or you need to run 'checkpc -f'

TestParm output:
sh-2.05a# testparm -s | grep -E "cups|print|driv|lp|spool|secur"
Processing section "[printers]"
        security = USER
        lpq cache time = 10
        total print jobs = 0
        load printers = Yes
        printcap name = /etc/printcap
        disable spoolss = No
        addprinter command =
        deleteprinter command =
        show add printer wizard = Yes
        os2 driver map =
        logon drive =
        printer admin =
        security mask = 0777
        force security mode = 00
        directory security mask = 0777
        force directory security mode = 00
        min print space = 0
        max print jobs = 1000
        printable = No
        printing = lprng
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        lppause command =
        lpresume command =
        printer name =
        use client driver = No
        printer driver =
        printer driver file = /etc/samba/printers.def
        printer driver location =
[printers]
        printable = Yes

grep -Ev "^#|^$" /etc/cups/cupsd.conf output

sh-2.05a# grep -Ev "^#|^$" /etc/cups/cupsd.conf
ErrorLog /var/log/cups/error_log
LogLevel info
Printcap /etc/printcap
Port 631
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>




More information about the cups mailing list