<?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 : Help with batch printing</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 : I need help - I can help : Help with batch printing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 04:58:25 +0000</pubDate>
  <lastBuildDate>Thu, 12 Feb 2015 22:03:23 +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=756</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[Help with batch printing : Hi mLipok,i&amp;#039;ve removed the...]]></title>
   <link>http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post12316.html#12316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 756<br /><strong>Posted:</strong> 12 Feb 15 at 10:03PM<br /><br />Hi mLipok,<div><br></div><div>i've removed the message you've answered to.</div><div>Looked like spam ;-)</div><div><br></div><div>Cheers, Ingo</div>]]>
   </description>
   <pubDate>Thu, 12 Feb 2015 22:03:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post12316.html#12316</guid>
  </item> 
  <item>
   <title><![CDATA[Help with batch printing : I use QuickPDF libraryMy clients...]]></title>
   <link>http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post12312.html#12312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 756<br /><strong>Posted:</strong> 12 Feb 15 at 5:02PM<br /><br />I use QuickPDF library<div>My clients (all together) print more then 5000 pdfs each day.</div><div>And they are very happy.<br><br></div><div>Why you revive this so old thread.</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 12 Feb 2015 17:02:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post12312.html#12312</guid>
  </item> 
  <item>
   <title><![CDATA[Help with batch printing : Hi there, as much as I know it...]]></title>
   <link>http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post3663.html#3663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=324">marian_pascalau</a><br /><strong>Subject:</strong> 756<br /><strong>Posted:</strong> 05 Jul 07 at 1:56PM<br /><br />Hi there,<DIV>as much as I know it is ok this way (program I have not checked).</DIV><DIV>&nbsp;</DIV><DIV>Best regards, Marian</DIV>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 13:56:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post3663.html#3663</guid>
  </item> 
  <item>
   <title><![CDATA[Help with batch printing : Hi all  I have written the following...]]></title>
   <link>http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post3662.html#3662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=664">mac32bit</a><br /><strong>Subject:</strong> 756<br /><strong>Posted:</strong> 05 Jul 07 at 11:13AM<br /><br /><DIV>Hi all</DIV><DIV>&nbsp;</DIV><DIV>I have written the following code to batch print all PDFs in a folder.</DIV><DIV>&nbsp;</DIV><DIV>Do I have to&nbsp;wait somehow for QP.PrintDocument to finish before printing the next document?</DIV><DIV>&nbsp;</DIV><DIV>Many thanks in advance.</DIV><DIV>&nbsp;</DIV><DIV>Mac</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>procedure TForm1.BitBtn2Click(Sender: TObject);<BR>var<BR>Done:integer;<BR>SearchRec:TSearchRec;<BR>begin</DIV><P>&nbsp;&nbsp;&nbsp; try<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Done := Findfirst(IncludeTrailingPathDelimiter(BatchEditPath.Text)&nbsp; + '*.pdf', faAnyFile, SearchRec);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while Done = 0 do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((SearchRec.Attr and faDirectory) = 0) and<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SearchRec.Name &lt;&gt; '.') and<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SearchRec.Name &lt;&gt; '..') then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PrintPdf(IncludeTrailingPathDelimiter(BatchEditPath.Text) + SearchRec.Name);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Done := FindNext(SearchRec);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; finally<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FindClose(SearchRec);<BR>&nbsp;&nbsp;&nbsp; end;</P><P>end;</P><P><BR>procedure TForm1.PrintPdf(MyFileName: string);<BR>var<BR>QP : TiSEDQuickPDF;<BR>MyPageCount, MyOptions: integer;<BR>MyPrinter :string;</P><P>begin</P><P>&nbsp; QP := TiSEDQuickPDF.Create;<BR>&nbsp; try</P><P>&nbsp;&nbsp;&nbsp; if QP.UnlockKey('EvaluationKeyHere') &lt;&gt; 1 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise Exception.Create('Invalid license key');</P><P>&nbsp;&nbsp;&nbsp; if QP.LoadFromFile(MyFileName) &lt;&gt; 1 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise Exception.Create('Cannot load PDF file: ' + MyFileName);</P><P>&nbsp;&nbsp;&nbsp; If QP.Encrypted &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Unencrypt;</P><P>&nbsp;&nbsp;&nbsp; MyPageCount := QP.PageCount;</P><P>&nbsp;&nbsp;&nbsp; MyPrinter := QP.NewCustomPrinter(PrintersComboBox.Text);&nbsp;</P><P>&nbsp;&nbsp;&nbsp; // 2=shrink large pages, 1=rotate to fit and centre on page&nbsp;<BR>&nbsp;&nbsp;&nbsp; MyOptions := QP.PrintOptions(2, 1, MyFileName); </P><P>&nbsp;&nbsp;&nbsp; case PaperGroup.ItemIndex of<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0: QP.SetupCustomPrinter(MyPrinter,1,DMPAPER_A3);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1: QP.SetupCustomPrinter(MyPrinter,1,DMPAPER_A4);<BR>&nbsp;&nbsp;&nbsp; end;</P><P>&nbsp;&nbsp;&nbsp; if QP.PrintDocument(MyPrinter, 1, MyPageCount, MyOptions) = 0 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise Exception.Create('Cannot print file: ' + MyFileName);</P><P>&nbsp; finally<BR>&nbsp;&nbsp;&nbsp; QP.Free;<BR>&nbsp; end;</P><P>end;</P>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 11:13:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/help-with-batch-printing_topic756_post3662.html#3662</guid>
  </item> 
 </channel>
</rss>