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. k2pdfopt Guide (WIP)
  5. 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
 
  RUNNING K2PDFOPT WITHOUT THE GUI
Windows users can force k2pdfopt v2.x to run in the command-line mode (no GUI) by following the steps below. (By default, if you launch k2pdfopt from a command-line shell, it will run in command-line mode unless you run it without any command-line arguments.) These steps show how to use a shortcut to disable the GUI. You can also disable it using the k2pdfopt environment variable.
  • Create a shortcut icon by right-clicking on the program icon and selecting "Create Shortcut."

       

  • Right-click the new shortcut icon and select "Properties".

       

  • Where it says "Target:", append this: -gui-

       

  • Click "OK".
  • Re-name the shortcut as you wish.

       

  • Now you can drop your PDF files onto your new re-named shortcut icon and k2pdfopt will run in the command-line mode:    

  • You can still use the GUI to copy the configuration of the command-line after you set the options you want, for exampe, if you select "Kindle Paperwhite" for the device and check the "Autostraighten" checkbox, you'll get the options below:

       

  • After copying those options to the clipboard, you can close the GUI version and then paste the options into the command-line version:

       

  • After you press <Enter>, the options will show in green like so:

       

  • Pressing <Enter> again will run the conversion:

       

  • And then you can open the converted file, which will have _k2opt appended to the name:

       
You can see a list of all command-line options here.

 

This page last modified
Sunday, 12-Feb-2023 12:43:23 MST