.NET

Reply
Valued Contributor
65 Posts
1 Kudo
Registered: ‎07-23-2008
Post 1 of 2

Printer configuration search path

174 Views, 1 Replies
11-28-2012 01:34 PM

Hello,

 

I need to set the Printer Configuration Search Path and the Plot Style Table Search Path. Currently I am using COM but the issue I have is that I need to run the same application on 2 different machines, one has only Autocad 2010 (xp-32bit), the other has both Autocad 2010 and Autocad 2012(win7-64bit) and I've got some difficulty to have it running.

 

Can I set those paths without using COM?

 

Thanks for your help.

 

e.g.

*Expert Elite*
9,793 Posts
1,210 Kudos
Registered: ‎06-29-2007
Post 2 of 2

Re: Printer configuration search path

11-30-2012 02:46 AM in reply to: e.g.

Hi,

 

you may read the values from the registry (within the active profile).

The other option would be to use COM-access with the reflection-methods as Hallex showed it >>>here<<<, that makes it possible to use COM without need to reference the ActiveX components/interfaces (activation of late-binding is then necessary I think)

 

HTH, - alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post