Skip to content

Instantly share code, notes, and snippets.

@eboye
Last active November 1, 2024 20:29
Show Gist options
  • Save eboye/5339798aed8eea162519ef8751e15d02 to your computer and use it in GitHub Desktop.
Save eboye/5339798aed8eea162519ef8751e15d02 to your computer and use it in GitHub Desktop.
Install instruction for Canon LBP-810 laser printer

Here are the step to install Cannon LBP-810 on to Arch Linux:

  1. Turn off printer
  2. install capt-src if it's not already installed
yay capt-src
  1. restart CUPS service:
sudo systemctl restart cups.service
  1. Turn the printer on and Register printer
sudo lpadmin -p LBP-810 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59687 -E
sudo ccpdadmin -p LBP-810 -o /dev/usb/lp0

Here's the map of PPD filenames for different Canon LBP printers:

Printer name PPD
LBP9100C CNCUPSLBP9100CCAPTK.ppd
LBP7200C series CNCUPSLBP7200CCAPTK.ppd
LBP7200Cdn CNCUPSLBP7200CCAPTK.ppd
LBP7018C CNCUPSLBP7018CCAPTK.ppd
LBP7010C CNCUPSLBP7018CCAPTK.ppd
LBP0600 CNCUPSLBP63000CAPTK.ppd
LBP6200 CNCUPSLBP600CAPTK.ppd
LBP6000/LBP6018 CNCUPSLBP6018CAPTK.ppd
LBP5300 CNCUPSLBP5300CAPTK.ppd
LBP5100 CNCUPSLBP5100CAPTK.ppd
LBP5050 series CNCUPSLBP5050CAPTK.ppd
LBP5000 CNCUPSLBP50000CAPTK.ppd
LBP3500 CNCUPSLBP3500CAPTK.ppd
LBP3310 CNCUPSLBP3310CAPTK.ppd
LBP3300 CNCUPSLBP3300CAPTK.ppd
LBP3250 CNCUPSLBP3250CAPTK.ppd
LBP3210 CNCUPSLBP3210CAPTK.ppd
LBP3200 CNCUPSLBP3200CAPTK.ppd
LBP3100 / LBP3108 / LBP3150 CNCUPSLBP3150CAPTK.ppd
LBP3010 / LBP3018 / LBP3050 CNCUPSLBP3050CAPTK.ppd
LBP3000 CNCUPSLBP3000CAPTK.ppd
LBP2900 CNCUPSLBP2900CAPTK.ppd
LBP-1210 CNCUPSLBP1210CAPTK.ppd
LBP-1120 CNCUPSLBP1120CAPTK.ppd
LBP-810 CNCUPSLBP1120CAPTK.ppd
  1. launch ccpd service and enable it during boot
sudo systemctl enable --now ccpd
  1. Create udev rule for the device to be on predictable mount point
udevadm info -a -p $(udevadm info -q path -n /dev/usb/lp0)

Check for ATTRS{serial}=="some value" near ATTRS{product}=="Canon CAPT USB Device", copy the serial value.

  1. Write new udev rule
sudo nano /etc/udev/rules.d/99-printer.rules

place following code

SUBSYSTEMS=="usb", ATTRS{serial}=="some value", SYMLINK+="canonLBP"
  1. reboot udev service
sudo systemctl restart systemd-udevd.service
  1. Turn off and on the printer and check the rule
ls -al /dev/canonLBP

if you see /dev/canonLBP -> usb/lp0 you are good to go

  1. Update ccpdadmin
sudo ccpdadmin -p LBP-810 -o /dev/canonLBP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment