iivq n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Mar 2006 Posts: 26
|
Posted: Sun Nov 16, 2008 9:31 pm Post subject: CUPS printer sometimes gets "stuck" |
|
|
Hello.
I have a HP 1018 printer via CUPS and Samba. It prints fine, but occasionally, it gets "stuck" with the cups message being: processing since Sun Nov 16 21:31:03 2008". The only remedy to this I've found is restarting the whole box - just restarting CUPS won't do it - but then the prints in the queue will print.
Any tips?
cupsd.conf
Code: |
root@betsy ~]$ cat /etc/cups/cupsd.conf
ServerName Betsy
ServerAdmin root@Betsy
LogLevel debug
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
MaxClients 100
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
DefaultAuthType Basic
<Location />
Order deny,allow
Deny From All
Allow From localhost
Allow From 192.168.15.*
</Location>
<Location /admin>
Order deny,allow
Deny From all
Allow From localhost
Allow From 192.168.15.*
</Location>
<Location /admin/conf>
Order deny,allow
Deny From All
Allow localhost
Allow 192.168.15.*
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
|
printers.conf
Code: |
[root@betsy ~]$ cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.7
# Written by cupsd on 2008-11-16 16:43
<DefaultPrinter HP_LaserJet_1018>
Info HP_LaserJet_1018
Location Gangkast
DeviceURI usb://HP/LaserJet_1018?serial=KP2NF7a
State Idle
StateTime 1226850194
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
|
|
|