Hi AutoCAD specialists,
I use an LISP file for easy and quick plotting. (AutoCAD 2015)
Because of new sizes in format and other printers, the LISP file needs to be updated.
I added new information to the exsisting LISP, reloaded the file into AutoCAD and tried to start de new print option.
AutoCAD doesn’t start the plot. (See below)
Command: 1PPC550A0
Command:
Command: *Cancel*
Command: *Cancel*
Command:
This is the part of the LISP file, that should be started. (Total lisp file is larger)
;;;A0 1:1 Landscape
(defun c:1PPC550A0 ( / currtab dwgnameonly cdname savepath)
(setq currtab (getvar "ctab"))
(setq dwgnameonly (getvar "dwgname"))
(setq cdname (substr dwgnameonly 1 (- (strlen dwgnameonly) 4)))
(setq Savepath "C:/1PickPlot/DWF-Bestanden/")
(if (= (getvar "tilemode") 1)
(progn
(command "-plot" "y" currtab "ColorWave550-WPD2.pc3" "A0 (841x1819mm)" "Millimeters" "Landscape" "n" "view" "plot_841x1819" "1:1" "0,0" "y" "bijenkorf.ctb" "y" "n" "n" "n" (strcat Savepath cdname) "y" "y")
)
)
(princ)
)
If I change the defun for example into a value that works on a other part within this LISP file, then this part of the LISP file works.
Anybody an idea?
Regards,
Richard
Solved! Go to Solution.
Solved by richardgroen. Go to Solution.
Autocad 2015
Customised menu Toolbar
What is the format to use in a Toolbar macro to print to a network printer?
\\ABCSrvPrint\Engineering-X7855
I have tried two \\, two //, four \\\\, four ////, inverted commas, but none work.