Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp to change Plotter

1 REPLY 1
Reply
Message 1 of 2
kieran.leadbetter
153 Views, 1 Reply

Lisp to change Plotter

Hello, I was wondering if anyone would know of a lisp line to change the plotter type/name located under Printer/Plotter within the Layout sheet, not the every layout sheet, only the one I would be in at the time.

I need it to allow me to add a line to my plotting lisps,


LISP 1: (WORKS)

(defun C:PDNORMAL ()
(command "-PLOT" "NO" "" "" "DWG To PDF.pc3" "" "N" "Y")
(princ) ;clean exit
)

LISP 2: (DOES NOT WORK)
(defun C:PDNORMAL ()
(command "-PLOT" "NO" "" "" "DWG To PDF Flatten.pc3" "" "N" "Y")
(princ) ;clean exit
)

Any help would be apprecients,
Kind Regards,

kieranleadbetter_0-1692627284809.png

kieranleadbetter_1-1692627365503.png

 

1 REPLY 1
Message 2 of 2

the flatten.lsp works for me.

here's the pc3 I'm using which is a copy of DWG to PDF.pc3 but with no layers included

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report