How To Print to PDF in Ubuntu Intrepid Ibex and Jaunty Jackalope

MOVED TO : http://hydtechblog.com/2009/03/17/how-to-print-to-pdf-in-ubuntu-intrepid-ibex-and-jaunty-jackalope/

14 Responses to “How To Print to PDF in Ubuntu Intrepid Ibex and Jaunty Jackalope”

  1. […] S­ee the o­ri­gi­na­l­ p­o­s­t: How T­o P­rin­t­ t­o P­DF in­ Ubun­t­u In­t­r… […]

  2. You shouldn’t make the directory PDF being root (with sudo) or cups won’t have privileges to write the files in it. Instead, you should just type.

    mkdir ~/PDF/

  3. […] In Ubuntu, we need to install cups-pdf to create a postscript printer. Check my previous post here f… […]

  4. OK, why in the world would intrepid and jaunty remove something like this. It was awsome option in previous dists. Made much more sense than the microsoft uncompatible format print to file option in windows.

    I don’t know why developers would even have the thought cross there minds on something so far away from anything having to do with improving Ubuntu. It’s like someone said “Hey I’m bored. I think I’ll remove the print to pdf option just for fun!”

    Thanks for the post. I would have just installed cups-pdf and been wondering why it doesn’t work had you not posted this line.
    sudo chmod +s /usr/lib/cups/backend/cups-pdf

  5. Thank you for posting this article! I use the pdf printer a lot and was really missing it!

  6. Hi, my problem is xp clients to a PDC via samba (with latest ubuntu server) I am not able to connect to any printer.
    It say something like: “group policies prevent connecting to this printer”.
    I have been trying to fix this for several days.

    can someone assist me how to solve this?

  7. Printing a Multimap page of text and images using this cups-pdf made the images and some text look blurred, despite increasing resolution to 600dpi.

    Printing to ps or pdf using the normal Firefox way gave much sharper images and text but the start of the lines were missing.

    Filesize of printout is much bigger with cups-pdf too.

    Any ideas how to make images look better with cups?

  8. worked ;D
    nice and thanks

  9. I’m not getting anything. The printer shows up just fine, and everything seems good, but no files 😦

  10. Actually, scratch that. I fixed it.

    I didn’t like the idea of PDFs getting dumped in a directory in home when they’re clearly documents, so I’d changed the path to ${HOME}/Documents/PDF

    Apparently it did not like this.

  11. I have the Benji’s problem. The pdf printer works only with ~/PDF. When I change the folder the printer doesn’t create the output files. This is the log entry:
    Mon Sep 21 11:52:45 2009 [ERROR] failed to set file mode for PDF file (non fatal) (/home/stefan/documents/pdf/Ryanair.pdf)

  12. Here’s a new slant
    installed – fine
    created PDF dir – fine
    print test page – nothing
    absolutely nothing – no error log, pdf anything
    even uninstalled apparmor – still nothing
    microsoft may not work right – but hey it does work
    ideas?

  13. The only obvious thing I can think of is permissions on the directory.
    Check you know exactly which directory cups-pdf is trying to write the PDF file to and then make sure you have write permissions to it.

    Another thing to look out for in general is if you are using a 64-bit version of Ubuntu, some things don’t work without some 32-bit libraries installed. I doubt it’s this though.

    Can’t think of anything else right now.

    All the best.

  14. In Jaunty you only have to manually make PDF directories to your users’ home folders and then correct the folder permissions of the home folders:

    cd /home
    chmod -v o+x [USER_NAME]
    (^could also be applied to /home/[USER_NAME]/PDF)

    This way you will avoid *security* *risks* mentioned in a bug report: https://bugs.launchpad.net/ubuntu/+source/cups-pdf/+bug/295536/comments/65

Leave a comment