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.
Jonathan West - 09 Feb 2006 18:06 GMT
>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
[quoted text clipped - 15 lines]
>
> 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

Signature
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