Difference between revisions of "Canon LBP-810"

From ArchWiki
Jump to: navigation, search
Line 24: Line 24:
 
  # /etc/rc.d/cups start
 
  # /etc/rc.d/cups start
  
Add the printer using "lpadmin", Device URI should be "/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
+
Add the printer using "lpadmin", the device should be found 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> -m /usr/share/cups/model/Canon-LBP-810-capt.ppd
+
  
 +
# lpadmin -p <printer name> -v <device URI> -m /usr/share/cups/model/Canon-LBP-810-capt.ppd -E
 +
 
 
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''':
 
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''':
  
Line 45: Line 45:
 
and '''/etc/capt.conf''' to match the corresponding device e.g "/dev/usb/lpX".
 
and '''/etc/capt.conf''' to match the corresponding device e.g "/dev/usb/lpX".
  
Restart CUPS:
+
And finally restart CUPS:
  
 
  # /etc/rc.d/cups restart
 
  # /etc/rc.d/cups restart

Revision as of 20:57, 31 October 2010

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-filter
  • capt-lbp

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"

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/cups start

Add the printer using "lpadmin", the device should be found 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> -m /usr/share/cups/model/Canon-LBP-810-capt.ppd -E
 

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".

And finally restart CUPS:

# /etc/rc.d/cups restart