askolits
asked on
How do I Retrieve the 'Currently Selected Default' Paperbin description in VBA
Using the Application.Printers collection, I can get the Printers Bin number.
I also found a way to get the bin descriptions using: "Declare Function DeviceCapabilities Lib "winspool.drv"......"
But I need to get the currently selected printers default bin "text" (or description).
For example "Automatically Select","Manual Tray 1","Printer Autoselect" etc... Depending on what is selected.
In the image below, I want to get "Tray 2", since it's been selected.
I also found a way to get the bin descriptions using: "Declare Function DeviceCapabilities Lib "winspool.drv"......"
But I need to get the currently selected printers default bin "text" (or description).
For example "Automatically Select","Manual Tray 1","Printer Autoselect" etc... Depending on what is selected.
In the image below, I want to get "Tray 2", since it's been selected.
https://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That should work for me. I really apreciate it!