pdf to vector converter

PDF to SVG without size specification

Question:I want to convert PDF to SVG using some software without the width and height specification that is automatically added (for the purpose to make it fit to the container along the lines of what is mentioned here). I couldn't find any option to do this. What is the most realistic reliable way to do this? If scripting is available, I would use it my project.Is there a solution on VeryDOC?

Answer: According to your needs, maybe you can have a free trial of this software:VeryDOC PDF to Vector Converter, by which you can convert PDF to SVG easily either from script or together with other applications like Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. Using the COM object (or DLL Library, or Command Line), file conversions can be done consecutively or simultaneously. By this software, we can also convert PDF files to other scalable vector graphics formats, such as EMF, WMF, SVG, Postscript (PS), EPS, SWF (Flash), XPS, HPGL, PCL etc. If you need to know more information,please check on homepage.In the following part, let us check how to use this software.

Step 1. Free download PDF to Vector Converter Command Line

  • Now there is no single computer version, there are  server version and developer version available. If you need to use it under single computer, please download the server version which is also available.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can call the executable file in MS Dos Windows easily.

Step 2. Convert PDF to SVG without size specification.

  • When you use this software, please refer to the usage and example in readme.txt.
  • Here is the usage for your reference: pdf2vec.exe [options] [Options] <PDF Files>
  • This software will convert PDF to SVG directly, you do not need to specify any parameters the it will help you convert PDF to SVG according to its original size.
  • When converting PDF to SVG, please refer to the following command line templates:
    pdf2vec.exe C:\in.pdf C:\out.svg
    When you use this software, there are two following parameters avaiable for you. By them you can choose PDF conversion page range.
  • -firstpage <int> : first page to print, from 1 to max page
    -lastpage <int>  : last page to print, from 1 to max page

  • When you need to do batch conversion, this software support using wild characters.

By this software, we can convert PDF to SVG without size speciation. During the using, if you have any question, please contact us as soon as possible.

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

How to convert image to PDF and cut margins by command line?

    When converting image to PDF, we also meet some kinds of image with big margins, it will be a waste to print or save this kind of PDF. Based on this needs, VeryDOC developed software named VeryDOC Raster to Vector Converter Command Line, by which you can convert image to PDF and cut margins by command line in four directions.   By this software, you can also convert raster image to vector image and cut margins by command line. Please know more functions of this software on homepage, in the following part, let us check how to use this software.

Step 1. Free trial Raster to Vector Converter Command Line

  • For now there is no single computer version here, so if you need to use it on single computer, please download the server version.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can check related elements.

Step 2. Convert image to PDF and cut margins in four direction by command line.

  • When you use this software, please refer to the usage here: RasterToVector [options] <in-file> [<out-file>]
  • When converting image to PDF and cut margins, please refer to the following command line templates:
    Raster2Vector.exe -margin 30pt C:\in.png C:\out.pdf
    By this command line templates, we can convert image to PDF and specify margins as 30 Pt. This command line will help you define margins in the same. So the output PDF margins will be 30 pt in four directions. The unit could be changed as
  • in/cm/pt.
    Raster2Vector.exe -lmargin 10pt -tmargin 10pt -rmargin 10pt -bmargin 10pt C:\in.png C:\out.pdf
    By this command line, we can specify margins in four directions. You can specify margins from top, bottom, left and right. Here also the unit could be changed as in/cm/pt
    The following parameters can help you specify margins in various methods.

    -margin <string>     : set margin to output file, unit: in/cm/pt
      -lmargin <string>    : set left margin to output file, unit: in/cm/pt
      -rmargin <string>    : set right margin to output file, unit: in/cm/pt
      -tmargin <string>    : set top margin to output file, unit: in/cm/pt
      -bmargin <string>    : set bottom margin to output file, unit: in/cm/pt

  • This software also can help you convert image to PDF and specify standard formats in output like A4, A3, A5, B5, Letter, Legal, Tabloid, Statement, Executive, Folio, Quarto, 10x14. When you use those parameters, please make sure the format names are case insensitive.

If you need to know more functions of this software, please check parameters in readme.txt. During the using, if you have any question, please contact us as soon as possible.

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

Print a webpage to PDF document using PHP

Question:I can see there are a few options for doing this. My question is does any one know of a way that I can simply pass a PHP web page into a PDF creator and it outputs exactly the same as if it was viewed via a browser? Taking into consideration CSS, images and PHP functions etc. Is there any solution on VeryDOC?

Answer: According to your needs, maybe you can have a free trial of this software: VeryDOC HTMLPrint, which converts website to PDF by printing method. So by this software, you can output PDF totally same with the original webpage even if there is some image, css code and others. By this software, you can batch print html, mhtml files or Web URLs to Windows Printer, it is print the whole web page's content to Windows Printer without user interaction.  As this is command line version software, so you can also call it via any programming or scripting languages, such as Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. Please check more detail information of this software on homepage, in the following part, let us check how to use this software.

Step 1. Free download HTMLPrint Command Line

  • All the VeryDOC software are free downloading, so you can try it free without any fee produced.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can check related elements and help documents.

