Willus.com Home   |   Archive   |   About  

Willus.com's K2pdfopt Help Page

Return to K2pdfopt Home Page

MENU
Getting Started:
    1. Windows
  2. Linux
  Ubuntu
  3. Mac OSX

K2PDFOPT FAQ

Customizing K2PDFOPT:
    1. The interactive menu
    2. List of command-line options
    3. Using a shortcut
  4. Using the K2PDFOPT environment variable
  5. Using the command line

Adjusting the output:
    1. Screen Size
    2. Increasing the magnification
    3. Landscape mode
    4. Output File Size
    5. Setting Margins
    6. Color Output
    7. Uneven Line Breaks/ Excess Margins

Processing Options:
    1. Showing Markings
    2. Auto-Straightening
    3. Ignoring Borders/ Headers/Footers
    4. Detecting Columns
    5. Column Order
    6. Right-to-Left Page Scanning
    7. Using Ghostscript
 
  IGNORING BORDERS/HEADERS/FOOTERS
The document below shows a typical example where k2pdfopt doesn't do a good job with its default conversion because there is a rectangular border that defeats the column detection.

    
Original document
    
Default k2pdfopt conversion -- hardly an improvement

We want the columns singled out so we can read them. The solution is to use the -m option (or select option (m) from the interactive settings menu in v1.16+) to tell k2pdfopt to ignore a certain amount of margin in the input file. For this particular example, 0.8 inches is a good value, so -m 0.8 should be used:

    
With -m 0.8 everything shaded pink above is ignored
    
k2pdfopt -m 0.8 (The columns are now correctly cropped.)

The -ml, -mr, -mb, and -mt options can also be used to more specifically set the left, right, bottom, and top margin-ignoring widths, respectively. The default value for -m is 0.25, so there may be cases in documents that have no margin where you need to specify -m 0 to avoid text getting cut off. See, for example, the file used in the output file size section.

 

This page last modified
Thursday, 16-Feb-2012 22:00:28 CST