Colleagues on the Internet to find a variety of software to achieve the bulk of the CAD map printing, always a lot of problems. So, I think of a more convenient solution, that is, as long as I print one, and then you can use batch processing to achieve.
1. Enter the plot command (or shortcut key ctrl+p) in CAD to pop up the Print Setup dialog, now there are three items to change: Printer name, print range (select "Window", then manually select the frame), graphic orientation (portrait, default is Landscape), as long as I get the settings for these three parameters , the other parameters are printed by default, how can the parameters of the dialog box be obtained and implemented by code?
2. I opened the help in the lower right corner of the print dialog and saw a description of the plot command line, so I entered "-plot" (instead of Plot) on the CAD command line and was able to print through the command line input parameter instead of selecting the parameter in the dialog box.
3. Obviously, we can get a print function by invoking the system command.
(Command "-plot"
???? "Yes";; Whether you need to set up print details, of course
???? Model
???? "Canon iR2520 ufrii LT"
???? "A4"
???? mm
???? Longitudinal
???? No
???? Range
???? Full
???? "Center print"
???? No
???? "."
???? Is
???? Display
???? No
???? Is
???? Is
???? )
For less-clear parameters, you can enter "? "To view
4. First in the CAD test once, the result helps the document to write the Lisp code, then uses the batch processing tool to realize the batch printing. (This versatile batch processing tool will be shared with you later!) )
Batch printing in CAD