How to convert AutoCAD to PDF and edit PDF page size with command line

This article aims to show you how to use VeryDOC DWG to PDF Converter to convert AutoCAD to PDF and edit PDF page size with command line on Windows platforms.

Here is trial version of VeryDOC DWG to PDF Converter below:

Download VeryDOC DWG to PDF Converter

After you get trial version of this application in your computer, both GUI and CMD are located in your computer. And here are details about using CMD version of this utility to convert AutoCAD files to PDF files and edit PDF page size with commands:

1. Open command prompt window

Command prompt is running environment of commands, so please run  cmd.exe in your computer to open it directly. Then, you can use that utility to accomplish conversion step by step.

2. Convert AutoCAD file to PDF file and set PDF page size

After command prompt is opened, please refer to following example to fulfill process by yourself:

dwg2pdf.exe -w 800 -h 600 -i C:\input1.dwg -o C:\output1.pdf

where parameters:

-i <AutoCAD Files>: specify input AutoCAD filename

-o <PDF Files>: specify output PDF filename

-w <Page Width>: specify page width, unit is point

-h <Page Height>: specify page height, unit is point

 

where directories:

dwg2pdf.exe is to call executive file “dwg2pdf.exe” to run software

C:\input1.dwg is to ensure input file

C:\output1.pdf is to ensure output file

After commands and parameters like above are typed in command prompt, you can directly convert AutoCAD files, e.g., C:\input1.dwg to PDF file C:\output1.pdf with specific page size.

Extension Knowledge

CAD (Computer-Aided Design) files may contain 2D or 3D designs. They are generated by CAD software programs, which can be used to create models or architecture plans. 2D CAD files are often referred to as drawings, while 3D files are often called models, parts, or assemblies. Common CAD file extensions include .dwg, .dxf, .dwf, etc..

Here is the end of this article, which is to convert AutoCAD file to PDF file and edit PDF page size with commands through VeryDOC DWG to PDF Converter. Welcome to read other articles here to know more functions of this software and other software.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!