Difference between revisions of "Canon LBP-810"

From ArchWiki
Jump to: navigation, search
(Configuration: lpadmin -m -> -P and additions to formatting.)
m (Introduction: Bold removed.)
Line 3: Line 3:
  
 
This manual describes how to get Canon LBP-810/LBP-1120 printer to work under Arch Linux.
 
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/]}}
+
{{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/]}}
  
 
=Requirements=
 
=Requirements=

Revision as of 17:27, 8 August 2012

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. [1]

Requirements

Install the following packages with pacman:

  • cups
  • foomatic-db foomatic-filters
  • capt-lbp
# pacman -S cups foomatic-db foomatic-filters
# pacman -U capt-lbp-0.4-2-i686.pkg.tar.xz

Configuration

Before going any further see the cups page and check if the user you are currently logged as (not root) is in the group "lp"

# grep lp /etc/group

See if the printer is connected to the computer by checking dmesg and 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 lpadmin, it should be located at /dev/usb/lpX where X is the corresponding number for printer. check if the usblp kernel module is loaded again by using the dmesg command

# lpadmin -p <printer name> -v <device URI> -P /usr/share/cups/model/Canon-LBP-810-capt.ppd -E

Device URI like /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 /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 /etc/cups/printers.conf to

...
DeviceURI file:///dev/null
...

and /etc/capt.conf to match the corresponding device e.g /dev/usb/lpX. If the file /etc/capt.conf is only available on record, then change the permissions: chmod o+w /etc/capt.conf.

And finally restart CUPS:

# /etc/rc.d/cupsd restart