Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A recent update to CentOS 6.6 from 6.5 included an update to Cups to cups-1.4.2-67.el6.x86_64 from cups-1.4.2-52.el6_5.2.x86_64. This has introduced a "feature" which is I find totally unacceptable.
The older version of Cups-PDF would create a pdf file in which I could select and copy text. The newer version produces what appears to be a pdf of an image. I cannot select anything within the pdf.
I have also verified this performance in the Cups-PDF program in Debian and Ubuntu 12.04. It looks like I need to find an alternative to Cups-PDF. Can anyone offer any suggestions? Cups-PDF being "built in" to most distros seems to be the standard and I am having trouble finding anything else.
Are you actually using cups-pdf or selecting print to file from the application's print menu? As far as I know the print to file feature is a Gnome function and does not use cups.
The actual cups-pdf virtual printer backend is not part of cups and and any upgrade should not have any bearing on its operation.
You are correct michaelk. The package in question is cups-pdf-2.5.1-1.el6.x86_64. I suspect it was also upgraded at the same time. Still, I need a better pdf creator. I have cups-pdf setup as a "printer" and was printing from the browser to the pseudo printer. My Brother HL5170DN networked printer is also not working correctly. I cannot print from Thunderbird nor from Eye of Gnome image viewer. I have tried deleting and recreating the printer in Cups but it still does not work.
This upgrade to CentOS 6.6 has hosed a lot on my machine. I keep finding more as I go along. I do not look forward to spending a couple of weeks rebuilding and tweaking everything to my liking.
I cannot print from Thunderbird nor from Eye of Gnome image viewer. I have tried deleting and recreating the printer in Cups but it still does not work.
That is strange. An upgrade gone wrong/incomplete perhaps?
Maybe some useful error messages will be reported in /var/log/cups/error_log? (Of course CUPS logging verbosity may need to be increased first.)
Code:
su -c 'cupsctl LogLevel=debug2'
Code:
su -c systemctl restart cups.service
Then try a print job, and observe /var/log/cups/error_log
Looks like I have the same issue. After doing some additional research it seems this problem is not new. I assume that part of the problem is due to the fact that linux printing has moved to creating PDFs as the standard print format vs PS and that it is some kind of cups filter problem.
Yes, I recall this issue (hit openSUSE and other distros) a few years back, but Centos 6.6 uses cups-1.4.2, so late to the party. However, KDE and Gnome both provide 'Print to File' capability, and I am still able to capture text via okular when needed. So perhaps the workflow is different when invoked like this?
Thanks ferrari - I was in the process of running the recommended tests on Thunderbird when I noticed an option under Page Setup to select the printer. I changed it from Any printer to Brother HL5170DN. The email printed fine. I checked again and it had reset to Any printer - but it still printed the email just fine. I have found that the CentOS 6.6 upgrade seems to have reset a bunch of similar preferences throughout the system. Things I had set years ago and forgotten about. What a PITA!
I do not see print to file - probably have to set it up or perhaps it is only available in some situations.
Thanks again michaelk. Perhaps I need to run windows pdfprinter under wine
Thanks ferrari - I was in the process of running the recommended tests on Thunderbird when I noticed an option under Page Setup to select the printer. I changed it from Any printer to Brother HL5170DN. The email printed fine. I checked again and it had reset to Any printer - but it still printed the email just fine.
That's usually just a matter of setting the default printer.
Quote:
I do not see print to file - probably have to set it up or perhaps it is only available in some situations.
The laser printer IS the default printer. I am not sure why I had to kick Thunderbird in the butt to get it to work. Although it will only print plain text email. I tried one with some images and the printout was:
ERROR NAME;
undfined
COMMAND;
Q
OPERAND STACK;
The printer is then off-line and I have to power cycle it to get it to respond. I found the same issue trying to print a graphic from eye of gnome. I do not see anything which I recognize as error speak in the log file.
I have a new 240 GB SSD on order. When it arrives I will build a Ubuntu 12.04 system with gnome or mate and if that works I will plug it in in place of this CentOS drive. Or I may try Debian/Mate. I went to CentOS back at Ubuntu 10.04 when Ubuntu was unstable with my dual monitor setup. I had hoped that CentOS would provide stability - and it has with a couple of exceptions such as when my video card was no longer installed. As to the current mess... I do not have the time nor interest to deal with this crap.
Well, actually I was looking in the wrong place. Print to File is available at print time in several programs such as Firfox and Thunderbird which do not have a save as pdf option. I was looking under System; Administration; Printing for Print to File so I could check out its configuration. The option works fine for Firefox, my main need, except that it will not produce unique file names as cups-pdf would. Every time it wants to save the file as mozilla.pdf. But I can deal with that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.