Link to home
Start Free TrialLog in
Avatar of askolits
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.

User generated image
Avatar of Barry Cunney
Barry Cunney
Flag of Ireland image

ASKER CERTIFIED SOLUTION
Avatar of Barry Cunney
Barry Cunney
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of askolits
askolits

ASKER

That should work for me. I really apreciate it!