windows 7 - Can I set a printer as default for a specific page size?

23
2014-04
  • Lucifer Sam

    Simple problem, but I was not able to find a solution on my own...

    All day long I am printing either 8.5" x 11" PDF reports or 3" x 4" PDF labels.

    If the PDF page size is 8.5" x 11" I'd like the default printer set to my inkjet printer.

    If the PDF page size is 3" x 4" I'd like the default printer to be my thermal label printer.

    I am using Acrobat Reader now and can't find any settings that would allow this. I am open to using any PDF reader that has this functionality.

    Thanks!!

  • Answers
  • xatr0z

    You could make use of a virtual printer as an intermediary. You may know the concept of a virtual printer already; a lot of people have one installed to convert pages to pdf.

    Your PC can install one 'printer' which actually is a frontend configured to look at the paper size and determine the real printer based on that.

    Which software to use depends on your exact situation (only your PC or more, freeware or willing to pay something, etc).


  • Related Question

    linux - How to set default "Page Setup →Page Size" as A4 in Firefox?
  • neves

    In my Firefox (linux) I can change the page as A4 in File → Page Setup → Page Size. Doing this, I inform the browser to print my pages as A4, instead of the default of Letter. My printer doesn't have Letter paper size (it just exists in USA). If it forget to change the page size, I have to walk to it, press "change page size" to start printing it.

    How do I set the default page size to A4 once and forever?


  • Related Answers
  • Dave

    I had this same issue today and found this post after searching Google. I fixed it in basically the same way as Android Eve laid out, just using the print.print_paper_name setting instead and using iso_a4 as the value.

    So the long version, that's:

    1. In the address bar, type about:config.
    2. Enter print.print_paper_name in the filter box and press Enter.
    3. Double-click the entry named print.print_paper_name.
    4. Enter iso_a4 in the dialog box and press OK.
    5. Notice that it now works fine, and upvote this response ;)
  • digitxp

    Check out this man page:

    paperconfig - configure the system default paper size

    Synopsis

    paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]

    Description

    paperconfig sets the system (or default) paper to be used by tools using the papersize >file. It can either ask interactively for the paper to use or be called non-interactively >by scripts.

    When the paper size has been changed, paperconfig notifies other packages of the change >by running the scripts in the /etc/libpaper.d directory.

    Options

    -v,--version
    Print the version of paperconfig and exit.
    -h,--help
    Print help about usage and exit.
    -p, --paper papername
    Use papername if possible. If papername is not a valid paper, print an error message and exit.
    --force
    Force interactive selection of the system paper even if the actual paper is a valid one.

    Environment

    PAPERCONF Full path to a file containing the paper size to use; this file will be rewritten with the system paper size.

    Files

    /etc/papersize
    Contains the name of the system-wide default paper size to be used if the PAPERSIZE variable is not set.

    /etc/libpaper.d
    Directory of scripts to run after the paper size has been changed. This package puts no scripts here, but other packages may.

    So you would run paperconfig -p a4 in the commandline.

  • Luke McCarthy

    Dave's answer didn't work for me in Firefox 5 on Linux, it seems Firefox now stores separate settings for each printer it sees. If you search for print_paper_name in about:config you will see several similar settings for each printer e.g. "printer.printer_Samsung_ML-2010.print_paper_name". Set all of them to iso_a4 and join the civilised world of standardised paper sizes.

  • Johan

    Make sure /etc/papersize has a4 in it, for some reason it tend to be letter.

    sudo echo a4 > /etc/papersize 
    

    Then set LC_PAPER to your locale, in my case it sweden.

    echo 'export LC_PAPER="sv_SE.utf8"'>> .profile 
    

    All locales but en_US should work since US is the only one that uses letter, the rest of the world uses A4.

  • Android Eve
    1. In the address bar, type "about:config".
    2. Enter "print.postscript.paper_size" in the filter box and press Enter.
    3. Double-click the entry named "print.postscript.paper_size".
    4. Enter "paper" in the dialog box and press OK.
  • Synetech

    Try going to Page Setup and disabling the Shrink to fit Page Width option. This was the only thing that worked for me after changing the config options didn’t. (For changing from default paper size 'Letter' to 'A4'.)

  • ahalin

    Enter print in the filter box and press Enter, sort by value and change all na_letter to iso_a4, press OK