.NET

Reply
Valued Contributor
e.g.
Posts: 65
Registered: ‎07-23-2008
Message 1 of 2 (167 Views)

Printer configuration search path

167 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*
Alfred.NESWADBA
Posts: 9,099
Registered: ‎06-29-2007
Message 2 of 2 (142 Views)

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
-------------------------------------------------------------------------
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.