You are not logged in.
Pages: 1
Topic closed
Hi
I've been trying to add the pdf printer for cups without success. A search in the forum brought up several threads related to cups but nothing like this one. I tried using both system-config-printer and the web interface, when executing the first one on a terminal there was no output, however checking the wiki I found the location of the logs, so here is the output of /var/log/cups/error_log.
E [11/Feb/2015:22:37:43 -0500] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [11/Feb/2015:22:45:40 -0500] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!On /var/log/cups/cups-pdf_log there was nothing meaningful, just
Wed Feb 11 23:20:54 2015 [STATUS] identification string sentAny hint on where to look next or what else to do?
Last edited by Rayonant (2015-02-13 02:34:14)
Offline
Offline
I found a similar situation with a friend of mine.
That file is giving same error.
do it good first, it will be faster than do it twice the saint ![]()
Offline
Have you installed cups-pdf yet?
Yes, I have cups-pdf installed
Offline
After installing it did you restart cups?
Does it show up in the printers tab of the web interface?
I'm not trying to be insulting here, just trying to cover all the bases. You'ld be surprised at how often the problem is something "obvious" that can so easily be overlooked.
[edit]Uhhhh.... Why are you trying to load webpages as printer drivers???
Look at the error message that you posted. Take those out of your configuration, and you will probably be ok.
[/edit]
Last edited by Knute (2015-02-12 07:10:04)
Knute
Offline
Knute, that error message has to do with how foomatic creates ppd files.
Rayonant, please state the exact errormessage you got.
I do have a hunch what the problem might be, but don't like guessing.
Last edited by Lone_Wolf (2015-02-12 11:35:16)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
When adding it trough system-config-printer the error is:
CUPS server error
There was an error during the CUPS operation: 'Success'.While doing it trough the web interface states:
Error on Virtual_PDF_Printer
Could not get the list of printer drivers
SuccessPS: Notice that in the web interface that is the rough translation since the message appears in Spanish (which is my locale) since I do not know how to launch it with LC_ALL=C as I did with system-config-printer.
Last edited by Rayonant (2015-04-29 06:27:12)
Offline
that is the message i expected, your translation skills are good.
You are facing FS #43708 .
Try removing all foomatic* packages and then adding the pdf-printer again.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
since I do not know how to launch it with LC_ALL=C .
export LC_ALL=C; <your_command>I don't know how I revert to locale later ![]()
Maybe leave the session and re-login.
do it good first, it will be faster than do it twice the saint ![]()
Offline
There is an alternative if you just want to print from common gui programs - as root, create the /etc/gtk-2.0/gtkrc text file with the following contents...
gtk-print-backends = "cups,lpr,file"after which, selecting the print dialog from your gui program gives you "Print to LPR" and "Print to File": the latter of which has "PDF" and "Postscript" as output format options.
If you also have cups-pdf installed, you will also have that listed in your printer dialog.
Cheers
Paul.
Offline
that is the message i expected, your translation skills are good.
You are facing FS #43708 .
Try removing all foomatic* packages and then adding the pdf-printer again.
Thank you that worked!
Rayonant wrote:since I do not know how to launch it with LC_ALL=C .
export LC_ALL=C; <your_command>I don't know how I revert to locale later
Maybe leave the session and re-login.
You didn't read my message correctly, I said "since I do not know how to launch it with LC_ALL=C as I did with system-config-printer." Which means that I do know how to do that, but for a web interface that does not apply. In addition to that, you are doing it the wrong way, because if you export the variable it makes it persistent, you just need to append LC_ALL=C before the command
LC_ALL=C system-config-printerOffline
You didn't read my message correctly
OK, sorry wrong help ![]()
But now, are running without foomatic stuffs ?
do it good first, it will be faster than do it twice the saint ![]()
Offline
Not OP, but had almost the exact same problem and error messages. Uninstalling foomatic packages fixed it for me.
Offline
Is this issue still being investigated? I had the same problem today and uninstalling all foomatic packages solved it for me, but it should be fixed at some point imho and the bug report linked by Lone_Wolf is closed...
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Also, make sure prior to adding at http://localhost:631/ , edit conf file '/etc/cups/cups-pdf.conf' and add under 'Out' key some other folder, say under user's home
Out /home/${USER}/Documents
else, it prints the file to default folder '/var/spool/cups-pdf/${USER}'
Offline
Please don't bump 5 year old solved threads.
Closing.
Offline
Pages: 1
Topic closed