PDF打印

能否把要打印成的pdf文件名用在autolisp里用-plot写入而不弹出提示输入pdf文件名的对话框?

例如:直接生成c:\\temp\\test.pdf
(command "-plot" "y" ;Detailed plot configuration
"Model" ;Model or Layout
"PDF Complete" ;output device name
"A3 (297 x 420 mm)" ;Paper Size
"m" ;Paper Units
"L" ;Landscape or Portrait
"NO" ;Plot Upside Down
"W" ;Plot Area[Display/Extents/Layout/View/Window]
(getpoint) ;Lower left corner of window
(getpoint) ;Upper right corner of window
"FIT" ;Plot scale (Plotted Millimeters=Drawing Units) or [Fit]
"C" ;Plot offset (x,y) or [Center]
"YES" ;Plot with plot styles
"monochrome.ctb" ;Plot style table name
"YES" ;Plot with lineweights
"" ;Enter shade plot setting [As displayed/Wireframe/Hidden/Visualstyle/Rendered]
"NO" ;Write the plot to a file
"YES" ;Save changes to page setup
"YES" ;Proceed with plot
"C:\\temp\\test.pdf"
)
已邀请:

工程建设客服

赞同来自:

您好,您有特殊需要功能可以用lisp开发完成。我们提供了二次开发的接口,lisp可以直接加载浩辰cad里面。感谢您关注浩辰软件。

honda103

赞同来自:

答非所问

工程建设客服

赞同来自:

您好,您的问题我们已经做进一步研究,目前正在提交高级研发工程师查看,我们会尽快把准确结果反馈给您。

工程建设客服

赞同来自:

您好,您的问题经过我们研发工程师研究后得出了结论,针对该问题,首先要确认这些参数在命令行执行都能正常,其次建议将您给我们展示的编写语言的最后四句做如下更改和调整,将其结果和顺序改为”"YES" ;Write the plot to a file C:\\temp\\test.pdf "YES" ;Save changes to page setup "YES" ;Proceed with plot“,这样可避免弹出对话框。建议您尝试下此操作,如还有问题,可通过官网联系方式联系我们进一步解决。

该问题目前已经被锁定, 无法添加新回复