Step 2. Print webpage to PDF document using PHP

  • Usage: htmlprint.exe [options] <HTML/MHTML file or URL>
  • When print webpage to PDF, the following parameters will be helpful for you:
  • -printer <string>             : printer name to print
    -prompt                          : prompt the user with the print dialog so they can change printer settings and/or select pages manually
    -savedevmode <string> : prompt the user with print dialog and save the printer settings into a disk file.
    -loaddevmode <string>  : restore printer settings which saved by –savedevmode parameter.
    -promptdevmode            : prompt the user with print dialog and print the printer settings to screen.
    -devmode <string>         : restore printer settings which outputed by -promptdevmode parameter.
    -hfflag <string>               : set HTML header/footer to off or on.
    -header <string>             : set HTML header text.
    -footer <string>               : set HTML footer text.
    -postdata <string>          : set postdata when print HTML file.

  • When call this software from PHP code, please refer to the following code template:
  • <?php
        $exeshell =new COM("exeshell.shell") or die("Can't start exeshell");
        $exeshell->RunCommandLine("UserName", "Password", ' "htmlprint.exe" "C:\test.htm" "C:\out.pdf" ');
        $exeshell = null;
    ?>

During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 6.4/10 (5 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 2 votes)
doc to any converter

Command line tool for generating PDF from various document types?

Question:I'm looking for ways to generate PDF on-the-fly preferably using a command line tool as this will be done from a web-based system.My requirements include must work on Windows and it should be able to convert Microsoft Word, Excel and HTML into PDF. Also the ability to concatenate or merge various documents into one PDF output file would be good. Is there any solution on VeryDOC?

Answer: According to your needs, maybe you can have a free trial of this software: VeryDOC DOC to Any Converter, by which you can generate PDF from various document types by command line. And this is Window based application, by it you can generate PDF from all the Window system. This software can help you convert documents types like DOC, DOCX, DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files to PDF. And this software also allows you to merge many files to PDF or insert file to the existing PDF file. Please check more information of this software on homepage, in the following part, let us check how to use this software.

Step 1. Free download DOC to Any Converter Command Line

  • This is command line version software, when downloading finishes, it is a zip file. You need to extract it to some folder then you can call the executable file in MS Dos Windows or other application.
  • Before using this software, please read website and help document carefully then you can use this software more smoothly.

Step 2. Generate PDF from various document types.

  • Here is the usage of using this software:DOC2Any [options] <in-file> [<out-file>]
  • Generate PDF from various document formats, here are some command line example for you reference:
  • doc2any.exe C:\in.doc C:\out.pdf
    By this command line, we can convert doc to PDF.
    doc2any.exe C:\in.ppt C:\out.pdf
    For converting PowerPoint file to PDF.
    doc2any.exe C:\in.xls C:\out.pdf
    For generating PDF from Excel.
    doc2any.exe C:\in.docx C:\out.pdf
    doc2any.exe C:\in.pptx C:\out.pdf
    doc2any.exe C:\in.xlsx C:\out.pdf
    doc2any.exe C:\*.doc C:\*.pdf
    For generating PDF from word in batch.

  • For merge various documents into one PDF, you need to convert one file format file to PDF and then insert other files to the existing PDF. Here are some command line templates:
  • doc2any.exe -append 2 -width 612 -height 792 C:\*.ppt C:\out.pdf
    doc2any.exe -append 2 C:\*.doc C:\out.pdf
    -append <int> :
        -append 0          : Overwrite if PDF file exists
        -append 1          : Insert before first page if PDF file exists
        -append 2          : Append to last page if PDF file exists
        -append 3          : Rename filename if PDF file exists

If you need to know more examples and information, please check on homepage. During the using, of you have any question, please contact us as soon as possible.

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

How to change PDF paper size by command line?

     For printing or storing reason, sometime we need to change PDF page size. In this article, I will show you one method of changing PDF page size by command line satisfying printing need. The software I use is named as VeryDOC Raster to Vector Converter Command Line, which is a professional tool of changing image file formats from raster image to vector by command line. This software is Window application, it can work under both 32-bit and 63-bit. But if you need to make it work under Mac or Linux, for not it can not make it. Please check more related information of this software on homepage, in the following part, let us check how to use this software.

Step 1. Free download Raster to Vector Converter Command Line

  • This is Window application, when downloading finishes, it is a zip file. Please extract it to some folder then you can find related elements, help document and other files.
  • Now there is no single computer version, if you need to make it work under single computer, please choose the server version, which could also work under server normally.

Step 2. Change PDF page size.

  • When you use this software, please refer to the usage and the example. Here is the usage for your reference:
    RasterToVector [options] <in-file> [<out-file>]
  • When you need to change PDF page size, please refer to the following command line templates.
  • Raster2Vector.exe -width 595pt -height 842pt C:\in.pdf C:\out.pdf
    By this command line, we can change PDF size from original size to specified height and width.
    Raster2Vector.exe -pagesize a4 C:\in.pdf C:\out.pdf
    By this command line, we can change PDF size to A4 format.
    Raster2Vector.exe -width 8.5 -height 11 C:\in.pdf C:\out.pdf
    By this command line, we can specify width and height by another unit.
    This software supports various standard PDF file formats like A4, A3, A5, B5, Letter, Legal, Tabloid, Statement
    , Executive, Folio, Quarto, 10x14. Format names are case insensitive.
    Now, please check some parameters you may use.
    -pagesize <string>   : set page size (default is letter)
      -width <string>      : width of output file, unit: in/cm/pt
      -height <string>     : height of output file, unit: in/cm/pt
      -res <string>        : resolution (in dpi)
      -rotate <string>     : rotate counterclockwise by angle
      -margin <string>     : set margin to output file, unit: in/cm/pt
      -lmargin <string>    : set left margin to output file, unit: in/cm/pt
      -rmargin <string>    : set right margin to output file, unit: in/cm/pt
      -tmargin <string>    : set top margin to output file, unit: in/cm/pt
      -bmargin <string>    : set bottom margin to output file, unit: in/cm/pt

If you need to know more about this software, please visit homepage. During the using, if you have any question, please contact us as soon as possible.

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