Lyle Chapman wrote:
On Mon, 24 Nov 2003 10:38:38 +1100, James Gray wrote:


Lyle Chapman wrote:


I posted a message the other day asking for help on a script to print files from a queue, thanks to everyone that replied, but I have one more problem with my grand printing plan. Cups works fine for a while then the queue and printing stops, although when I restart cups everything starts working again.

Can anyone help with this???


Lyle Chapman

Is there anything in the logs? From what you describe it could be anything from (thumbs through BOFH excuse book...) "Solar Flares" to "unwanted EMR from you monitor" ;P


Have a look through /var/log/messages and /var/log/daemon and post back anything that looks relevant. See if you can narrow it down to a specific time or job that causes everything fall in a heap (time of day? after running for 'x' hours/minutes? etc).

Help us help you :)

--James
> James,
>
> Had a look at /var/log/messages/ and found this appeared at the times
> it seems to stop.
>
> Nov 24 02:48:29 test-b cups-lpd[911]: Unable to print file - client-
> error-bad-request
>
> Looks to me like cups doesn't like that particular file, is there a
> way to force it to print or bypass it?

IIRC there is a file "/etc/cupsd/mime.types" that defines how cupsd should handle different files. Also have a look at the "mime.convs" file too. CUPS needs to know how to print the files in the queue. Not sure if there's an option to simply skip unknown files though. (Sorry)

Have a look at http://localhost:631/sam.html#FILE_TYPING_FILTERING

HTH,

James

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to