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"
)
例如:直接生成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"
)
没有找到相关结果
已邀请:
4 个回复
工程建设客服
赞同来自:
honda103
赞同来自:
工程建设客服
赞同来自:
工程建设客服
赞同来自: