XPS to PDF and Image Converter

How to convert Russian XPS to PDF by command line?

   Some days before, customers complained that there are some errors when converting Russian XPS to PDF by VeryDOC XPS to PDF Converter. After checking there are some wrong operations during the using. In order to eliminate hardship for further users, we put an article here, hoping it will be helpful.

First, download VeryDOC XPS to PDF Converter

  • This software is command line version. In order to facilitate uploading or downloading, we have compressed it to zip file. So after downloading, there will be an zip file in the downloaded folder.
  • Once downloading finishes, please extract it to some folder. Then you can check the elements in it.
  • Please check the readme.txt file carefully then you can get a clear outline about how to use this software.

Second, convert XSP to PDF

  • Please run the conversion following examples and usage.
    Usage: xps2pdf [options] <pdf-file> [<out-pdf>]
  • No matter what language is in the XPS file, simply do the conversion following the usage.

Examples:

  • When converting single XPS file to PDF, please use the following command line.
    xps2pdf.exe C:\in.xps C:\out.pdf
  • When do batch conversion, please use the following command line as this software supports wild character.
    xps2pdf.exe C:\in\*.xps C:\out\*.pdf
  • When you need to add basic information for the output PDF file, please use the following command line.
    xps2pdf.exe -producer "Test Producer" -creator "Test Creator" -subject "Test Subject" C:\in.xps C:\out.pdf
  • When needing to optimize PDF file for fast web view, please use the following command line.
    xps2pdf.exe -linearize C:\in.xps C:\out.pdf
  • When you need to set password for protecting PDF, please use the following command line.
  • xps2pdf.exe -ownerpwd 123 -keylen 2 -permission 128 C:\in.xps C:\out.pdf
    And there are also other parameters related to this topic:
    -openpwd <string>   : Set 'open password' to PDF file
      -ownerpwd <string>  : Set 'owner password' to PDF file
      -keylen <int>       : Key length (40 or 128 bit)
            -keylen 0:  40 bit RC4 encryption (Acrobat 3 or higher)
            -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
            -keylen 2: 128 bit AES encryption (Acrobat 7 or higher)
      -permission <int>   : Restrictions
            -permission 0  : Deny anything
            -permission 1  : Allowed print the document
            -permission 2  : Allowed modify the content of the document
            -permission 4  : Allowed copy text and graphics from the document
            -permission 8  : Allowed add or modify annotations
            -permission 16 : Allowed fill in interactive form fields
            -permission 32 : Allowed extract text and graphics from the document
            -permission 64 : Allowed assemble the document
            -permission 128: Allowed print the document with high resolution

    After mastering basic knowledge of this software, now let us run the conversion and check the conversion effect from the following snapshot.
    input XPS and output PDF

    By this method, you can convert not only Russian XSP to PDF but also  XPS in any languages to PDF. During the using, if you have any question, please contact us as soon as possible.

DWG to PDF Converter

How to monitor folders when converting DWG to PDF?

e For facilitating converting DWG to PDF automatically, VeryDOC DWG to PDF Converter was designed with a feature “monitor folders”, which means that once you add files to specified folders, they will be converted to PDF files at once. By this function, the working efficiency will be enhanced greatly. In the following part, I will show you how to launch this function.

First, download and install.

  • Download AutoCAD DWG and DXF To PDF Converter to your computer and install it by double clicking the exe file.
  • When installation finishes, there will be an icon on the desktop. Simply click the icon then can you can launch this software.
  • This software either can be used as GUI version software or command line software.

Note: even if we stated that the command line and GUI version have nearly the same function. However, they are not totally same. Say the function “monitor folders” only can be fulfilled by the GUI version. So if you need the monitor folders function by command line, it is not available.

Second, set PDF limitation

  • It is not hard to find a button named Setting, please click that button then you will see the following dialogue box. Here you can choose the save mode, set basic information and set password for the output PDF file.

setting menu option

  • Once you set here, the conversion will be done according to the setting here automatically.
  • If you have finished setting part, please click button OK to back to the main interface.

Third, set monitored folders.

  • Please open software interface and click option File then go to Monitor A Special Directory.

software interface of DWG to PDF Converter

  • When you click that option, then you will see the following dialogue box. Click Add button to add the folders which you need to be monitored. You can add the monitored folders as many as you need. Meanwhile, please specify the output file path.

Monitor setting

  • When you need to change the added folder, please click button Modify to change it. Or you can delete it and add a new one. If you have finished setting folders, please click button OK to back to the main interface.
  • If you have set this function, you do not need to add DWG file to software interface.
  • And once you finishes this step, the output PDF will be shown in the specified folder in the same time.

Note: please make sure that do the PDF limitation setting first, or else the conversion from DWG to PDF will be done without setting options.

