LM 18.3 Sylvia, Xfce. Printer is HP DeskJet 2132.
My problem began yesterday when I went to print a PDF from the web, and was getting pages of gibberish and discovered I was trying to print a Microsoft Word PDF. So I go about the business finding what it is I have to do to print this file correctly. And run across this thing call cups-PDF, and I am wondering if this is the magic wand that solved my problem, or is it the beginning of another major learning curve of Linux. I know what Cups is and it comes with the OS and drives my printer, but I hesitate messing with it. So I go to the Cups website for PDF and discover that part of Cups-pdf must be installed as root. I see in Synaptic a file for cups-pdf. Does Synaptic install it as root with all its dependencies or should I install it with the Terminal as root?
This is where I went,,,,,,,,https://www.cups-pdf.de/
printing PDF [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
printing PDF [SOLVED]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: printing PDF
Is it possible to give us a URL for the document you tried to print?....and discovered I was trying to print a Microsoft Word PDF.
I would install cups-pdf with
Code: Select all
sudo apt printer-driver-cups-pdf
--
Brian.
Brian.
Re: printing PDF
This what I tried to copy;
Code: Select all
https://www.na.org/admin/include/spaw2/uploads/pdf/litfiles/us_english/IP/EN3110.pdf
Re: printing PDF
The PDF's title is "Microsoft Word - EN3110.doc" and was created by Acrobat Distiller 7.0 (Windows). Nothing untoward there. I printed a page of it successfully. Producing gibberish for the printer's output is often a filtering issue.
--
Brian.
Brian.
Re: printing PDF
So I have been reading this,,,,,,,,https://en.opensuse.org/SDB:CUPS_in_a_Nutshell,,,,,, and have decided that the solution to resolving a filtering issue might be somewhat messy. I can't decide if I have a Postscript or PDF printer and/or what filter to alter or even how to alter it.
Re: printing PDF
Please run the following command from Terminal and post back the results.
Code: Select all
hp-setup -h | grep ver
Re: printing PDF
You have neither. It is a host-based printer. Basically, all processing takes place on the computer.I can't decide if I have a Postscript or PDF printer ....
There will a PPD for it in /etc/cups/ppd. This command
Code: Select all
sudo cupsfilter -p PPD_in_/etc/cups/ppd -m printer/foo -e /etc/nsswitch > out.dat 2>log
--
Brian.
Brian.
Re: printing PDF
This fixed the problem, but I am not certain why it fixed the problem. What is the path to the log file.brian_p wrote: ⤴Tue Feb 12, 2019 6:51 pmYou have neither. It is a host-based printer. Basically, all processing takes place on the computer.I can't decide if I have a Postscript or PDF printer ....
There will a PPD for it in /etc/cups/ppd. This commandwill produce a printer-ready file, out.dat. Look at log for any errors and/or post log here as an attachment.Code: Select all
sudo cupsfilter -p PPD_in_/etc/cups/ppd -m printer/foo -e /etc/nsswitch > out.dat 2>log
The fixing of this problem only opened another problem, as I notice the font size is really small. And sense now knowing my printer is host based (thank you) probably means there is not much support for it. But that doesn't mean all is lost. Are you aware of any programs, software, etc. which might offer a solution to the font problem? I know that I should probably start a new thread for the font, But I thought I would take this opportunity to ask this one last question.