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
贊同來自:
工程建設客服
贊同來自:
工程建設客服
贊同來自: