Question : How can I retrieve a list of printer trays for a specific printer?

Hi;

I need to simulate the Windows Print Dialog that most are familiar with.  I need to let the user choose from a list of avalable printers  (this part I can do).  Then when they choose a printer from the list, I want them also to choose a specific paper tray.  How do I get a list of paper trays for a specific printer?  I'm using vb.net.  Thanks

Answer : How can I retrieve a list of printer trays for a specific printer?

I have no direct knowledge to add regarding this, but if it were me I would see if Unspecified shows up for all printers as a separator for the list you want and the (Paper) selection.  I suspect that when you select Automatically Select that the printer takes the paper type as the source.  (guessing that many printers allow you to specify which paper type is in a specific tray)  I also noticed in your Screen shots that before unspecified it appears that there is some padding infront of the names and after there is no padding.
Random Solutions  
 
programming4us programming4us