<?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 : DEVMODE and PrintDocumentToFile</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 : DEVMODE and PrintDocumentToFile]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:29:02 +0000</pubDate>
  <lastBuildDate>Fri, 14 Jun 2013 12:18:46 +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=2670</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[DEVMODE and PrintDocumentToFile :   I believe we have located...]]></title>
   <link>http://www.quickpdf.org/forum/devmode-and-printdocumenttofile_topic2670_post10948.html#10948</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2670<br /><strong>Posted:</strong> 14 Jun 13 at 12:18PM<br /><br /><div><br></div><div>I believe we have located and fixed the issue with PrintDocumentToFile generating a 0 byte file. &nbsp;This will be included in the upcoming 9.15 Beta 3.</div><div><br></div><div>It seems that some printers don't use the DEVMODE structure as expected. &nbsp; It seems some of the label printer drivers don't want to follow rules for DEVMODE. &nbsp;Many drivers ignore the standard DEVMODE structure and store their settings in the extended DEVMODE header.</div><div><br></div><div>The DevMode string is actually an Delphi AnsiString and not a C++ string. &nbsp;In Builder you should be able to pass a AnsiString to it or you may need to use the QPLBuffer functions if that doesn't work.</div><div><br></div><div>It is a string because the is the easiest way to pass a buffer to and from the DLL in Delphi and it is also possible to use these functions with other programming tools such as FoxPro, PowerBuilder, VB6 etc. &nbsp;that don't have support for pointers.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Fri, 14 Jun 2013 12:18:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/devmode-and-printdocumenttofile_topic2670_post10948.html#10948</guid>
  </item> 
  <item>
   <title><![CDATA[DEVMODE and PrintDocumentToFile : Hi All,currently my program is...]]></title>
   <link>http://www.quickpdf.org/forum/devmode-and-printdocumenttofile_topic2670_post10947.html#10947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2405">CBuilderJoe</a><br /><strong>Subject:</strong> 2670<br /><strong>Posted:</strong> 14 Jun 13 at 10:15AM<br /><br />Hi All,<br><br>currently my program is written with C++Builder XE2 and uses the dll 9.12. All is working so far, but it seems as if the PrintDocumentToFile is somewhat broken in 9.14. The output of the same PDF is now 0 bytes instead of 11k. I did not change my code (except the header and dll version dependent things). What happend ??<br><br>The second is that SetPrinterDevModeFromString does not always work correctly. In some special cases - (eg. with Toshiba unversal printer driver V7.71), changing the DEVMODE settings have no effect or the PrintDocumentToFile does uses those settings. <br><br>best regards,<br>Bernd<br><br>Btw: who had that curly idea to pass the DEVMODE as a string ??? <br><br>]]>
   </description>
   <pubDate>Fri, 14 Jun 2013 10:15:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/devmode-and-printdocumenttofile_topic2670_post10947.html#10947</guid>
  </item> 
 </channel>
</rss>