ronjonp 发表于 2014-9-11 09:51:47


Yes, but the number of copies still 1 and I'd like to set for 2 copies.
Regards

From my quick test, the number of copies is not saved to the layout. Maybe another route ... print it twice?

Fabricio28 发表于 2014-9-11 09:58:36


Yes, but the number of copies still 1 and I'd like to set for 2 copies.
Regards

From my quick test, the number of copies is not saved to the layout. Maybe another route ... print it twice?

Yes, Ron. Save my previous plot and print it twice.

ronjonp 发表于 2014-9-11 09:58:55

Give this a try .. does not set the number of plots but should do the rest.
(vlax-for l (vla-get-layouts (vla-get-activedocument (vlax-get-acad-object)))
(if (> (vla-get-taborder l) 0)
    (progn (vla-put-configname l "HP Color LaserJet 500")
         (vla-put-canonicalmedianame l "A4")
         (vla-put-centerplot l :vlax-true)
         (vla-put-standardscale l acvpscaletofit)
    )
)
)

Fabricio28 发表于 2014-9-11 10:05:21

ron,
It's to be load just like a lisp?
give me a error Automation Error. Invalid input
I installed a new plotter and the autocad isn't recognizing.
页: 1 [2]
查看完整版本: Set plot configuration