[CentOS] cups drivers for printing pdf and tif

Wed Apr 27 15:35:57 UTC 2011
Gregory P. Ennis <PoMec at PoMec.Net>

>>>> List,
>>>>
>>>> I updated a gateway/router computer with Centos 5.6 and lost the ability
>>>> to print pdf and tif files with the command "lp -d printer img.tif"
>>>>
>>>> This new unit replaced a Fedora 5 system that had been working well, and
>>>> is still able to print pdf and tif files withing the same network.
>>>>
>>
>> You should run "yum list installed>  <text-file-name>" on both working
>> and non-working system and compare (diff?) those lists.
>>
>> Ljubomir
>>
>> The only difference I can see between the two servers is that the one
>> that does not work is x64 and the one that works is i386.  I am about
>> ready to use the old Fedora system as the cups server instead the Centos
>> 5.6 that was just put together.   Thanks much for your help!!!!
>>
>> Greg
>>
>
> OK. But I was wondering if installing CentOS 5.6 i386 would help, and if
> it would work for you.
>
> Lijubomir,
>
> That is interesting, I would not have thought that changing to i386
> would have solved the problem, but it might be worth the try.  I will
> have to create some time to redo that machine.  Thanks for your
> suggestion!!

I doubt it's an i386 vs x86_64 issue. Printing pdf documunts from the 
command line through cups works fine here on an x86_64 C5 system.

Have you looked at the logs in /var/log/cups/ ?
You could increase the log level to debug in /etc/cups/cupsd.conf if 
nothing is obvious in your current logs.

For reference, with the default "info" loglevel, when printing a pdf 
file I get this in /var/log/cups/error_log :

I [27/Apr/2011:16:11:20 +0200] [Job 827] Adding start banner page "none".
I [27/Apr/2011:16:11:20 +0200] [Job 827] Adding job file of type 
application/pdf.
I [27/Apr/2011:16:11:20 +0200] [Job 827] Adding end banner page "none".
I [27/Apr/2011:16:11:20 +0200] [Job 827] Queued on "delice" by "nthierry".
I [27/Apr/2011:16:11:20 +0200] [Job 827] Started filter 
/usr/lib/cups/filter/pdftops (PID 15344)
I [27/Apr/2011:16:11:20 +0200] [Job 827] Started backend 
/usr/lib/cups/backend/socket (PID 15345)
I [27/Apr/2011:16:11:34 +0200] [Job 827] Completed successfully.

Nicolas,

That was very helpful.

The problem was caused by me, I failed to copy over the ppd files of the
printer to the new system.  The error log files did not report errors
related to not finding the /etc/cups/ppd/printer.ppd file for the
printer, but did remind me of the file's need to be present.  When I
checked it was not present, but was an easy fix. 

Thank you very much!!!!

Greg