PDF Margin Crop

How to crop PDF for cutting margin through software interface?

When printing there will be some PDF files with large margins in four directions, so it will be a little waste to print PDF documents with big margins. In this article, I will show you one method of cropping PDF for cutting margins. The software I use is VeryDOC PDF Margin Crop, which either can be used as command line version software or GUI version software. In this article, I will use it as GUI version.

Step 1. Install PDF Margin Crop

  •  Download PDF Margin Crop. This is Windows application, when downloading finishes, there will be an exe file. Please install this software by double clicking the exe file and following installation message till short cut icon showing up on desktop.
  • When you launch this software, please click the icon. The following snapshot is from the software interface, please have a check.

software interface of PDF Margin Crop

Step 2. Crop PDF for cutting margins.

  • Please drag PDF files needed cropping from its containing folder to software interface and then added PDF file will be shown in the file list with detail information like file path, file size and added date.
  • Then do the cropping setting by clicking Setting button. When clicking setting then you will menu options like the following snapshot.

pdf-margin-setting-menu

  • There are three tabs here, the above snapshot is from Basic Options tab. Here you can set saving mode: always ask for output file path, save to original directories with corresponding filenames, and save to following directories.In basic options part, you can set margins cropping size, there are four modes for you to choose.  By clicking button Browse, you can choose temporary folder to save output files.
  • When finishes setting part, please click button OK to back to the main interface.
  • If you need to set other options for output PDF file, please go to other tabs like View Options tab and Password Setting tab.
  • In View Options part, you can set view PDF file after cropping. In the Password Setting tab, you can set password to protect output PDF file from being printing, opening and others.

Now let us check the cropping effect from the following snapshot.

input PDF and output PDF

Checking from the above snapshot, we can feel the margins have been cut. So this software really can help you when you need to crop PDF margins. Meanwhile this software also can be used as command line version with the same functions. In next article, I will publish article about command line usage. If you need, please pay attention to our knowledge.  During the using, if you have any question, please contact us as soon as possible.

DOC to Any Converter

How to convert PowerPoint to tiff and set compression mode by command line?

In this article, I will show you how to convert PowerPoint to tiff file and then set compression mode by command line. The software I use is ·VeryDOC DOC to Any Converter, which can be used to convert all the Office file, OpenOffice file to tiff, PDF and other image file formats through command line in batch. In the following part, I will show you how to use this software.

Step 1. Download DOC to Any Converter

  • When downloading finishes, there will be a zip file. You need to extract it to some folder then you can call executable file in MS Dos Windows.
  • When you use this Window application, please obey rules, usage and examples in readme.txt.

Step 2. Convert PowerPoint to Tiff and set compression modes.

  • Here is the usage for your reference: DOC2Any [options] <in-file> [<out-file>]
  • When converting PowerPoint to tiff and set compression mode, please refer to the following command line templates.

    doc2any.exe -useprinter -compression 88880 "C:\in.ppt" C:\out.tif
    By this command line, we can convert PowerPoint to tiff and compress tiff file by 204x98  G4 ClassF TIFF.
    doc2any.exe -useprinter -compression 88881 "C:\in.pptx" C:\out.tif
    By this command line, we can convert PPTX file to tiff using virtual printer and using compression method of 204x196 G4 ClassF TIFF
    doc2any.exe -useprinter -compression 88883 "C:\in.ppt" C:\out.tif
    By this command line, you can compress output tiff file by 204x196 G3 ClassF TIFF.
    doc2any.exe -multipagetif -compression 88880 "C:\in.ppts " C:\out.tif
    By this command line, we can convert PowerPoint to multipage tiff file and compress it by 204x98  G4 ClassF TIFF.
    doc2any.exe -multipagetif -bitcount 1 -xres 300 -yres 300 "C:\in.pptx" C:\out.tif
    By this command line, we can convert PowerPoint to multipage tiff and set bitcount as 1, resolution from X and Y directions.

    Now let us check the parameters related to the conversion:
    -compression <int>       : Set compression for TIFF image
        -compression 1     : NONE compression
        -compression 2     : CCITT modified Huffman RLE
        -compression 3     : CCITT Group 3 fax encoding (1d)
        -compression 4     : CCITT Group 4 fax encoding
        -compression 5     : LZW compression
        -compression 6     : OJPEG compression
        -compression 7     : JPEG DCT compression
        -compression 32773 : PACKBITS compression
        -compression 32809 : THUNDERSCAN compression
        -compression 88880 : 204x98  G4 ClassF TIFF
        -compression 88881 : 204x196 G4 ClassF TIFF
        -compression 88882 : 204x98  G3 ClassF TIFF
        -compression 88883 : 204x196 G3 ClassF TIFF
        -compression 88884 : CCITT Group 3 fax encoding (2d)
      -rotate <int>            : Rotate pages, 90, 180, 270

