# Mathematica document not retaining margins from stylesheet when printing?

In the process of creating my resume in Mathematica, I needed to adjust the margins of the default stylesheet so that section headers would take up less whitespace. After modifying the stylesheet using the instructions mentioned here, the changes clearly show up in my document in Mathematica.

However, after I export the document to a PDF, either by saving or by printing, my work is undone.

So I've resorted to copying and pasting screen captures of my resume into MSPaint and then printing from there. This is a huge pain.

What am I doing wrong? Is there a setting I have to modify to get my stylesheet margins to stick in the PDF version?

-
When printing (or saving to PDF), it uses the Printout screen environment, whereas what you see (by default) in the notebook is the Working screen environment. The changes to the style definitions that you've made are only for the working environment, whereas you need to modify it for the printout env. I don't have time to write an answer now, but this might give you a lead as to where to look (or someone else can write up an answer). Try exploring the Default.nb and Core.nb stylesheets to see how the styles for Printout are defined. If no one answers by this evening, I'll write one. –  rm -rf Oct 12 '12 at 19:13

As rm -rf wrote the looks of the printout are by default determined by the Printout style definitions in the stylesheet, and you could try to change those.
However, if you don't feel like that, you could also try to change the printing environment from "Printout" to "Working", so that it uses the changes you already made for your screen layout. You can do that in File > Printing Settings > Printing Environment or by executing
SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Working"]  for a permanent change or SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"]