Difference between revisions of "Canon LBP-810"

From ArchWiki
Jump to navigation Jump to search
m (Redirect to CUPS/Printer-specific problems#CAPT instead)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#Redirect[[CUPS/Printer-specific problems#CAPT]]
= Introduction =
This manual describes how to get Canon LBP-810/LBP-1120 printer to work under Arch Linux.
{{Note | You must use an USB cable to connect your printer. If it only has a parallel port, I'm sorry but my driver won't work. [http://www.boichat.ch/nicolas/capt/]}}
Install the following packages with [[pacman]]:
*cups foomatic-db foomatic-filters;
*[https://aur.archlinux.org/packages.php?ID=42293 capt-lbp]. Package is available in the [[AUR]].
# pacman -S cups foomatic-db foomatic-filters
# pacman -U capt-lbp-0.4-2-i686.pkg.tar.xz
{{Note |Before going any further see the [[cups]] page and check if the user you are currently logged as (not root) is in the group {{ic|lp}} }}
Verify group:
# grep lp /etc/group
See if the printer is connected to the computer by checking {{ic|dmesg}} and {{ic|lsusb}} command output it should tell you something like this:
# Bus 005 Device 002: ID 04a9:260a Canon, Inc. CAPT Printer
After that start the CUPS daemon:
# /etc/rc.d/cupsd start
Add the printer using {{ic|lpadmin}}, it should be located at {{ic|/dev/usb/lpX}} where X is the corresponding number for printer. check if the {{ic|usblp}} kernel module is loaded again by using the {{ic|dmesg}} command
# lpadmin -p <printer name> -v <device URI> -P /usr/share/cups/model/Canon-LBP-810-capt.ppd -E
Device URI like {{ic|/dev/usb/lpX}}.
If you recieve:
lpadmin: File device URIs have been disabled! To enable, see the FileDevice directive in "/etc/cups/cupsd.conf".
Add the following to {{ic|/etc/cups/cupsd.conf}}:
# Allow new printers to be added using device URIs "file:/filename"
FileDevice Yes
If you have done the previous steps then the printer should be visible from the web based CUPS configruation tool http://localhost:631
Change the '''DeviceURI''' section in {{ic|/etc/cups/printers.conf}} to
DeviceURI file:///dev/null
and {{ic|/etc/capt.conf}} to match the corresponding device e.g {{ic|/dev/usb/lpX}}. If the file {{ic|/etc/capt.conf}} is only available on record, then change the permissions: {{ic|chmod o+w /etc/capt.conf}}.
And finally restart CUPS:
# /etc/rc.d/cupsd restart

Latest revision as of 00:09, 27 October 2015