CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 4060 

CAD tip CAD tip # 10461:

Question CAD 
 %  platform  category 
Q - question

Unattended DWG plotting and PDF publishing without AutoCAD.

A - answer You don't necessarily need AutoCAD to plot DWG drawings. No, I don't talk about LT or even some AutoCAD clones (which do not fully understand the genuine DWG file format). You can use the free viewer Autodesk DWG TrueView to view, convert, and plot or publish your DWG files just like the full AutoCAD.

You can download the latest version of DWG TrueView from our Download section. The plot or PDF-/DWF-publish process can be invoked interactively, from the application ribbon. But you can also trick TrueView to run this process unattended, automatically from the Windows (DOS) command line, or even from Windows batch scripts.

Just use the following syntax to run your version of DWG TrueView (dwgviewr.exe) - it opens the specified drawing, runs the specified commands (from script) and starts the application faster (nologo):

"C:\Program Files\Autodesk\DWG TrueView 2015 - English\dwgviewr.exe" "c:\drawings\ sample.dwg" /b "c:\scripts\plotPDF.scr" /nologo

Beside your DWG file you will need a pre-prepared .SCR (script) text file which invokes the PLOT command and answers its prompts. E.g. for PDF plotting you would use something like this (save from Notepad as plotPDF.scr):

;Sample plot script
DWG To PDF.pc3
ISO A4 (297.00 x 210.00 MM)

_QUIT _Yes

Watch the standard AutoCAD -PLOT command for the individual prompts and adjust for your device, sizes and plot styles.

You can also use the above mentioned commandline runstring to preset the default DWG "Print" behaviour (Windows rt-click context menus) through the Registry. E.g. set the "Default" key value for:


100% *  CAD 
19.8.2015    4984x   FAQ  
Comments   Tell a friend
applies to: DWG ·

See also:
Tip 10182:How to create a PDF file from DWG without AutoCAD?
Tip 9884:Wrong color on monochrome DWG prints from AutoCAD Mechanical.
Tip 9757:How to remove the EDU stamp "Created in an educational version" from a DWG drawing file?
Tip 8774:Silent installation of Windows applications - MSIEXEC parameters
Tip 8499:Batch change of page setups and purging in DWG files.

Back   All CAD Tips All CAD tips&tricks

What is the difference between GROUP and HOST_GROUP in a FlexNet option file? « | » How to change the number of parallel treads on spiral stair?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.