Willus.com Home   |   Archive   |   About  

Willus.com's K2pdfopt Help Page

Return to K2pdfopt Home Page

MENU
Getting Started:
    1. Windows
  Text Menu
  (now with video!)
  2. Linux
  Ubuntu
  Env vars
  3. Mac OSX
  4. Help in other languages

FAQ | Forum

Customizing K2PDFOPT:
    1. K2pdfopt GUIs
    2. Disabling the Windows GUI
    3. The interactive menu
    4. List of command-line options
    5. Using a shortcut
  (now with video!)
  6. Using the K2PDFOPT environment variable
  7. 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. OCR
    3. Native PDF
  (now with video!)
    4. Auto-Straightening
    5. Ignoring Borders/ Headers/Footers
    6. Detecting Columns
    7. Protecting Regions
    8. Column Order
    9. Right-to-Left Page Scanning
    10. 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.


Windows GUI controls for crop margins. Note that the "Generate marked-up source" checkbox
is checked, which causes the preview window to show the marked-up source.


 

This page last modified
Sunday, 28-May-2017 11:09:24 MDT