<?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 : Bin/Tray Selection Ignored</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 : Bin/Tray Selection Ignored]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 17 Jun 2026 08:46:18 +0000</pubDate>
  <lastBuildDate>Mon, 19 Oct 2015 19:16:14 +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=3190</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[Bin/Tray Selection Ignored : I have been printing standard...]]></title>
   <link>http://www.quickpdf.org/forum/bin-tray-selection-ignored_topic3190_post12743.html#12743</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2788">vermillion</a><br /><strong>Subject:</strong> 3190<br /><strong>Posted:</strong> 19 Oct 15 at 7:16PM<br /><br />I have been printing standard 8.5 x 11 PDFs successfully using the QuickPDF library, but I am having an issue now with bin/tray selection. My PDF is 11 x 14. I have some 11 x 17 paper loaded in Tray 1 of my printer. The GetPrinterBins method tells me that "Tray 1" is numbered 262. I use&nbsp; SetupCustomPrinter(customPrinter, 9, 262) to assign the bin, but every time it instead pulls from my tray loaded with 8.5 x 11 paper. Am I missing a step?<br><br>Here is the full code block. The value of printerTray is 262.<br><br>string customPrinter = pdfLibrary.NewCustomPrinter(printerName);<br>pdfLibrary.SetupCustomPrinter(customPrinter, 9, printerTray);<br>if (pdfLibrary.PageWidth() &gt; pdfLibrary.PageHeight())<br>{<br>&nbsp;&nbsp;&nbsp; pdfLibrary.SetupCustomPrinter(customPrinter, 11, 2); //Make landscape.<br>}<br>else<br>{<br>&nbsp;&nbsp;&nbsp; pdfLibrary.SetupCustomPrinter(customPrinter, 11, 1); //Make portrait.<br>}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>int options = pdfLibrary.PrintOptions(0, 0, fileName);<br>int printStatus = pdfLibrary.PrintDocument(customPrinter, 1, pdfLibrary.PageCount(), options);<br><br>Thanks,<br><br>vermillion<br><span style="font-size:10px"><br /><br />Edited by vermillion - 19 Oct 15 at 7:20PM</span>]]>
   </description>
   <pubDate>Mon, 19 Oct 2015 19:16:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/bin-tray-selection-ignored_topic3190_post12743.html#12743</guid>
  </item> 
 </channel>
</rss>