Want to get Selected Printer Name and Network Address

Summary

Id: 1419.1
Type: Issue Issue
Current Status: Resolved

Detail

11 Jun 2003 Open James Maeding

I am using your CMDLGD6.dll to create a common dialog object in Visual Lisp which is an AutoCad programming language. Turns out it is not possible to make api calls from vlisp.

What I need to do is get the name of the printer selected from the showprinter method. I also need the network address to use in a print statement. These need to be a properties so I can grab them from the object after the dialog is closed.

Is this already part of the object somehow? I couldnt figure out even how to do this in VB given your objects properties. The windows common dialog had an hDC wich requires an API call to convert to a device address. No such property in yours. I must be missing something here...

22 Jun 2003 Resolved Steve McMahon

Updated the DLL to add PrinterName, which returns the printer’s device name. This includes the network address if the printer is Remote.