<?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 : Margins:  Need more detail</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 : Margins:  Need more detail]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 20:32:57 +0000</pubDate>
  <lastBuildDate>Fri, 11 Feb 2011 21:18:41 +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=1736</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[Margins:  Need more detail : Hi!To your question &amp;#034;...What...]]></title>
   <link>http://www.quickpdf.org/forum/margins-need-more-detail_topic1736_post7583.html#7583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1736<br /><strong>Posted:</strong> 11 Feb 11 at 9:18PM<br /><br />Hi!<br><br>To your question "...What are the parameter units...":<br>You can get PSUnits (or points), inches and millimeters. It's your choice:<br>http://www.quickpdflibrary.com/help/quickpdf/SetMeasurementUnits.php<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Fri, 11 Feb 2011 21:18:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/margins-need-more-detail_topic1736_post7583.html#7583</guid>
  </item> 
  <item>
   <title><![CDATA[Margins:  Need more detail : I am using QuickPDF Library 7.23...]]></title>
   <link>http://www.quickpdf.org/forum/margins-need-more-detail_topic1736_post7582.html#7582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1429">RedOctober</a><br /><strong>Subject:</strong> 1736<br /><strong>Posted:</strong> 11 Feb 11 at 9:12PM<br /><br />I am using QuickPDF Library 7.23 on Delphi 7, XP.&nbsp; I have a PDF file of a label that I need to print, programatically, without Adobe installed.&nbsp;&nbsp;&nbsp; The label size is 3 inch wide by 1 inch high, and I'm using a Zebra LP 2844 to print the label.&nbsp; I've created the label, with proper margins, in a different program specifically made for the purpose, and saved it as .Pdf.&nbsp; When I open the file in Adobe, and print it, it prints perfectly.&nbsp; However when I use QuickPDF, QuickPDF adds it's own margins (about 0.75 inch left and right, and about quarter inch top, zero bottom.&nbsp; Using Quick PDF with the large margins, there's little room left in the center for the text on the label, so it word wraps.<br><br>I have read your other post about margins, where you tell about<br>http://www.quickpdflibrary.com/help/quickpdf/PageLayout.php and look at the SetPageDimensions and about layers and stuff.&nbsp; This does me no good.&nbsp; What are the parameter units in SetPageDimensions?&nbsp; Inches?&nbsp; Pixels?&nbsp; Points?&nbsp; Also, what functions, exactly, and how, should I use them to get rid of these unwanted margins?<br><br>Here is what I'm doing.. maybe you can tell me what I'm doing wrong:<br><br>Assume:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>...<br>qwk_pdf: TQuickPDF0723; <br>pdf_fnm: String; <br>...<br>&nbsp;&nbsp;&nbsp; qwk_pdf := TQuickPDF0723.Create;<br>&nbsp;&nbsp;&nbsp; if not UnlockedOK(qwk_pdf) then<br>...<br>&nbsp; pdf_fnm := 'C:\_temp\my.pdf';<br>...<br><br><br>&nbsp;&nbsp;&nbsp; qwk_pdf.LoadFromFile(pdf_fnm);<br>&nbsp;&nbsp;&nbsp; qwk_pdf.PrintDocument(Printer.Printers&#091;Printer.PrinterIndex&#093;, 1, 1, qwk_pdf.PrintOptions(0, 0, 'My Label'));<br><br>(Result:&nbsp; Prints the label with a large three quarter inch left and right margin s and a one quarter inch top margin).<br><br>I know for a fact that the large left and right margins are not in the .Pdf file.&nbsp; When I made the file, I set the margins to zero, and in Adobe, the margins are as I had created them.&nbsp; QuickPDF is adding the margins on it's own.<br><br>Can you be more specific in your answer about margins, giving me a code snippet that includes the exact functions, with parameters that&nbsp; I need to to this?&nbsp; Thanks.&nbsp; My project is stuck until I get an answer.<br><br><br><br><br><br>]]>
   </description>
   <pubDate>Fri, 11 Feb 2011 21:12:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/margins-need-more-detail_topic1736_post7582.html#7582</guid>
  </item> 
 </channel>
</rss>