Skip to content

Getting and compiling captdriver

mounaiban edited this page Mar 28, 2020 · 11 revisions

About

This guide describes the procedure currently recommended for downloading and compiling captdriver 0.1.x on a GNU/Linux system.

Prerequisites

This guide assumes that you have successfully built set up a build environment on your system. If you haven't done so, please set up the build system or you will not be able to proceed to the build stage. You should be able to find the right guide for setting up the build system in the unified guide.

Downloading

You can choose to get captdriver using two methods:

  • Downloading the ZIP file, if you are an end user who needs to get captdriver up and running quick.

  • Cloning the repository with Git. You need Git installed to do this.

There are also two (out of many) sources you can get captdriver from:

  • Mounaiban's repository (this one!), which may have features not found on other forks of captdriver.

  • Alexey Galakhov's repository, the original source of captdriver, which has a cleaner codebase and commit history.

Downloading captdriver in a ZIP file

Simply click on the Clone or Download link in the repository's Code view (the one with the files and directories, and the README file at the bottom).

Downloading captdriver with Git

In a directory on your system set aside for source code, either

git clone https://github.com/mounaiban/captdriver.git

OR to clone from the original source

git clone https://github.com/agalakhov/captdriver.git

Compiling

This is perhaps the most fun part of setting up captdriver.

If you downloaded the ZIP file, switch to the directory where you extracted the files to.

If you downloaded by cloning with git, switch to the source tree directory created by the cloning process.

To begin the build process to compile and link captdriver, run these commands in sequence in the same directory:

aclocal
autoconf
automake --add-missing
./configure
make
ppdc -v -d . src/canon-lbp.drv

When successful the build process will leave several important files:

  • rastertocapt in the src/ subdirectory

  • Several files with the ppd extension in the repository root directory

You will then be ready to go on to the next step. Return to the unified guide, then go to the correct Stage 3/Installation guide.

Bookmarks

Installation Guide

Targeted Printers

Essential Test Suite

Unofficial Introduction to CAPT (Executive Summary)

Support Levels

Rootless Write Access To USB Devices

Miscellaneous Tips

Wishlists

Other Canon Printer-Related Projects

SPECS: 0xA1A1 Command and Response Format

Home Page

Search for pages starting with

  • SPECS for notes on the operation of the CAPT data formats and communications protocol
  • TESTING for guidelines on testing Captdriver
  • TIPS for potentially helpful information on studying the project or the CAPT format-protocol
Clone this wiki locally