In the future, once you add DWG files to the monitored folders, they will be converted to PDF files at once. And you do not need to do the setting time and time again. However, when you need to do the conversion, please launch this software first, or else the conversion can not be done.

This is the end of converting DWG to PDF through monitoring folders. During the using, if you have any question, please contact us as soon as possible.

DWG to PDF Converter

VeryDOC DWG to PDF Converter-convert all version DWG to PDF in batch

   Recently VeryDOC has updated software DWG to PDF Converter, which now can be used to convert all the DWG to PDF in batch without DWG file version limitation. In the older version, when converting newest version DWG file, there will be no output. Now this bug has been fixed.

What kind of DWG file does this software support?

 It is know to all that DWG is a binary file format used for storing two and three dimensional design data and metadata. It is the native format for several CAD packages including AutoCAD, IntelliCAD  and Caddie. In addition, DWG is supported non-natively by many other CAD applications. There are current versions in the market: DWG R1.0, DWG R1.2,DWG R1.40, DWG R2.05, DWG R2.10, DWG R2.21,DWG R2.22, DWG R2.50, DWG R2.60, DWG R9, DWG R10, DWG R11/12, DWG R13, DWG R14, DWG 2000, DWG 2004, DWG 2007, DWG 2010, DWG 2013. No matter which version are you using, those DWG file can be converted to PDF by this software.

How to Use

Download DWG to PDF Converter

  • This software either can be used as GUI version software or command line software.
  • But when downloading, it is an exe file. You need to install it by double clicking the exe file and follow installation message.
  • Once installation finishes, there will be an icon on the desktop. Simply double click it then you can launch this software.

Run Conversion from DWG to PDF by Software Interface.

  • The following snapshot is from the software interface. You can add files by dragging from its containing folder to software interface. Or click button Add Files. Once you add it to software interface, the detail information will be shown on the software interface.

software interface of DWG to PDF Converter

  • If you need set PDF limitation, please click Setting button.
  • After setting, click button Make PDF to run the conversion.

Run Conversion from DWG to PDF by Command Line

  • As this software can be used as command line software, first we need to find the executable file.
  • Please go to the installation folder and find file named dwg2pdf.
  • As there is no command line user manual or help document, please check parameters in the MS DOS Windows by inputting the full path of this software and press enter.

Usage: dwg2pdf [options] <-i AutoCAD Files> [-o Output]
Example:

  • When you need to converting simply dwg file to PDF, please use the following command line.
        dwg2pdf -i C:\input.dwg -o C:\output.pdf
        dwg2pdf -i C:\input.dxf -o C:\output.pdf
  • When you need to do batch conversion through wild characters, please use the following command line.
        dwg2pdf -i C:\*.dwg -o C:\*.pdf
         dwg2pdf -i C:\*.dxf -o C:\*.pdf
        dwg2pdf -d "C:\shx" -i C:\*.dwg -o C:\*.pdf

So own this software, you can do the conversion from DWG to PDF in batch by two methods. Now let us check the conversion effect by comparing the input dwg file and output PDF.  During the using, if you have any question, please contact us as soon as possible.

input DWG

Output PDF

HTML to Image Converter

VeryDOC HTML to Image Converter-convert html to image by command line

     VeryDOC HTML to Image Converter  is a modern, unique, simple, powerful, fast and flexible tool to create complex and stylish image document from all kinds of HTML file in your applications with just a few simply command line. This converter can help you get image any HTML document or URL that a modern browser can display, preserving all layout and format in the website executing all the JavaScript scripts found in the HTML document.

System Requirement : Windows 2000 / XP / Server 2003 / Vista / Server 2008 / 7 and Later systems, both 32bit and 64bit systems.

feature Feature List

  • It can generate thumbnail previews of web pages.
  • The output image is like the whole snapshot of the website.
  • It can do the conversion from MHTML to image  and HTML to image in batch.
  • Output image formats:JPG, GIF, PNG, BMP, TIF, EMF, WMF image formats.
  • Option to compress image with good quality.
  • Supports timeout seconds of web page to load.
  •   Supports delayed snapshots of web page.
  • During the conversion, it allows you to hind the DOS Windows.
  • Supports multi-threaded mode, able to capture multiple websites at a time.
  • Option to switches to disable java, activex, scripts on the web page.

how to use How to Use

  • For converting HTML to Image, downloading this converter is requisite step.
  • As this software is command line version, once downloading finishes,  please extract the downloaded zip file.
  • Open extracted folder and check elements in it.
  • Please readme.txt carefully, as it will be helpful to build positive relation with this software.
  • Run the conversion from HTML to Image in compliance with usage and following examples.

