-i <AutoCAD Files>: specify input AutoCAD filename
-o <PDF Files> : specify output PDF filename
-j <Subject> : subject
-t <Title> : title
-a <Author> : author
-k <Keywords> : keywords
-p <Output Flag> : a flag for PDF output
-p 0: overwrite if PDF file exists
-p 1: insert before first page if PDF file exists
-p 2: append to last page if PDF file exists
-p 3: rename filename if PDF file exists
-w <Page Width> : specify page width, unit is point
-h <Page Height> : specify page height, unit is point
-b <Color type> : specify color type for output file
-b 1: output black and white PDF file
-b 2: output gray PDF file
-b 3: output 256 colors PDF file
-r <resolution> : set resolution in generated file
-d <folder for SHX fonts> : set a folder for search SHX fonts
-V : view the generated PDF file automatically
-? : Help
Example:
dwg2pdf -i C:\input.dwg -o C:\output.pdf
dwg2pdf -i C:\input.dxf -o C:\output.pdf
dwg2pdf -i C:\*.dwg -o C:\*.pdf
dwg2pdf -d "C:\shx" -i C:\in.dwg -o C:\out.pdf
dwg2pdf -i C:\*.dxf -o C:\*.pdf
dwg2pdf -d "C:\shx" -i C:\*.dwg -o C:\*.pdf
dwg2pdf -p 2 -i C:\input.dwg -o C:\output.pdf
dwg2pdf -w 800 -h 600 -i C:\input.dwg -o C:\output.pdf
dwg2pdf -w 800 -i C:\input.dwg -o C:\output.pdf
dwg2pdf -b 1 -i C:\input.dwg -o C:\output.pdf
dwg2pdf -b 3 -a "Author" -i C:\input.dwg -o C:\output.pdf