Lisp to change Plotter

Lisp to change Plotter

kieran.leadbetter
Advocate Advocate
505 Views
1 Reply
Message 1 of 2

Lisp to change Plotter

kieran.leadbetter
Advocate
Advocate

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

 

0 Likes
506 Views
1 Reply
Reply (1)
Message 2 of 2

paullimapa
Mentor
Mentor

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
0 Likes