-
Notifications
You must be signed in to change notification settings - Fork 17
Installation Examples
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.
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
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'
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