-
Notifications
You must be signed in to change notification settings - Fork 16
Getting and compiling captdriver
This guide describes the procedure currently recommended for downloading and compiling captdriver 0.1.x on a GNU/Linux system.
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.
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.
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).
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
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 thesrc/
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.
Content in this wiki is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Any errors, omissions or suggestions? File an issue and apply the wiki
label.
Bookmarks
Unofficial Introduction to CAPT (Executive Summary)
Rootless Write Access To USB Devices
Other Canon Printer-Related Projects
SPECS: 0xA1A1
Command and Response Format
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