Retrieving a Printer device name 
Author Message
 Retrieving a Printer device name


I am using the printer object in VB.
The return values of Printer.DeviceName and Printer.Port are different
in WIndows 95 from Windows NT.

For example:  When I say Printer.DeviceName in Window 95 environment,
it returns the logical name of the printer like "My printer", it does not
the printer path.

But when I say Printer.DeviceName in WIndows NT environment,
it does not return the logical name of printers, but it returns the printer
path like "\\servername\printer"

Anybody knows the reason why it is different?

Is there any alternative way to populate the printer devicename with
consistent result?

I will appreciate if anybody gets back to me at the  earliest.
Thanks in advance.

- Muru

Tue, 07 Mar 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Retrieving unique device id from handheld devices.

2. Printing and Printer Device Name

3. Finding Printer Device name from IE and sending it to Excel

4. How to Get Seleced Device name from the Printer ComDlg Control

5. Getting printer device name from a webbrowser control

6. Common Dialog Printer Device Name

7. Getting printer device name from a webbrowser control

8. Howto get the default printer device name???

9. Common Dialog Printer Device Name

10. Printer Device Name

11. Retrieving Printer Name from Windows Registry in VB

12. How to retrieve selected printer name from commondialog.showprinter


Powered by phpBB® Forum Software