Skip to content

Installation Examples

sbn001 edited this page Apr 15, 2020 · 2 revisions

About

Here are some examples of the commands run in a typical manual installation, in order from start to finish. Please make the necessary adjustments to the procedures to suit your printer model and operating system.

Examples

Debian

The following installation was carried out on a Debian 10.3 "buster" system. Alexey Galakhov's original repository was cloned, and the installation was for a Canon LBP2900. The sudo command was not set up for regular use on this system.

# This system had no directory for sources, so one was created
mkdir ~/src
cd ~/src

# Set up build environment and install Git as superuser
su
apt install automake build-essential cups-bsd libcups2-dev git
exit

# Clone and build captdriver
git clone https://github.com/agalakhov/captdriver.git
cd captdriver
aclocal
autoconf
automake --add-missing
./configure
make
ppdc -v -d . src/canon-lbp.drv

# Install captdriver and configure printer
su
make install
cp -p /usr/local/bin/rastertocapt $(cups-config --serverbin)/filter/
/usr/sbin/lpinfo -v
/usr/sbin/lpadmin -p 'LBP2900' -v usb://Canon/LBP2900?serial=0000DEADCAFE -P Canon-LBP2900.ppd -E 
/usr/sbin/lpadmin -d 'LBP2900'
exit

Fedora

The following installation was carried out on a Fedora 32 system. The Mounaiban repository was cloned, and two printers, a Canon LBP2900 and a Canon 7018C were installed. The sudo command was ready to use on this system.

# This system had no directory for sources, so one was created
mkdir ~/src
cd ~/src

# Set up build environment and install Git as superuser
sudo dnf install @"Development Tools" automake autoconf cups-devel

# Clone and build captdriver
git clone https://github.com/mounaiban/captdriver.git
cd captdriver
aclocal
autoconf
automake --add-missing
./configure
make
ppdc -v -d . src/canon-lbp.drv

# Install captdriver
sudo make install
sudo cp -p /usr/local/bin/rastertocapt $(cups-config --serverbin)/filter/
lpinfo -v

# Configure LBP3000 printer for daily use
sudo lpadmin -p 'LBP3000' -v usb://Canon/LBP3000?serial=00001337BEEF -P Canon-LBP3000.ppd -E 
sudo lpadmin -d 'LBP3000'

# Configure LBP7018C printer for hacking
sudo lpadmin -p 'LBP7010C' -v usb://Canon/LBP7018C?serial=00000B1GBEEF -P Canon-LBP7018C.ppd -L 'Mums Basement' -E 

# Remove LBP7018C printer during the course of development
sudo lpadmin -x 'LBP7010C'

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