List Info

Thread: How to make 6"x9" PDFs instead of 8.5"x11"?




How to make 6"x9" PDFs instead of 8.5"x11"?
user name
2007-09-21 11:56:59
What do I need to do to make my PDF's be 6"x9"
instead of the default 8.5"x11"?

Thanks!

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: How to make 6"x9" PDFs instead of 8.5"x11"?
user name
2007-09-21 12:00:38
On Friday 21 September 2007 18:56:59 Sheldon Plankton
wrote:
> What do I need to do to make my PDF's be
6"x9" instead of the default
> 8.5"x11"?

http://www.sagehill.net/docbookxsl/PrintOutput.html
#PaperSize

-- 
Sean Wheller
Technical Author
email: seaninwords.co.za
im: seanwhejabber.org
skype: seanwhe
cel: +27-84-854-9408
web: http://www.inwords.co.za


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: How to make 6"x9" PDFs instead of 8.5"x11"?
user name
2007-09-21 13:47:02
Hi Sheldon
Here's how I adjust the PDF size - all straight out of Bob's book.  Easy to change my 5.5 x 8.375 for 6 x 9.  You may need to alter margins to get the effect you want.
Ron

<!-- ============================================================================================== -->
<!-- select page size for book  -->
<!--&nbsp; -->
<!-- A4 is 8.26 by 11.69 inches -->
<!-- &lt;xsl:param name=";page.width" select=&quot;'8.26in'" /&gt;
<xsl:param name=";page.height" select=&quot;'11.69in'" /&gt;
<xsl:param name=";page.width.portrait&quot; select="'8.26in'" />
&lt;xsl:param name=";page.height.portrait&quot; select="'11.69in'&quot; /> ; -->

<!-- define the layout of a page  -->
<!-- &lt;xsl:param name=";page.margin.inner&quot; select="'1.25in'" />
&lt;xsl:param name=";page.margin.outer&quot; select="'1.25in'" />
&lt;xsl:param name=";page.margin.top" select=&quot;'0.4in'&quot; />;
<xsl:param name=";page.margin.bottom&quot; select="'0.4in'" />
&lt;xsl:param name=";body.margin.top" select=&quot;'0.45in'" /&gt;
<xsl:param name=";body.margin.bottom&quot; select="'0.55in'" />
&lt;xsl:param name=";region.before.extent&quot; select="'0.25in'"; />
&lt;xsl:param name=";region.after.extent&quot; select="'0.25in'" /> -->

<!--&nbsp; -->
<!-- US letter is 8.5 by 11.0 inches -->
<!-- &lt;xsl:param name=";page.width" select=&quot;'8.5in'&quot; />;
<xsl:param name=";page.height" select=&quot;'11.0in'" /&gt;
<xsl:param name=";page.width.portrait&quot; select="'8.5in'" />
&lt;xsl:param name=";page.height.portrait&quot; select="'11.0in'"; /> -->

<!-- define the layout of a page  -->
<!-- &lt;xsl:param name=";page.margin.inner&quot; select="'1.25in'" />
&lt;xsl:param name=";page.margin.outer&quot; select="'1.25in'" />
&lt;xsl:param name=";page.margin.top" select=&quot;'0.4in'&quot; />;
<xsl:param name=";page.margin.bottom&quot; select="'0.4in'" />
&lt;xsl:param name=";body.margin.top" select=&quot;'0.45in'" /&gt;
<xsl:param name=";body.margin.bottom&quot; select="'0.55in'" />
&lt;xsl:param name=";region.before.extent&quot; select="'0.25in'"; />
&lt;xsl:param name=";region.after.extent&quot; select="'0.25in'" /> -->

<!--&nbsp; -->
<!-- soft cover 5.25 by 8.0 inches, with page and body margins 0.35 inches -->
<!-- &lt;xsl:param name=";page.width" select=&quot;'5.25in'" /&gt;
<xsl:param name=";page.height" select=&quot;'8.0in'&quot; />;
<xsl:param name=";page.width.portrait&quot; select="'5.25in'" />
&lt;xsl:param name=";page.height.portrait&quot; select="'8.0in'" /> -->

<!-- define the layout of a page  -->
<!-- &lt;xsl:param name=";page.margin.inner&quot; select="'0.75in'" />
&lt;xsl:param name=";page.margin.outer&quot; select="'0.6875in'" />
&lt;xsl:param name=";page.margin.top" select=&quot;'0.4in'&quot; />;
<xsl:param name=";page.margin.bottom&quot; select="'0.4in'" />
&lt;xsl:param name=";body.margin.top" select=&quot;'0.45in'" /&gt;
<xsl:param name=";body.margin.bottom&quot; select="'0.55in'" />
&lt;xsl:param name=";region.before.extent&quot; select="'0.25in'"; />
&lt;xsl:param name=";region.after.extent&quot; select="'0.25in'" /> -->

<!--&nbsp; -->
<!-- hard cover 5.5 by 8.375 inches, with page and body margins 0.45 inches -->
<xsl:param name="page.height&quot; select="'8.375in'" />
<xsl:param name="page.width"; select="'5.5in'" />
<xsl:param name="page.height.portrait" select="'8.375in'" />
<xsl:param name="page.width.portrait" select="'5.5in'" />
<!-- define the layout of a page  -->
<xsl:param name="page.margin.inner" select="'0.75in'" />
<xsl:param name="page.margin.outer" select="'0.6875in'"; />
<xsl:param name="page.margin.top" select="'0.4in'" />
<xsl:param name="page.margin.bottom" select="'0.4in'" />
<xsl:param name="body.margin.top" select="'0.45in'" />
<xsl:param name="body.margin.bottom" select="'0.55in'" />
<xsl:param name="region.before.extent" select="'0.25in'" />
<xsl:param name="region.after.extent" select="'0.25in'" />
<!--&nbsp; -->

<!-- ============================================================================================== -->




What do I need to do to make my PDF's be 6";x9" instead of the default 8.5"x11"?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


-- 
Ron Catterall, Phd, DSc &nbsp; &nbsp;     ; &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp;  email: roncatterall.net
Prolongacion de Hidalgo 140     ; &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp;   &nbsp;   ; &nbsp; http://catterall.net/
San Felipe del Agua ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;   &nbsp;   ; &nbsp;   &nbsp; &nbsp; &nbsp;   &nbsp; &nbsp;   ; tel: +52 951 520 1821
Oaxaca &nbsp; &nbsp;  68020&nbsp; Mexico    ; &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp;   &nbsp;   ; &nbsp; fax: +1 530 348 8309
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )