Technology Blog

Install Gscan2pdf on Ubuntu – Linux Document Scanner


Gscan2pdf 1.8.5 released. Install Gscan2pdf on Ubuntu Linux and also learn how to use Gscan2pdf. The gscan2pdf is a GUI to produce PDFs or DjVus from scanned documents.

Scanning is handled with SANE via scanimage. PDF conversion is done by PDF::API2. TIFF export is handled by libtiff (faster and smaller memory footprint for multipage files).

Install Gscan2pdf

Run the following commands in Terminal to install Gscan2pdf:

sudo apt-get update
sudo add-apt-repository ppa:jeffreyratcliffe/ppa
sudo apt-get update
sudo apt-get install gscan2pdf

Once installed, open the Gscan2pdf from Ubuntu Dash.

How to use Gscan2pdf

1. Once installed, open Gscan2pdf
2. Scan one or several pages in with File/Scan
3. Create PDF of selected pages with File/Save

Command Line Options

Gscan2pdf has the following command-line options:

–device= Specifies the device to use, instead of getting the list of devices from via the SANE API. This can be useful if the scanner is on a remote computer which is not broadcasting its existence.
–help Displays this help page and exits.
–log= Specifies a file to store logging messages.
–(debug|info|warn|error|fatal) Defines the log level. If a log file is specified, this defaults to ‘debug’, otherwise ‘warn’.
–import=<PDF|DjVu|image> Imports the specified file
–version Displays the program version and exits.


To diagnose a possible error, start gscan2pdf from the command line with logging enabled and check file.log.

gscan2pdf --log=file.log

Uninstall and Remove Gscan2pdf

If you want to remove Gscan2pdf from Linux Ubuntu Systems, run the following commands:

sudo apt-get remove --autoremove gscan2pdf
sudo apt-get update

Install Gscan2pdf on Ubuntu – Linux Document Scanner originally posted on Source Digit – Latest Technology, Gadgets & Gizmos.