Paper Tray Bin Selection macro

J

Jean Pereira

I need to get the number assigned to paper trays on laser printers and
copiers to add this to a macro for bin selection. I believe there may be a
macro to find this out but not sure what this is.

Have tried choosing File, Page Setup whilst running a macro and whilst this
gives me the bin number on the copiers we use, when I put this code in my
current macro, it doesn't select correct bin - just picks from the default
tray.

On our HP laser printers, when I select File, Page Setup, I just get Upper
or Lower Tray in the code. I actually do have the numbers for the printers
from our consultant who wrote the macro, but as we will probably be getting
new models, I would like to know where/how to get the actual bin numbers.

Thanks in advance.
 
J

Jonathan West

Jean Pereira said:
I need to get the number assigned to paper trays on laser printers and
copiers to add this to a macro for bin selection. I believe there may be
a
macro to find this out but not sure what this is.

Have tried choosing File, Page Setup whilst running a macro and whilst
this
gives me the bin number on the copiers we use, when I put this code in my
current macro, it doesn't select correct bin - just picks from the default
tray.

On our HP laser printers, when I select File, Page Setup, I just get Upper
or Lower Tray in the code. I actually do have the numbers for the
printers
from our consultant who wrote the macro, but as we will probably be
getting
new models, I would like to know where/how to get the actual bin numbers.

Thanks in advance.

Controlling the Printer from Word VBA
Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top