You can use the same method to convert other Office file and OpenOffice file to Tiff and compress it by above compression methods. When converting Word file to tiff, you do not need to install Office word application. But when conversion other Office file to tiff, please make sure install corresponding Office application.

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

     

DOC to Any Converter

How to split long HTML and then convert HTML to PDF?

When converting HTML file to other file formats, you may meet some quite long ones which can not be converted fully no matter how hard you try. In this article, I will show you one method of converting long HTML to PDF in specified height. I use software VeryDOC DOC to Any Converter, which also can help convert HTML file to Postscript, PS, EPS, SVG, SWF, XPS, PCL, HPGL, HTML, MHTML, RTF, Text, XML, JPG, TIFF, EMF, WMF, BMP, GIF, PNG, TGA, PCX, etc. formats.

Step 1. Download DOC to Any Converter 

  • This software is Window application which can not work under Mac and Linux. But if you need this software work under Mac and Linux, please contact us then we can make one for you.
  • When downloading finishes, please unzip it to some folder then find the executable file in MS Dos Windows.

Step 2. Split HTML by height and convert HTML to PDF 

  • When you run conversion, please refer to the usage and examples.
  • Usage:   DOC2Any [options] <in-file> [<out-file>]
  • When converting HTML to PDF and split HTML by height, please refer to the following command line templates and parameters.
  • doc2any.exe –height 200 C:\in.html C:\out.pdf
    By this command line, we can convert HTML to PDF and specify height of PDF as 200.
    doc2any.exe –emfheight 150 C:\in.html C:\out.svg
    By this we can split HTML file at height of 150 and then convert HTML to SVG.
    doc2any.exe –pageheight 300 C:\in.html C:\out.tiff
    doc2any.exe –pageh 400 C:\in.html C:\out.jpg
    doc2any.exe –ph 100 C:\in.html C:\out.pdf
    Meanwhile this software also allows you to convert HTML file to other image file formats according to the height split by specified height.
    Now let us check related parameters:
    -width <int>             : Set page width to PDF file
    -height <int>            : Set page height to PDF file
    -emfheight <int>         : Split a long HTML file by height
    -pageheight <int>        : Split a long HTML page by page height, same as -emfheight
    -pageh <int>             : same as -pageheight
    -ph <int>                : same as -pageheight

So by this software, you can split HTML at any place. This function is good when converting long HTML to PDF especially there are some pictures, tables or others in HTML file. If you do not specify height, software will cut HTML in random place, so we can make sure the pictures, tables in it intact.

Meanwhile this software also can help you convert HTML to PDF and specify margins around it. There are some parameters for your reference.
-margin <string>         : Set page margin to PDF file
    -margin 10         : Set margin to 10pt to left
    -margin 10x10      : Set margin to 10pt to left,top
    -margin 10x10x10   : Set margin to 10pt to left,top,right
    -margin 10x10x10x10: Set margin to 10pt to left,top,right,bottom

More functions and parameters, please check them in readme.txt. During the using, if you have any question, please contact us as soon as possible.

DOC to Any Converter

Doc2Any JPG sizing not working

I want to use doc2any to make 2 versions of JPGs, one full res and one at say 640x480 at 50-60% quality.

