<?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 : PrintDocumentToFile - file will not release</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 : PrintDocumentToFile - file will not release]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:29:58 +0000</pubDate>
  <lastBuildDate>Thu, 28 Nov 2013 14:07:58 +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=2790</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[PrintDocumentToFile - file will not release : Hi Guys, it works!After a upgrade...]]></title>
   <link>http://www.quickpdf.org/forum/printdocumenttofile-file-will-not-release_topic2790_post11361.html#11361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2109">Marvin</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 28 Nov 13 at 2:07PM<br /><br />Hi Guys, it works!<br />After a upgrade from 9:14 to 9:16 version of the library it works again.<br />Anyone who can read, have a clear advantage <img src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0" align="middle" /> <br />Thanks all.]]>
   </description>
   <pubDate>Thu, 28 Nov 2013 14:07:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/printdocumenttofile-file-will-not-release_topic2790_post11361.html#11361</guid>
  </item> 
  <item>
   <title><![CDATA[PrintDocumentToFile - file will not release : I am helpless :) One function...]]></title>
   <link>http://www.quickpdf.org/forum/printdocumenttofile-file-will-not-release_topic2790_post11360.html#11360</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2109">Marvin</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 28 Nov 13 at 9:01AM<br /><br />I am helpless :) One function of my Application is to convert PDF Files to Postscript by using the PrintDocumentToFile function.<br />So far so good, but the file will not write to the desired destination, while my application is running.<br />It is shown in the windows spooler and will release if my application is stopped.<br /><br />I call the printer class, that uses the QuickPdf Library, within a using-Block and in addition i use a Garbage Collect after that.<br /><br />So i can't explain it to me, why the file will be released before the application stopped.<br />May be there is  a closure missing, like CloseDoc to release the Document?<br /><br />Here is a short version of my code:<br />private void PrintToFile()<br />{<br />&nbsp;&nbsp;&nbsp;var cp = objPDF.NewCustomPrinter(_PrinterName);<br />&nbsp;&nbsp;&nbsp;objPDF.SetupCustomPrinter(cp, 5, 1); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Set Quality<br /><br />&nbsp;&nbsp;&nbsp;var iPrintOptions = objPDF.PrintOptions(_PageScaling, 1, Path.GetFileName(_PrintFileName));<br /><br />&nbsp;&nbsp;&nbsp;objPDF.PrintDocumentToFile(cp, _StartPage, _EndPage, iPrintOptions, _OutputFile);<br />}<br /><br />Does anyone have any idea why this is so?<br /><br />Thanks Lutz.]]>
   </description>
   <pubDate>Thu, 28 Nov 2013 09:01:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/printdocumenttofile-file-will-not-release_topic2790_post11360.html#11360</guid>
  </item> 
 </channel>
</rss>