[nflug] Printer acting weird - cups problem?

Joe josephj at main.nc.us
Sat Nov 8 16:31:49 EST 2008


Thanks for the reply.
The problem is occurring when I print one particular file.  It's a
newsletter I subscribe to.  This issue is 26 pages (3.2MB pdf).  The .ps
file is 196.7MB.  The rest of my normal printing of mostly text and web
page images seems to be fine.

Subsequently I used acroread to open the pdf and print it to file in two
half's using page ranges.  I was away from my LJ, so I put the files on
a thumb drive and printed them on my ancient desktop  with its HP
Deskjet 895Cse (using gsview in Win 98 - don't ask!!) with no problem
(other than having to wait around 10 min for each part to get past its
ancient cpu).  This just proves that the .ps files themselves are OK and
don't contain anything radically new.

The error log (below) raises a couple of issues:
There are a ton of unauthorized printer pause and resume messages. 
What's that about?  I routinely use the hplip toolbox (as an end user)
to fix problems with paper jams, etc. and it seems to work nicely.  I
have an HP 1020 laserjet which has no resume button on it.  I used to
restart it (after paper out) using the toolkit, but I found out that all
I have to do is raise and lower the lid to get it to resume perfectly. 
Do these actions have anything to do with these messages?

[cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission
denied

drwxrwxr-x  4 root lp    4096 2008-02-12 17:13 cups (in /var/cache)
-rw------- 1 root lp   458752 2007-10-10 17:37 ppds.dat  (in
/var/cache/cups)

Should ppds.dat have group rw ?

Thanks.

Joe

/var/log/cups/error_log (tail):

E [31/Jul/2008:23:00:41 -0400] Pause-Printer: Unauthorized
E [31/Jul/2008:23:11:59 -0400] Resume-Printer: Unauthorized
E [01/Aug/2008:16:04:45 -0400] Pause-Printer: Unauthorized
E [01/Aug/2008:16:04:48 -0400] Resume-Printer: Unauthorized
E [01/Aug/2008:16:05:11 -0400] Pause-Printer: Unauthorized
E [01/Aug/2008:16:05:17 -0400] Resume-Printer: Unauthorized
E [03/Aug/2008:18:36:36 -0400] Pause-Printer: Unauthorized
E [03/Aug/2008:18:36:39 -0400] Resume-Printer: Unauthorized
E [03/Aug/2008:18:38:44 -0400] Pause-Printer: Unauthorized
E [03/Aug/2008:18:38:46 -0400] Resume-Printer: Unauthorized
E [03/Aug/2008:18:39:10 -0400] Pause-Printer: Unauthorized
E [03/Aug/2008:18:39:38 -0400] Resume-Printer: Unauthorized
E [11/Aug/2008:12:35:59 -0400] Pause-Printer: Unauthorized
E [11/Aug/2008:12:36:03 -0400] Resume-Printer: Unauthorized
E [04/Nov/2008:15:52:38 -0500] [cups-driverd] Unable to write
"/var/cache/cups/ppds.dat" - Permission denied
E [04/Nov/2008:15:53:10 -0500] [cups-driverd] Unable to write
"/var/cache/cups/ppds.dat" - Permission denied
E [04/Nov/2008:15:53:35 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [04/Nov/2008:15:53:51 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [04/Nov/2008:15:56:45 -0500] Pause-Printer: Unauthorized
E [04/Nov/2008:15:58:33 -0500] Resume-Printer: Unauthorized


Darin Perusich wrote:
> Take a look at the cups logs in /var/log/cups, especially error_log, for
> errors? I'd also take a look at the cups configuration, /etc/cups/ and
> see if the update overwrite the configuration.
>
> Joe wrote:
>   
>> Hi.  I print almost everything to file and then run it through my duplex
>> printing emulator scripts.  These have worked fine forever (almost).
>>
>> The script generates two sets of print jobs.  The first set prints all
>> the odd pages of one or more files.  That still  works fine.  Then, it
>> prints the even pages one job at a time.  Everything prints using
>> hplip.  The printer is an HP Laserjet 1020 and it has worked fine from
>> the start.
>>
>> What's happening now is that it prints all of the odd pages and then it
>> goes to print the first even pages job seems to spool it and then says
>> it's done, but the printer does nothing and the job disappears from the
>> print queue.
>>
>> The only clue I have so far is in dmesg, but I don't know what it means:
>>
>> [  303.623590] usblp0: removed
>> [  304.304571] audit(1225833627.960:3): type=1503
>> operation="inode_permission" requested_mask="::rw" denied_mask="::rw"
>> name="/dev/tty" pid=7764 profile="/usr/sbin/cupsd" namespace="default"
>> bigbird at sananda:~/pq$   
>>
>> Is this some kind of permissions thing?
>> Any ideas?  I think cups was updated in kubuntu hardy recently.
>>
>> The only unusual thing I did recently was to downgrade my kernel from
>> ...21 to ...19 when I was trying to get my winmodem working again (failed).
>>
>> TIA
>>
>> Joe
>>
>> bigbird at sananda:/usr/sbin$ ls -l cup*
>> lrwxrwxrwx 1 root root      6 2008-10-15 21:00 cupsaccept -> accept
>> -rwxr-xr-x 1 root root   7020 2008-10-15 13:30 cupsaddsmb
>> -rwxr-xr-x 1 root root   6940 2008-10-15 13:30 cupsctl
>> -rwxr-xr-x 1 root root 382920 2008-10-15 13:30 cupsd
>> lrwxrwxrwx 1 root root      6 2008-10-15 21:00 cupsdisable -> accept
>> lrwxrwxrwx 1 root root      6 2008-10-15 21:00 cupsenable -> accept
>> -rwxr-xr-x 1 root root  28968 2008-10-15 13:30 cupsfilter
>> -rwxr-xr-x 1 root root  37400 2008-01-24 06:55 cups-genppd.5.0
>> -rwxr-xr-x 1 root root  13870 2008-01-24 06:54 cups-genppdconfig.5.0
>> -rwxr-xr-x 1 root root  21260 2008-01-24 06:54 cups-genppdupdate.5.0
>> lrwxrwxrwx 1 root root      6 2008-10-15 21:00 cupsreject -> accept
>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>     
>
>   



More information about the nflug mailing list