- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pdftops setting margins
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 10:54 AM
02-17-2011 10:54 AM
I'm basically looking for a way to scale a legal sized pdf file so that everything prints. I've played with the psImageableArea option in xpdf but I can't seem to get it to work properly.
Does anyone have any experience setting margins/print area with xpdf/pdftops?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 11:43 AM
02-17-2011 11:43 AM
Re: pdftops setting margins
I assume you have set 'psPaperSize' to legal? And, although the default should be already set to 'yes', have you looked at 'psShrinkLarger'?
'psImageableArea llx lly urx ury' should indeed do the trick, with:
- llx = x-coordinate of lower left of printable area
- lly = y-coordinate of lower left of printable area
- urx = x-coordinate of upper right of printable area
- ury = y-coordinate of upper right or printable area
(origin being the lower left of the page)
Unfortunately I do not have exact numbers that you could try...
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 12:07 PM
02-17-2011 12:07 PM
Re: pdftops setting margins
I tried putting the following numbers in psImageableArea:
"0 0 792 1008" which *should* set the printable area to the exact same size as a legal sized paper, but the pdf doesn't print anywhere near what I expected. The lower left corner of the pdf text ends up about 2 inches in from the bottom left corner of the page and it writes all the way off the right side. it almost seems like it's trying to print the pdf in letter size centered on the legal page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 01:05 PM
02-17-2011 01:05 PM
SolutionMy understanding is that you need to set the 'psPaperSize' to legal. This will set the size of the page (so basically the outside of the paper).
With the 'psImageableArea' you will set the actual area where the "image" (so basically your print) will appear.
So what you have to do (I think at least) is to set the 'psPaperSize' to legal and set the 'psImageableArea' to something like:
"88 144 524 864"
This will ensure a margin of 88 left and right from the "imageable area" and a margin of 144 on the top and bottom.
The above numbers will most likely have to be tweaked to get a perfect match, as I just pulled these numbers out my hat...
sangilak
PS: I think that Legal is 1008 by
612 and not 1008 by 792.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 02:12 PM
02-17-2011 02:12 PM
Re: pdftops setting margins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 02:13 PM
02-17-2011 02:13 PM