LyXPrinting Margins not the same as in PDF

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Printing Margins not the same as in PDF

Post by Ewok49 »

Hi there everyone,

I am having an issue with some of my documents. I am currently writing up my PhD thesis and am using the KOMA-Book document class. I have made some adjustments (paper size A4, single sided, heading style = headings) but otherwise nothing major.

My issue is that when I print the PDF version of the output, the text is shifted up the page by about 3-4cm or so. Such that the top of the page headings are being cut in half, and the bottom of the text sits higher up the page than it should.

If I use a different PDF program to print there is no difference. If I adjust the printing settings to scale the printing in the PDF programs it still happens.

I have adjusted the page margins in LyX as well to try and shift the text down. This shows up well in the rendered PDF but when I print it shifts up and I have the same issue.

Can anybody help me at all? I appreciate your help in advance.

Sorry forgot to add: Using LyX 2.0 on Ubuntu 11.10 64bit OS, as far as I am aware I have all the dependencies I need installed and have checked this for the KOMA class in particular.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Re: Printing Margins not the same as in PDF

Post by 5gon12eder »

So if I understand correct, the PDF looks as you want on the screen but the paper printout looks weired when done with one PDF reader but looks okay when done with another PDF reader. If so, then this sounds more like problem with your PDF reader than with LaTeX.

Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Re: Printing Margins not the same as in PDF

Post by Ewok49 »

Hi there,

What I mean is that the text looks like it should no matter what pdf viewer I use. However none of the pdf viewers print the text correctly. All of them have the same error when they print this text.

I don't think it's the printer as when I print other articles there are no issues.
I hope this is a bit clearer?

Thanks
5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Re: Printing Margins not the same as in PDF

Post by 5gon12eder »

I'm afraid that this problem can't be solved without an example reproducing the error. Please try to boil your document down to a minimal working example and post this code. Please also upload the PDF document that you get from your example to let others see if they can reproduce the error.

Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Printing Margins not the same as in PDF

Post by kaiserkarl13 »

Check your paper sizes. I suspect you're using A4 paper in your document but US Letter on your printer (or vice-versa).
Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Printing Margins not the same as in PDF

Post by Ewok49 »

5gon12eder wrote:I'm afraid that this problem can't be solved without an example reproducing the error. Please try to boil your document down to a minimal working example and post this code. Please also upload the PDF document that you get from your example to let others see if they can reproduce the error.

Best
By boil down you mean - a smaller version without too much text just to get a look at the source code for the document? If so I will try and do this shortly and upload the pdf and code ASAP.

I also tried a different document class (BOOK instead of KOMA-BOOK) and the same has happened.

I will double check the printer settings but I'm sure I am printing in A4 and the pdf output should be A4 as well.

Thanks
Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Re: Printing Margins not the same as in PDF

Post by Ewok49 »

I tested the pdf output from another machine and printed it - and the output was exactly as it should have been. There were no issues with incorrect margins. My guess is it must be something to do with my printer settings.

I will try figure it out and if I do I will post a response. Otherwise if I run out of time I may just print of a different machine.

Thanks for all your help though
Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Re: Printing Margins not the same as in PDF

Post by Ewok49 »

Turns out it was some kind of issue with my CUPS package and was fixed when this package was updated...
Post Reply