What is going on and how do I control it?
If content is too wide to fit on the printable area of the page, Firefox
will generally auto-shrink it to make it fit.
There should be a checkbox in the print dialog to enable/disable this
behavior. (On Linux, it's in the "Options" tab of the print dialog and
is called "Ignore scaling and shrink to fit page width". I'm not sure
about other platforms) It's checked by default, and it sounds like you
probably want to un-check it.
That's my best guess at why Firefox would be unexpectedly scaling your
printed content... If that doesn't help, it'd be helpful if you could
attach (or link to) a testcase that demonstrates what you're talking about.
~Daniel
Thanks, your answer helped me find the option under "File!Print...".
Due to the usual overzealous UI "simplification", the option is
unavailable and always-on for "File!Print Preview" and is not in the
"Page Setup" dialog where it belongs.
Turns out my contents is just about 5pt to wide for the hardcoded
margins used by FF 3.0.0.x .
Such content-sabotage really should be logged to the error console, so
people don't spend forever double-guessing themselves.
Not to overly defend Firefox's printing UI, as there's definitely room
for improvement... but, for the record, the option *is* available in
Print Preview, at least on Windows and Linux. Use the "Scale" drop-down
box, near the center of the print preview window's toolbar -- it
defaults to "Shrink To Fit", but you can change that to "100%" if you
want to disable shrinking. (Sadly, that "preview" setting doesn't
necessarily propagate through to the actual printed output when you
click "print" -- you may still need to untick the checkbox in the print
dialog, too.)
If you want to change the default (in both Print and Print Preview) to
make sure you never run into this problem again, you can go to
about:config, search for "print_shrink_to_fit", and double-click all
listed settings to flip them to "false".
~Daniel
Sorry, in my copy of FF 3.0.0.6 for Linux, there are only the following
Print Preview controls: "Page: |<-- <--- [ 1] of 1 ---> -->| Close"
Ah, you're right -- the "Scale" dropdown in the Print Preview UI seems
to be new in Firefox 3.5 and later.
~Daniel