Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
If you are using windows 98, it is easier to go to control panel, printers, and make another copy of your printer. You can then set the defaults for each copy to be different. Name one copy HP 8100 Tray 1 and the other HP 8100 Tray 2 ect depending on what your printers are. Then set and save the appropriate printer defaults for each one and then use application.activeprinter to select with code the one you want. If you are using win xp, I don't think you can have 2 copies of the same printer installed anymore. At least I haven't figured out how to do it. Another great advancement backwards from M.S. With Xp if you want to program this to happen automatically, you are stuck with the dreaded sendkeys which is not recomended, but can be made to work. Otherwise you need users who will select the correct tray using the printer Dialog. If you want a sample workbook with some info on changing printer settings using sendkeys, email me and I will send you one that should get you started. HTH Ken |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Default Paper Tray | Excel Discussion (Misc queries) | |||
How do I change the paper tray from an Excel macro / vba module? | Excel Programming | |||
Paper Tray selection Problem, | Excel Discussion (Misc queries) | |||
Printing worksheet with printer tray # 3 | Excel Programming | |||
Use VBA to access Printer Properties (Resolution, Tray etc) | Excel Programming |