Note: not all the VeryDOC software has familiar command line usage, so please read the website instruction and do the conversion according to usage, or else the conversion will fail.

example Examples:

  • Convert HTML of URL address to png. And the website file extension could be HTML, HTM, MHT.
      html2image -url=https://www.verydoc.com/ -out=C:\verydoc.png
      html2image -url=C:\test.htm -out=C:\test.png
      html2image -url=C:\test.mht -out=C:\test.png
  • Convert HTML to Image and specify image quality and size.
      html2image -url=C:\test.mht -out=C:\test.jpg -quality=70
      html2image -url=https://www.verydoc.com -out=C:\out.png -width=100 -height=200 -dpi=200
  • Please use parameter -$ to register this software.
      html2image -$=XXXXXXXXXXXXXX
      html2image -$=XXXXXXXXXXXXXX -url=https://www.verydoc.com -out=C:\test.png

Parameter List:

   -url=<url>:       The URL to capture (http:...|file:...|...)     
  -out=<path>:     The target file (.png|bmp|jpeg|emf|...)        
  -width=<int>:     Width of the output image (default: auto)
  -height=<int>:    Height of the output image (default: auto)
  -xdpi=<int>:       X resolution of the output image (default: auto)
  -ydpi=<int>:       Y resolution of the output image (default: auto)
  -dpi=<int>:         Both X and Y resolution of the output image (default: auto)
  -bwidth=<int>:     Browser width (default: 800)
  -bheight=<int>:   Browser height (default: automatically determined)
  -quality=<int>:    JPEG quality (compression) percent (default: 90)
  -timeout=<ms>:   Timeout in milliseconds (default: 120000, 0 is no timeout)
  -delay=<ms>:       Wait after loading (e.g. for Flash; default: 0)
  -highquality:         Create high quality image files
  -silent:  Whether to surpress some dialogs               
  -help:    Print this help page and exit                  
  -$ :        Input your license key to remove demo watermark

During the converting from HTML to Image, please contact us as soon as possible.

DWG to Vector Converter

DWG to Flash Converter-convert DWG to swf by command line

The best way to share and publish AutoCAD DWG files on the web is that converting DWG to flash and if you need to develop website together with other applications like php, command line version or COM version may be good choice for you. VeryDOC DWG to Vector Converter  has the ability to undertake this task.

  This converter can be used to convert from AutoCAD DWG and DXF files to other scalable vector graphics formats, such as PDF, EMF, WMF, SVG, Postscript (PS), EPS, SWF (Flash), XPS, HPGL, PCL etc. Converting DWG to flash is just a slice function of it. And by this software, the output swf files are configurable as it allows you to convert DWG file from each view. In the following part, I will show you how to convert DWG to flash by this command line application.

Step 1. Download

  • As it is command line software, after downloading, you do not need to install it. But it has been compressed to zip file format, you need to unzip it.
  • Once the extraction of zip file finishes, folder named verydoc_dwg2vector_cmd will show up.
  • Please open this folder and check elements in it.
  • If you are in the preparation to evaluate and have not made up mind to pay for it, please run the test bat file to check the conversion effect.

Step 2. Run Conversion from DWG to flash

  • Please read readme.txt file first to know related parameters about the conversion. As there is no user brochure for you to refer to, readme.txt is the only source to know the usage of this software.
  • Do the conversion following examples. Here I will list some of them for avoiding inappropriate  missteps.

Usage: dwg2pdf [options] <dwg-file> [<out-file>]
    -dpi <int>         : set DPI to output file
      -colormode <int>   : set color mode, 0 is color and 1 is black and white
   -$ <string>        : input registration key

  • Convert all the DWG file in one folder or directory to flash by wild character.
    dwg2vec.exe C:\*.dwg C:\*.swf
  • Convert DWG file in one folder or directory to flash from each view.
    dwg2vec.exe -byview C:\test.dwg C:\out.swf
    -byview            : create an output file for each view
  • Convert DWG to flash and specify the line width and the unit is in mm.
    dwg2vec.exe -linewidth "1=0.1;2=0.1;3=0.1" C:\test.dwg C:\out.swf
  • -linewidth <string>: set line width, unit in mm

  • Convert DWG to flash and specify the output height and width.
    dwg2vec.exe -width 612 -height 792 C:\test.dwg C:\out.swf
  • -width <int>       : set width, unit is point
    -height <int>      : set height, unit is point

  • Convert DWG to black & width flash or colorful flash. The default will convert what it shows in CAD file.
    dwg2vec.exe –colormode 0 C:\test.dwg C:\out.swf

By the above command line, converting DWG to flash will be in a sure-fire way. Now let us check the conversion effect from the following snapshots. During the using, if you have any question, please contact us as soon as possible.

input dwg file

Output Flash

output flash