Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I came across this Word code that also works in Excel. However, it doesn't
give the complete name of the printer. http://word.mvps.org/FAQs/MacrosVBA/...lePrinters.htm Here is the list it generated on my system: Quicken PDF Printer Microsoft XPS Document Writer Microsoft Office Document Image Writer HP Photosmart 2600 series Generic / Text Only DYMO LabelWriter 330 Turbo DELL3110cn-417FC9-PS DELL3110cn-417FC9 Dell Laser Printer 1700n PS3 Adobe PDF The problem is that the name needed to reference the printer called "Adobe PDF" is actually "Adobe PDF on Ne04". The "Dell Laser Printer 1700n PS3" is "Dell Laser Printer 1700n PS3 on Ne07", etc. So windows always adds the "on NeXX" (where XX is a number generated somehow by windows) to each name. Would anyone like to modify the code to grap the full printer name? It would also be appreviated if someone could also include how to always get the printer name that starts with "Adobe PDF" that would be greatly appreciated as well. Thanks, Ken |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
return a list of names, from a large list of repeated names. | Excel Worksheet Functions | |||
Printer Names on a Network | Excel Programming | |||
Available Printer names to be placed in a range on a sheet and Force selection based on part of Printer name | Excel Programming | |||
create a random list of names from a list of names in EXCEL | Excel Worksheet Functions | |||
find names on list 1 in list 2. list 1 4000 names list 2 400 name | Excel Worksheet Functions |