<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: pdftops setting margins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274176#M473663</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume you have set 'psPaperSize' to legal?  And, although the default should be already set to 'yes', have you looked at 'psShrinkLarger'?&lt;BR /&gt;&lt;BR /&gt;'psImageableArea llx lly urx ury' should indeed do the trick, with:&lt;BR /&gt;- llx = x-coordinate of lower left of printable area&lt;BR /&gt;- lly = y-coordinate of lower left of printable area&lt;BR /&gt;- urx = x-coordinate of upper right of printable area&lt;BR /&gt;- ury = y-coordinate of upper right or printable area&lt;BR /&gt;(origin being the lower left of the page)&lt;BR /&gt;&lt;BR /&gt;Unfortunately I do not have exact numbers that you could try...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
    <pubDate>Thu, 17 Feb 2011 19:43:46 GMT</pubDate>
    <dc:creator>sangilak</dc:creator>
    <dc:date>2011-02-17T19:43:46Z</dc:date>
    <item>
      <title>pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274175#M473662</link>
      <description>So when I convert a pdf file to ps and print it, pdftops automatically sets the printable area for the pdf file to the paper size.  Since my printer doesn't do edge-to-edge printing, that means anything outside the printers ability doesn't print.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any experience setting margins/print area with xpdf/pdftops?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 17 Feb 2011 18:54:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274175#M473662</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-17T18:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274176#M473663</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume you have set 'psPaperSize' to legal?  And, although the default should be already set to 'yes', have you looked at 'psShrinkLarger'?&lt;BR /&gt;&lt;BR /&gt;'psImageableArea llx lly urx ury' should indeed do the trick, with:&lt;BR /&gt;- llx = x-coordinate of lower left of printable area&lt;BR /&gt;- lly = y-coordinate of lower left of printable area&lt;BR /&gt;- urx = x-coordinate of upper right of printable area&lt;BR /&gt;- ury = y-coordinate of upper right or printable area&lt;BR /&gt;(origin being the lower left of the page)&lt;BR /&gt;&lt;BR /&gt;Unfortunately I do not have exact numbers that you could try...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
      <pubDate>Thu, 17 Feb 2011 19:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274176#M473663</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-02-17T19:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274177#M473664</link>
      <description>When I set psPaperSize to legal it overrides whatever I put in psImageableArea (same with paper height/width) and I made sure psShrinkLarger was working as expected by default.&lt;BR /&gt;&lt;BR /&gt;I tried putting the following numbers in psImageableArea:&lt;BR /&gt;"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.</description>
      <pubDate>Thu, 17 Feb 2011 20:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274177#M473664</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-17T20:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274178#M473665</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My 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).&lt;BR /&gt;&lt;BR /&gt;With the 'psImageableArea' you will set the actual area where the "image" (so basically your print) will appear.&lt;BR /&gt;&lt;BR /&gt;So what you have to do (I think at least) is to set the 'psPaperSize' to legal and set the 'psImageableArea' to something like:&lt;BR /&gt;"88 144 524 864"&lt;BR /&gt;&lt;BR /&gt;This will ensure a margin of 88 left and right from the "imageable area" and a margin of 144 on the top and bottom.&lt;BR /&gt;&lt;BR /&gt;The above numbers will most likely have to be tweaked to get a perfect match, as I just pulled these numbers out my hat...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS: I think that Legal is 1008 by&lt;BR /&gt;612 and not 1008 by 792.</description>
      <pubDate>Thu, 17 Feb 2011 21:05:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274178#M473665</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-02-17T21:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274179#M473666</link>
      <description>Right you are, setting the paper size to legal and then using "0 10 612 1008" worked perfectly.  Thanks!</description>
      <pubDate>Thu, 17 Feb 2011 22:12:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274179#M473666</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-17T22:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: pdftops setting margins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274180#M473667</link>
      <description>see above</description>
      <pubDate>Thu, 17 Feb 2011 22:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pdftops-setting-margins/m-p/5274180#M473667</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-17T22:13:18Z</dc:date>
    </item>
  </channel>
</rss>

