Quantcast
Viewing all articles
Browse latest Browse all 9826

AutoCAD LT2013 Plotting from a Macro

Hi,

I have a large number of drawings with template details of a printer that is now longer available (we moved offices). I therefore want to write a macro that instead of trying to use the template detailed printer and then failing to the None printer instead goes straight to the new printer (Lanier MPC2500). Once I get this basic task completed I'll then add additional functionality.

 

The macro at present is:-

 

^C^C-plot;y;; \\mwperdc03\LANIER MPC2500;;A3 (297 x 420 mm);m;l;n;l;1:1;0.00,0.00;y;monochrome.ctb;y;n;n;n;n;y;

 

 

I also know where it's failing (the first \ in the path) as this is the macro escape character to enable the user to add information. If I then manually enter (or paste) the link \\mwperdc03\LANIER MPC2500 into the command line and press enter the rest of the macro executes and I get a print output. I've attached a screenshot of the command line for info.

 

I've read that instead of using the \ character in the path I should use the /. I've tried this but it doesn't seem to work.

 

Is there another method of embedding paths into Autocad LT so this will operate or a better workaround?

 

I'd thought of using DIESEL but I can't see any suitable commands in the command library.

 

>>>>>Why did they choose a \ as and escape character?????

 

All advise greatly appreciated!


Viewing all articles
Browse latest Browse all 9826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>