<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Simple Imposition</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : General Discussion : Simple Imposition]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:42:28 +0000</pubDate>
  <lastBuildDate>Wed, 25 May 2016 02:14:21 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=3334</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Simple Imposition : Here&amp;#039;s the code for this:Pdf_File_Left_Path...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13283.html#13283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2875">Shaare</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 25 May 16 at 2:14AM<br /><br />Here's the code for this:<div><br></div><div><div>P<font color="#003366">df_File_Left_Path = Pdf_File_Names_Dictionary.Item(CStr(counter))</font></div><div><font color="#003366">PdfLib.LoadFromFile(Pdf_File_Left_Path)</font></div><div><font color="#003366">Pdf_File_Left_Selected_Document_Pointer = PdfLib.SelectedDocument()</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font color="#003366">			</font></span></div><div><font color="#003366">counter = counter + 1</font></div><div><font color="#003366"><br></font></div><div><font color="#003366">Pdf_File_Right_Path = Pdf_File_Names_Dictionary.Item(CStr(counter))</font></div><div><font color="#003366">PdfLib.LoadFromFile(Pdf_File_Right_Path)</font></div><div><font color="#003366">Pdf_File_Right_Selected_Document_Pointer = PdfLib.SelectedDocument()</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font color="#003366">			</font></span></div><div><font color="#003366">counter = counter + 1</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font color="#003366">			</font></span></div><div><font color="#003366">PdfLib.SelectDocument(Pdf_File_Left_Selected_Document_Pointer)</font></div><div><font color="#003366">PdfLib.MergeDocument(Pdf_File_Right_Selected_Document_Pointer)<span ="Apple-tab-span" style="white-space:pre">			</span></font></div><div><font color="#003366"><br></font></div><div><font color="#003366">PdfLib.NewPage()</font></div><div><font color="#003366">PdfLib.setpagesize("Tabloid Landscape")</font></div><div><font color="#003366"><br></font></div><div><font color="#003366">Pdf_File_Left_Captured_Page_Pointer = PdfLib.CapturePage(1)</font></div><div><font color="#003366">Pdf_File_Right_Captured_Page_Pointer = PdfLib.CapturePage(1)</font></div><div><font color="#003366"><br></font></div><div><font color="#003366">PdfLib.setorigin(1)<span ="Apple-tab-span" style="white-space:pre">	</span> </font><font color="#006633">'Top left</font></div><div><font color="#003366">PdfLib.setmeasurementunits(2) </font><span ="Apple-tab-span" style="color: rgb0, 51, 102; white-space: pre;">	</span><font color="#009900">'Inches</font></div><div><font color="#003366">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</font></div><div><font color="#003366">Result = PdfLib.DrawCapturedPage(Pdf_File_Left_Captured_Page_Pointer,X1,Y,8.5,11) &nbsp; &nbsp; &nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span></font></div><div><font color="#003366">Result = PdfLib.DrawCapturedPage(Pdf_File_Right_Captured_Page_Pointer,X2,Y,8.5,11)</font></div><div><font color="#003366"><br></font></div><div><font color="#003366">Pdf_File_Name_Tabloid_Imposition = Prod_Pdf_Files_Output_folder &amp; "\" &amp; CStr((counter - 2)) &amp; "-" &amp; CStr((counter-1)) &amp;".pdf"</font></div><div><font color="#003366">PdfLib.SaveToFile(Pdf_File_Name_Tabloid_Imposition)</font></div></div>]]>
   </description>
   <pubDate>Wed, 25 May 2016 02:14:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13283.html#13283</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : SUCCESS! :)I had forgotten to...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13282.html#13282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2874">WilliamFaulkner</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 25 May 16 at 12:50AM<br /><br />SUCCESS! :)&nbsp;<div>I had forgotten to set measurement and origins!</div>]]>
   </description>
   <pubDate>Wed, 25 May 2016 00:50:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13282.html#13282</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : Hi Ingo,Reading the links and...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13281.html#13281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2874">WilliamFaulkner</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 25 May 16 at 12:06AM<br /><br />Hi Ingo,<div><br></div><div>Reading the links and developer pdf did help...</div><div>Not knowing how Pdf is implemented made me have wrong assumptions.</div><div>Thank you for reminding me to RTM, really, I should have started there.</div><div><br></div><div>I've merged my two letter sized documents prior to using CapturePage.</div><div>However, my output is a blank tabloid landscape.</div><div><br></div><div><!--StartFragment --> <font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;">While</font> counter &lt;= (Pdf_File_Names_Dictionary.Count - <font style="color:#800000;">2</font>)&nbsp;</font></div><div><font style="font-family:Courier New;font-size:10pt;"><br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>Pdf_File_Left = Pdf_File_Names_Dictionary.Item(<font style="color:#0000FF;">CStr</font>(counter))<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.LoadFromFile(Pdf_File_Left)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>leftPage = PdfLib.SelectedDocument()<br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>Pdf_File_Right = Pdf_File_Names_Dictionary.Item(<font style="color:#0000FF;">CStr</font>(counter + <font style="color:#800000;">1</font>))<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.LoadFromFile(Pdf_File_Right)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>rightPage = PdfLib.SelectedDocument()<br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.SelectDocument(leftPage)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.MergeDocument(rightPage)<br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.NewPage()<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>PdfLib.setpagesize(<font style="color:#808080;">"Tabloid Landscape"</font>)<br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>leftPage = PdfLib.CapturePage(<font style="color:#800000;">1</font>)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>rightPage = PdfLib.CapturePage(<font style="color:#800000;">1</font>)<br><br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>tabloid = PdfLib.DrawCapturedPage(leftPage,X1,Y,<font style="color:#800000;">8.5</font>,<font style="color:#800000;">11</font>) 'X1 = 0 = Y<br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>tabloid = PdfLib.DrawCapturedPage(rightPage,X2,Y,<font style="color:#800000;">8.5</font>,<font style="color:#800000;">11</font>) 'X2 = 8.5<br><br><span style="font-size: 13.3333px; line-height: 18.6667px;">&nbsp; &nbsp;</span>Pdf_File_Imposed = Prod_Pdf_Files_Output_folder &amp; <font style="color:#808080;">"\test.pdf"</font><br>&nbsp; &nbsp;PdfLib.SaveToFile(Pdf_File_Imposed)<br>           </font></div><div><font style="font-family:Courier New;font-size:10pt;">&nbsp; &nbsp;counter = counter + 1<br><font style="color:#0000FF;">Wend</font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font>Any hints is appreciated!</font><br></font><!--EndFragment--></div><div><font style="font-family:Courier New;font-size:10pt;"><font><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font>ps: I am not a professional programmer, but am learning, thanks for your patience.</font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><span style="font-size:10px"><br /><br />Edited by WilliamFaulkner - 25 May 16 at 12:07AM</span>]]>
   </description>
   <pubDate>Wed, 25 May 2016 00:06:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13281.html#13281</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : Hi,here i&amp;#039;ve found three...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13280.html#13280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 24 May 16 at 7:40PM<br /><br />Hi,<div><br></div><div>here i've found three posts/threads with the search-function</div><div>giving you an idea how this can be done:</div><div>http://www.debenu.com/kb/programmatically-impose-multiple-pages-on-one-page-imposition/</div><div>http://www.quickpdf.org/forum/what-does-drawcapturedpage-do_topic594.html</div><div>http://www.debenu.com/kb/merge-content-from-multiple-pages-into-one-page/</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 24 May 2016 19:40:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13280.html#13280</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : hi Ingo,Thanks for the help, its...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13279.html#13279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2874">WilliamFaulkner</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 24 May 16 at 7:01PM<br /><br />hi Ingo,<div><br></div><div>Thanks for the help, its good to see.</div><div>I created it landscape in inDesign however working without it, as you mentioned, does seem simpler.</div><div><br></div><div>Could I bother you a bit more and ask you more details?</div><div><br></div><div>Thank you,</div>]]>
   </description>
   <pubDate>Tue, 24 May 2016 19:01:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13279.html#13279</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : Hi William ;-)i think the empty...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13278.html#13278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 24 May 16 at 5:42PM<br /><br />Hi William ;-)<div><br></div><div>i think the empty landscape pdf wasn't landscape while creation but rotated later?</div><div>I think internally it's a portrait format with a rotate 90.</div><div>That's your hurdle i fear.</div><div>The newer versions of the library offers a NormalizePage to avoid problems like these ones.</div><div>But there's no need to use an existing, empty landscape pdf for this job.</div><div>You can do this from scratch on the fly.</div><div>In the developer guide and in the knowledge base you'll find enough samples for jobs like the described one.</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 24 May 2016 17:42:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13278.html#13278</guid>
  </item> 
  <item>
   <title><![CDATA[Simple Imposition : Greetings,I simply have to take...]]></title>
   <link>http://www.quickpdf.org/forum/simple-imposition_topic3334_post13277.html#13277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2874">WilliamFaulkner</a><br /><strong>Subject:</strong> 3334<br /><strong>Posted:</strong> 24 May 16 at 12:45AM<br /><br />Greetings,<div><br></div><div>I simply have to take two distinct portrait Letter-sized Pdf files and impose them on a landscape Tabloid-sized blank Pdf.</div><div><br></div><div>The code currently only outputs the second page on the left side of the tabloid.</div><div><br></div><div>Here is my code...</div><div><br></div><div><br></div><div><font style="font-family: 'Courier New'; font-size: 10pt; line-height: 1.4; color: rgb0, 0, 255;">Sub</font><span style="font-family: 'Courier New'; font-size: 10pt; line-height: 1.4;"> Impose_2up_Letter_On_Tabloid</span></div><font style="font-family:Courier New;font-size:10pt;"><br>    <font style="color:#0000FF;">Dim</font> ClassName<br>    <font style="color:#0000FF;">Dim</font> LicenseKey<br>    <font style="color:#0000FF;">Dim</font> PdfLib<br>    <font style="color:#0000FF;">Dim</font> Result<br>    <br>    <br>ClassName = <font style="color:#808080;">"QuickPDFAX0725.PDFLibrary"</font><br>LicenseKey = <font style="color:#808080;">"######censured##########"</font> <font style="color:#008000;">' KEY</font><br>    <font style="color:#0000FF;">Set</font> PdfLib = <font style="color:#0000FF;">CreateObject</font>(ClassName)<br>Result = PdfLib.UnlockKey(LicenseKey)<br>    <br>    <font style="color:#0000FF;">If</font> Result = <font style="color:#800000;">1</font> <font style="color:#0000FF;">Then</font><br>    <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate =&nbsp;<span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>PdfLib.LoadFromFile(Pdf_File_Tabloid_Landscape_Template)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.SelectedDocument()<br>        <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.setorigin(<font style="color:#800000;">1</font>) <font style="color:#008000;">' Top left</font><br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.setmeasurementunits(<font style="color:#800000;">2</font>) <font style="color:#008000;">' Inches</font><br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.setpagesize(<font style="color:#808080;">"Tabloid Landscape"</font>)<br>        <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>counter = <font style="color:#800000;">1</font> <br>        <br><font style="color:#0000FF;">While</font> counter &lt;= (Pdf_File_Names_Dictionary.Count - <font style="color:#800000;">2</font>)<br>        <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>Pdf_File_Left = Pdf_File_Names_Dictionary.Item(<font style="color:#0000FF;">CStr</font>(counter))<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>PdfLib.LoadFromFile(Pdf_File_Left)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intLeftPage = PdfLib.SelectedDocument()<br>            <font style="color:#008000;">'intLeftPage = PdfLib.CapturePage(1)</font><br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>counter = counter + <font style="color:#800000;">1</font><br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>Pdf_File_Right = Pdf_File_Names_Dictionary.Item(<font style="color:#0000FF;">CStr</font>(counter))<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>PdfLib.LoadFromFile(Pdf_File_Right)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intRightPage = PdfLib.SelectedDocument()<br>            <font style="color:#008000;">'intRightPage = PdfLib.CapturePage(1)</font><br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>counter = counter + <font style="color:#800000;">1</font><br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.setpagesize(<font style="color:#808080;">"Tabloid Landscape"</font>)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.DrawCapturedPage(intLeftPage,X1,Y,<font style="color:#800000;">8.5</font>,<font style="color:#800000;">11</font>)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.setpagesize(<font style="color:#808080;">"Tabloid Landscape"</font>)<br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.DrawCapturedPage(intRightPage,X2,Y,<font style="color:#800000;">8.5</font>,<font style="color:#800000;">11</font>)<br>   <span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>         <br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>Pdf_File_Imposed = Prod_Pdf_Files_Output_folder &amp; <font style="color:#808080;">"\"</font> &amp; <font style="color:#0000FF;">CStr</font>((counter - <font style="color:#800000;">2</font>)) &amp; <font style="color:#808080;">"-"</font> &amp; <font style="color:#0000FF;">CStr</font>((counter-<font style="color:#800000;">1</font>)) &amp;<font style="color:#808080;">".pdf"</font><br>            <br><span style="font-size: 13.3333px; line-height: 18.6667px;">        </span>intTabloidLandscapeTemplate = PdfLib.SaveToFile(Pdf_File_Imposed)<br>        <br>        <br>        <font style="color:#0000FF;">Wend</font><br>        <br>    <font style="color:#0000FF;">End</font> <font style="color:#0000FF;">If</font><br><br><font style="color:#0000FF;">End</font> <font style="color:#0000FF;">Sub</font><br></font><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;"><br></font></font></div><div><font style="font-family:Courier New;font-size:10pt;"><font style="color:#0000FF;">Thank you for your time,</font></font></div>]]>
   </description>
   <pubDate>Tue, 24 May 2016 00:45:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/simple-imposition_topic3334_post13277.html#13277</guid>
  </item> 
 </channel>
</rss>