LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2014, 12:26 PM   #1
extremodeluxe
LQ Newbie
 
Registered: Nov 2014
Distribution: Mint 17 x64
Posts: 1

Rep: Reputation: Disabled
Printing to .PDF or a virtual printer with zero margins (Mint 17)


HOW ARE YOU (LADIES AND) GENTLEMEN!!!!

Background:

I've been experimenting with desktop publishing using LibreOffice. The object is to print a foldable booklet on 8.5"x11" paper. So I laid out the document on 6.5"x8.5" pages, thinking that I would then "print" them to .PDF side-by-side, on 8.5x11 paper, in the correct page order to make a booklet, and then physically print those .pdfs front and back, for a grand total of four pages per sheet -- arrange them in the correct order, fold in half, and voilą: a booklet with pages you can turn.

The Problem:

No matter how I try to do it, I always end up with these huge margins at the top and bottom of the .pdf files. All the text is there, but it doesn't seem to have rendered at its full size. I have tried printing to PDF from LibreOffice and exporting a .pdf with the small-size pages and trying to print that to another .pdf from Evince. I also installed the cups-pdf virtual printer, which has the same problem. So it would seem that the fault lies in some common .pdf rendering software that all those functions are using.

The Question:

Is it possible to edit the settings for cups-pdf (or whatever common program is being used) and set the margins to zero? If so, how the heck would I go about doing that? It sounds a lot like rewriting a printer driver, which involves Deep Magic.

Any advice or pointers would be greatly appreciated.
 
Old 11-25-2014, 11:29 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,952

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
You can't do zero margins on any printer I am aware of. You can do smaller ones. Particularly top and bottom cannopt be zero; Top because the page is just arriving, and bottom because no printer can hold a page in position right to the end. So you need some side margin, or it looks weird.

Try your luck with ghostscript (man gs). That can print also.
 
Old 11-25-2014, 03:51 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by extremodeluxe View Post
HOW ARE YOU (LADIES AND) GENTLEMEN!!!!
welcome to you, too.
i resent your usage of brackets (and capitals, and exclamation marks).
but nevermind.

Quote:
I have tried printing to PDF from LibreOffice and exporting a .pdf with the small-size pages and trying to print that to another .pdf from Evince.
why would you do it like this?
i'm not sure i understand, but it seems that this doubles your margins.
why don't you just print the .odt document?

i rarely use a printer, but i remember a setting to "ignore margins", or a warning that "part of the document is outside margins" - which can then be ignored.
but of course it will never result in total zero margin.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Crop pdf margins with psnup LXer Syndicated Linux News 0 04-13-2014 12:22 PM
PDF document printing..choose printer smiley_lauf Linux - Newbie 2 01-23-2006 02:20 AM
How to add a virtual pdf printer ? marozsas SUSE / openSUSE 2 01-19-2006 09:43 AM
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM
Print Margins Off When Printing naeric Linux - Software 1 06-17-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration