Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Print to File Defaults

  1. #1
    Join Date
    Jun 2006
    Location
    San Francisco
    Beans
    173
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Print to File Defaults

    I searched for this but was surprisingly unable to find an answer.

    How can I change the default settings of the "Print to File" option in the print dialog? I would like the default file type to be PDF instead of PS, and I would also like to change the default location. Please let me know how I can modify these settings. Thanks.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Print to File Defaults

    Install CUPS-PDF in Synaptic
    it says - Documents are written to a configurable directory (by default to ~/PDF)

  3. #3
    Join Date
    Jun 2006
    Location
    San Francisco
    Beans
    173
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Print to File Defaults

    Thanks oldfred. I've installed CUPS-PDF in the past, after it was no longer included in the distribution. However, I'm looking for a way to modify the settings of the "Print to File" option in the print dialog.

  4. #4
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Print to File Defaults

    Quote Originally Posted by dstein View Post
    ...How can I change the default settings of the "Print to File" option in the print dialog? I would like the default file type to be PDF instead of PS, and I would also like to change the default location...
    See post 2 in the following thread:

    http://ubuntuforums.org/showthread.php?t=1043339

    This worked in Hardy; I assume (but don't know) that this would also work in Intrepid.

  5. #5
    Join Date
    Jun 2009
    Location
    Great Britain
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Print to File Defaults

    No, that didn't work in Jaunty 64-bit. Changed the values suggested, plus the page size in both locations, but the "Print to File" still defaults to ps file format, /user_name/ location, and most annoyingly, to US Letter size page of resulting [pdf] file.

    Why is the whole pdf handling subject is almost totally ignored in Ubuntu? Solutions available are remarkably primitive and inflexible: CUPS-PDF with no file name and location choice, not to mention font handling, resolution, CMYK-RGB etc; "Print to File" with no apparent way to change default file type and location).

    I think that PDF handling is a very important matter, especially for those of us, recently converted , who are accustomed to production and editing of pdf files of various quality/size/purpose - from pre-press to low-res for email etc. We really need something like Acrobat Pro for Linux

    Still, on a more down to Earth note - lets get back to the OP question: how do we change the default file type and location for the "Print to File"?

  6. #6
    Join Date
    Jul 2008
    Location
    Atlanta, GA
    Beans
    813

    Re: Print to File Defaults

    I am a newbie thus might be wrong, but can't you change the end before you save it manually?

  7. #7
    Join Date
    Jun 2009
    Location
    Great Britain
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Print to File Defaults

    Quote Originally Posted by Camilia View Post
    I am a newbie thus might be wrong, but can't you change the end before you save it manually?
    Of course, you can. But that wasn't the question

    Actually, I have found a way to do this (after a lot of digging and cursing)

    Here's what I did (step-by-step, for someone like myself):
    1. In Firefox, type "about:config" in address bar
    2. Type "file" in Filter bar - you will see all your printers listed with option "Print to File"
    3. Change print_to_filename - output location/file_name.extension for ALL of your printers to be the same - your desired file type and destination, in my case: /home/user_name/Documents/web.pdf Changing this for just printer_PDF and printer_Print_to_File won't work (well, it didn't in my case).

    While we're on the subject of printing defaults, here's how I corrected paper size (from US Letter to A4) for the pdf prints:
    1. Same as above
    2. In Filter, type "paper"
    3. Change print.postscript.paper_size from "Letter" to "A4"
    4. Further down the same page, there will be settings for all your printers in the format: print.printer_ABCD.print_paper_name - change "na-letter" to "iso-a4".
    5. If the values for paper width and height are wrong, correct them too - i.e. 210 and 297 instead of 215 and 279. In my case these values were correct, but Print to File would still print in US Letter size, until I changed those mentioned in No.4

  8. #8
    Join Date
    Aug 2008
    Location
    England
    Beans
    14

    Re: Print to File Defaults

    Thanks; for me on Jaunty, running FF 3.0.15, I can change the default location only if I specify the file type as 'PDF'. In other words, specifying ~/PDF/mozilla.pdf works, but if I specify ~/PDF/mozilla.ps, FF ignores it, and defaults to ~/.ps.

    Bizarre, and annoying.

  9. #9
    Join Date
    Nov 2005
    Beans
    349
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Print to File Defaults

    Thanks a lot, davegk!

    This had been driving me crazy for quite a while. The default behavior is something worthy of Microsoft, I hate to say.

    Now I just wish we could get a better file browser built into the print-to-file command. The current one is fine if you want to print to a file in one of the default directories, but to print to another directory you first have to select "Other..." and *then* you can start browsing to the directory you want. Why can't it just be like Nautilus?

  10. #10
    Join Date
    Oct 2005
    Location
    Adelaide, South Australia
    Beans
    746
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Print to File Defaults

    Quote Originally Posted by davegk View Post
    Of course, you can. But that wasn't the question

    Actually, I have found a way to do this (after a lot of digging and cursing)
    Excellent.

    Now do it again for google chrome and it's variants.
    Fear is the mindkiller....
    The little death that obliterates...

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •