HTMLPrint to Any Converter

Print HTML to Jpg and specify width and height

   VeryDOC HTMLprint to Any Converter can be used to print HTML to Jpg and specify the image width and height. You can also use this software as HTML printing tools. By it you can do the printing job and conversion job together. Jpg is one of the output image file formats, it also can output tif, gif, png and other common image file formats. When converting website to image, it allows you to set output image width and height. In the following part, I will show you how to make it work.

Step 1. Download HTMLprint to Any Converter

  • This software is command line version but for easy uploading and downloading, we have compressed it to zip file.
  • Once the downloading finishes, please extract it to some folder then you can check the elements in it.
  • Please find the readme.txt, which contains all the parameters and examples. The executable file is named as html2any.
  • If you need to check the conversion effect, please double click the bat file.

Step 2. Print HTML to Jpg

Usage: html2any.exe [options] <HTML/MHTML file or URL>

Example

  • When converting website to jpg and specify the output image quality, please refer to the following command line.
    html2any.exe -printtoimage C:\out.jpg -quality 50 http://www.verypdf.com
    -printtoimage <string>  : this is an order to print HTML document to image files
    Following this parameter, please input the full file path and specify the file name.
    -quality <int>          : Set quality (1~100) to JPEG file
    Please note that this parameter is only available for JPEG or jpg  file. By it you can control the image quality. The better the quality is, the bigger the output file size it.
  • Now let us go to solution for converting  HTML to Jpg and specify the width and height.
    html2any.exe -printtoimage C:\out.jpg -imgw 800 -imgh 1000 http://www.verypdf.com

    -imgw <int>             : Set width to out image file
    -imgh <int>             : Set height to out image file
    Here please do not be confused with those parameters. The following parameters can help you control the HTML length and width. Say if there is long HTML website but you only need 100 near the top, you can use parameter dlgheight to cut 100 from this long HTML. If you use imgh, it will convert the whole website to jpg within the long of 100.
    -dlgwidth <int>         : set width to HTML dialog
    -dlgheight <int>        : set height to HTML dialog

  • When you need to offset HTML file in X and Y directions, please use the following two parameters.

    -imgxres <int>          : Set X resolution to out image file
    -imgyres <int>          : Set Y resolution to out image file

  • When you need to control the bit count of output image file, please use parameter -imgbc which allows you to  set color depth (1, 4, 8) for out image conversion.

By here I guess you can master one way of converting HTML to Jpg and specify the output width and height. During the using, if you have any question, please contact us as soon as possible.

Advanced PDF Editor

How to make beautiful background for PDF file?

In this article, I will share one method of creating PDF with beautiful background. Normally speaking, PDF files will be created with white background. It is not because we do not want to change it as it is too complicated to change.However, if there is no Adobe application installed, you can not even edit PDF file let alone creating PDF. My method is less expensive than buying an Adobe software, I will use VeryDOC Advanced PDF Editor instead, which only charges at 89$.

Step 1. Install Advanced PDF Editor

  • This software is GUI version, so you need to install its software interface. And this application is very small, the installation process only takes a few seconds.
  • The installation is quite easy, please double click the exe file and follow the installation message.
  • Once the installation finishes, there will be an icon on the desktop. Please click the icon to launch this software.

Step 2. Import Image Background

  • Please click option Open to add image background to software interface. The following snapshot is from the software interface.

software interface of PDF Editor

  • Please note when you choose image files, please change the default file type PDF to All files or else there will show nothing in the containing folder.

Step 3. Add text or other image file to the background.

  • Please click option Edit Comment then there will some buttons turn to black from grey. Please click T icon and draw area in the image. Left click the area then you will find the dropdown list, please go to Properties. This step can be illustrated by the following snapshot.  When you need to add another image file, like company logo and others, please click the stamp icon. And the position of the text and image can be removed or moved according to your needs.

add text part

  • The following snapshot is from the Properties menu tab. There are tens of fonts style for you to choose. And please adjust the fill color same as the background image. Then you can create PDF more beautifully. And the font size can be set too. Once you  finish setting part, please click button Close to back to the main interface.

Properties menu tab 

  • Please double double click the area then you can input the content for the PDF. And the frame can be dragged as big as you need. Then you can import content for PDF file.

By this method, you can create PDF with beautiful background. Please have a glance from the following snapshot. During the using, if you have any question, please contact us as soon as possible.

create PDF

HTMLPrint to Any Converter

Print HTML to Tiff and Compress it by CCITT

  In the market, there are various tools which can be used to convert HTML to tiff allowing to compress it by CCITT compression method. But maybe converting HTML to tiff is just one of your desired functions, when you need to do conversion together with printing, this article will be helpful for you.VeryDOC HTMLPrint to Any Converter is a typically professional tool which can be used to batch print html or Web URLs to Windows Printer and do the conversion together.  In the following part, I will take converting HTML to tiff for example to show you how to use it.

Step 1. Download HTMLPrint to Any Converter

Once downloading finishes, you will find it is a zip file. Please extract it to some folder then you can find the executable file.

In the extracted folder, there is a Dll, three bat files, readme.txt,ps2pdf and html2any. When you do the conversion, please call html2any. If you need to check the conversion effect, simply run the bat file by double clicking.

Step 2. Convert HTML to tiff and Compress it.

Usage:html2any.exe [options] <HTML/MHTML file or URL>

Examples:

  • When converting single HTML to tiff, please refer to the following template.
    html2any.exe -printtoimage C:\out.tif  http://www.verypdf.com
    -printtoimage <string>  : print HTML document to image files
  • When you need to compress it, please refer to the following command line.  Parameter –compress 2 is an order to compress tiff file by CCITT. And this software also provides other compression methods, like G3 ClassF  and others. Please check details in the following parameter list.
    html2any.exe -printtoimage C:\out.png -compress 2 http://www.verypdf.com
  • compress <int>         : Set compression to TIFF image
        -compress 1     : NONE compression
        -compress 2     : CCITT modified Huffman RLE
        -compress 3     : CCITT Group 3 fax encoding (1d)
        -compress 4     : CCITT Group 4 fax encoding
        -compress 5     : LZW compression
        -compress 6     : OJPEG compression
        -compress 7     : JPEG DCT compression
        -compress 32773 : PACKBITS compression
        -compress 32809 : THUNDERSCAN compression
        -compress 88880 : 204x98  G4 ClassF TIFF
        -compress 88881 : 204x196 G4 ClassF TIFF
        -compress 88882 : 204x98  G3 ClassF TIFF
        -compress 88883 : 204x196 G3 ClassF TIFF

  • When you need to convert HTML to multipage tiff, please use the following command line.
     html2any.exe -printtoimage C:\out.tif -multipage http://www.verypdf.com
    -multipage              : Create multipage TIFF file
  • If you need to make the HTML to grey tiff for printing, please use parameter –gray.
    -gray                   : Create 8bit image file at grayscale color space

By those examples, I guess you can master one way for converting HTML to tiff.  During the using, if you have any question, please contact us as soon as possible.

HTMLPrint to Any Converter

Print HTML to SPL and Remove HTML Header

VeryDOC HTML Print to SPL Converter is a kind of command line product,which can be used to batch print HTML to Windows Printer, it can print the whole web page's content to Windows Printer without user interaction. And during the printing, sometimes the header or footer is useless for printing. By this software you can remove HTML header casually.

What is SPL?

  For those who are eager to know what is SPL or practicing printing job, the following information will be helpful. Normally speaking,  printing job's spooled data is contained in a spool file, that is SPL. For each printing job there are two spool files generated by the Windows spooler. One file with the .SHD extension for job settings, and the other with.SPL extension for the drawing commands.   More or less, SPL file is like PCL, PostScript, ESC-P, CaPSL, Prescribe or similar.

How to Print HTML to SPL?

Step 1. Download HTMLPrint to Any Converter

  • This software is command line version, for easy uploading and downloading, we have compressed it to zip file.
  • So after downloading, please extract it to your folder then you can check the elements in it.
  • Please read readme.txt first then you can know more about what this software can do for you.

Step 2. Do the printing in compliance with usage.

Usage:html2any.exe [options] <HTML/MHTML file or URL>

  • When simply printing HTML to SPL, please refer to the following command line.
    html2any.exe -printtospl C:\out.spl http://www.verypdf.com
    -printtospl <string>    : print HTML document to SPL file
  • This software also can be used to print HTML to other printing file formats like EMF, WMF, XPS, PCL, and PS. Please note that during the conversion, please add corresponding file format parameters.
  • html2any.exe -printtospl C:\out.spl http://www.verypdf.com
    html2any.exe -printtoemf C:\out.emf http://www.verypdf.com
    html2any.exe -printtowmf C:\out.wmf http://www.verypdf.com
    html2any.exe -printtoxps C:\out.xps http://www.verypdf.com
    html2any.exe -printtopcl C:\out.pcl http://www.verypdf.com
    html2any.exe -printtops C:\out.ps http://www.verypdf.com

    -printtospl <string>    : print HTML document to SPL file
    -printtoemf <string>    : print HTML document to EMF files
      -printtowmf <string>    : print HTML document to WMF files
      -printtoxps <string>    : print HTML document to XPS files
      -printtopcl <string>    : print HTML document to PCL file
      -printtops <string>     : print HTML document to Postscript file
      -printtopdf <string>    : print HTML document to PDF file, this function is depend on PS to PDF Converter Command Line
      -ps2pdfopt <string>     : set options to ps2pdf.exe application

  • When converting HTML to SPL or file formats, it is normal to see some useless HTML header. For removing the header, please refer to the following template.
    html2any.exe -hfflag off https://www.verydoc.com D:\out.spl

Note: if you need to specify the output file format or output file path, please add file path at the end of the command line.

By this method under the help of HTMLPrint to Any Converter, you can convert HTML to SPL and remove HTML header. During the using, if you have any question, please contact us as soon as possible.

PDF to Vector Converter

VeryDOC PDF to XPS Command Line Converter

  VeryDOC PDF to XPS Converter can be use to convert PDF to XPS by command line in bath. It also can be used to convert PDF to other scalable vector graphics formats, such as EMF, WMF, SVG, Postscript (PS), EPS, SWF (Flash), XPS, HPGL, PCL etc. In this article, I will show you some knowledge about XPS and show you how to use this software.

What is XPS?

    Normally speaking, XPS is XML Paper Specification which is used in Windows Printing machine and doesn’t support non Microsoft platforms. This file format only works on Windows system, if you are Mac user, I guess this file format is useless for you. Microsoft XPS Document Writer can help you print it to other file format. XPS files let you view and print a document as it was original is, so some time we need to convert PDF to XPS then edit it again.  For this property,  XPS is widely used in printing area. Use XPS files, you can  produce a high quality printing job.

How to convert?

Step 1. Download PDF to XPS Converter

  • This software is command line version, so we compressed it to zip file for easy downloading. So once downloading finishes, please extract it to some folder then check the elements in it.
  • Before run the conversion, please read redeme.txt carefully.

Step 2. Convert PDF to XPS

Usage: pdf2vec.exe [options] [Options] <PDF Files>

Examples:

  • When converting single PDF to XPS, please refer to the following command line.
    pdf2vec.exe C:\in.pdf C:\out.xps
  • When you need to do bath conversion, you can use wild character or write bat file yourself. The following command line is an example of bat files.
    for %%F in ("%CD%\*.pdf") do pdf2vec.exe "%%F" "%%~dpnF.xps"
  • When converting password protection PDF, please use the following command line. But this method is available in the situation where you know the password at least open password.
    pdf2vec.exe -pv2ropw xxxx  -pv2ropw xxxx  C:\in.pdf C:\out.xps
  • -pv2ropw <string>        : owner password (for encrypted files)
    -pv2rupw <string>        : user password (for encrypted files)

  • When you need to specify color or monochrome to printer, please refer to the following command line.
  • -color <int>  : specify color or monochrome to printer,
        1 : monochrome
        2 : color
        *this option is available for PCL, HPGL, XPS, PS and EPS formats
    pdf2vec.exe –color 2 C:\in.pdf C:\out.xps

If you need to know more related parameters and usage, please refer to the readme.txt or our website. During the using, if you have any question, please contact us as soon as possible. And now let us check the conversion effect from the following snapshot.

input PDF and output XPS