It's not working. Please let me know what I'm doing wrong. Here's my
command line call:

C:/www/w1.XXXXXXXXX.com/docroot/../owr/tools/doc2any/doc2any.exe -bitcount 1 -xres 300 -yres 300 "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx" "C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg"

Here's what I get....

C:\www\w1.XXXXXXXXX.com>C:/www/w1.XXXXXXXXX.com/docroot/../owr/tools/doc2any/doc2any.exe -bitcount 1 -xres 300 -yres 300 "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx" "C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg"
Thank you for choosing 'VeryDOC DOC to Any Converter' product.
Loading "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx"file...[20%]
Export file(s)...[50%]
Shutdown PowerPoint Application...[60%]
Conversion time = 2402ms

C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx ==>C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg, result=ERROR

TickCount = 2402ms(2.40s), Result = 0

Customer
-----------------------------------------------

You can run following command line to convert your DOCX file to JPG files and resize JPEG files to 200x150,

doc2any.exe -width 200 -height 150 -useprinter -useoffice 1 "%CD%\example.docx" "%CD%\example.jpg"

Doc2Any JPG sizing not working

Doc2Any JPG sizing not working

You can run following command line to convert your PPTX file to JPG files and resize JPEG files to 640x480,

doc2any.exe -width 640 -height 480 -useprinter -useoffice 1 "%CD%\example.docx" "%CD%\example.jpg"

You can run following command line to convert your PPTX file to JPG files at 300 DPI, this is the full size image,

doc2any.exe -useprinter -xres 300 -yres 300 -useoffice 1 "%CD%\example.pptx" "%CD%\full_size_example.jpg"

Doc2Any JPG sizing not working

Doc2Any JPG sizing not working

also, please don’t use “-bitcount 1” for JPEG image, because JPEG image is not support black and white image.

VeryPDF

DOC to Any Converter

How to convert word to flash in batch by command line?

    In this article, I will share a method of converting word to flash by command line in batch. The software I use is VeryDOC DOC to Any Converter, which also can be used to convert DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files to flash. In the following part, I will show you how to convert word to flash.

Step 1. Install DOC to Any Converter Command Line

  • If you are not familiar with the command line software, there is also GUI version available on the website. Here I will use the command line version for example.
  • When downloading finishes, there will be a zip file in downloading folder. Please extract it to some folder then you can check elements in it. First please find executable file and readme.txt then you can call it from MS Dos Windows.

Step 2. Convert word to flash by command line.

  • When use this software, please refer to the usage and examples. Here is the usage for your reference:
  • DOC2Any [options] <in-file> [<out-file>]

  • When convert word file to flash, please refer to the following command line template.
    doc2any.exe C:\in.doc C:\out.swf
    doc2any.exe C:\*.doc C:\*.swf
    By this command line,we can convert word file to flash in batch using wild character.
  • Here are some more examples of convert others file formats to flash.
  • doc2any.exe C:\in.ppt C:\out.swf
    doc2any.exe C:\in.xls C:\out.swf
    doc2any.exe C:\in.docx C:\out.swf
    doc2any.exe C:\in.pptx C:\out.swf
    doc2any.exe C:\in.xlsx C:\out.swf
    Please note when converting Office file to flash by this software, you need to install Office application or else the conversion may fail. And this is not the professional tool of converting word file to flash, there is no other setting parameters for output flash files. However, by this software you can convert word file to PDF in various formats then convert PDF to flash with quite professional parameters setting.

On VeryDOC website, we have professional software which allows you to convert PDF to flash, which is VeryDOC PDF to Flash Converter. By this software, you can set Flash frame rate, compress and optimize SWF files automatically, adjust resolution to 1x, quality is worst and file is small and so on so forth. Please check more information on its website.

       When converting word to flash by DOC to Any Converter, there are some advantages:

  1. This software supports more files like Office, OpenOffice and others as input.
  2. This software also can help you convert files to PDF, image and others.
  3. When converting files to PDF and then PDF to flash, this software allows you to add watermark to PDF and then watermark on flash.

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