Compile changes page breaks and length of document

I’m writing my screenplay in Scrivener, and love the program, but find compiling and printing really frustrating. I have a script which is 47 pages long in the editor. When I compile it, every page contains more text than what I see in the editor and the page breaks changes. The document is only 43 pages when it’s compiled. When I compile I use the default settings, «Script and screenplay»-format and font is courier 12 (same as in the editor).

Why does this happen? I want what I see in the editor to be what I get when I print a PDF.

I tried the"Print current document"-function too. Page count changed from 47 to 46.