Disable "Fit to Page" in Chrome

13,211

I hate to say this but, could you try opening the PDF in a different browser, or use a standalone PDF reader application?

Since the Chromium team has labelled this as a WontFix, Chrome simply might not suffice for your needs.

Share:
13,211
TimSum
Author by

TimSum

Updated on June 05, 2022

Comments

  • TimSum
    TimSum about 2 years

    My company has a web application that outputs a PDF which we print on label paper (stickers with product data).

    Chrome is the default browser around here. Unfortunately, when we try to print from Chrome the "Fit to Page" checkbox is automatically selected. This screws up the alignment and prints data in the wrong places. If we uncheck 'Fit to Page', it prints perfectly on all machines.

    If I skip the Chrome Print dialog and use the system one, it works fine on a Mac, but poorly on Windows machines.

    I would really like a way to disable the "Fit to Page" option.

    What I've looked at:

    Printing Avery 5160 labels with FPDF - I added /ViewerPreferences << /PrintScaling /None >> to my pdf, but this article Set PDF to print with no scaling says that it's controlled by the application (Chrome in my case).

    http://productforums.google.com/forum/#!topic/chrome/REy2n67B1fM --not helpful https://code.google.com/p/chromium/issues/detail?id=158752 --not helpful

    So I'm afraid that I may need to find or make a Chrome extension to do this. Before I dig into that, does anyone know if it's even possible?

    Other Facts:

    PDF is being generated by fpdf in php. All computers should be using latest vs of Chrome.