» 2. Installing/Uninstalling the Printer Driver » Installing the Printer Driver
|
Installing the Printer Driver
The printer driver must be installed in order to print from Canon printers using Linux.
The installed files differ depending on the system environment you are using.
Install the following files (Other than in a Debian environment):
"cndrvcups-common-x.xx-x.i386.rpm" : common module for CUPS drivers
"cndrvcups-capt-x.xx-x.i386.rpm" : CAPT printer driver module
In a Debian environment, install the following files:
"cndrvcups-common_x.xx-x_i386.deb" : common module for CUPS drivers
"cndrvcups-capt_x.xx-x_i386.deb" : CAPT printer driver module
Note
The version of each module is indicated as "x.xx-x".
Before installing this driver, CUPS must be installed and started on the operating system. Also make sure that printers can be added and enabled by various services, according to the security level that has been set.
Because this printer driver uses the CAPT filter, Ghostscript needs to be installed and updated according to the system environment. Obtain a Ghostscript module from the website of each operating system's distributor in advance, according to the system environment.
If Canon CAPT Printer Driver for Linux Version 1.01 or later is installed, you can update the existing driver without uninstalling it. For details about updating the printer driver, refer to "Updating the Printer Driver" of "2. Installing/Uninstalling the Printer Driver".
To check the version of the printer driver you are using, refer to "Checking the Driver Version" in the "Appendix".
You cannot print with this printer driver if LBP-1210 is being used in parallel connection.
If you want to use LBP3310/5100/5300/3500/3300/5000 on a network, you need to set the IP address for the network board before installing the printer driver. For details on setting the IP address for the network board, see "Specifying the IP Address for the Network Board" in "Appendix".
1.
Start Linux after installation, and log in as 'root'.
$ su
2.
Install the common module for CUPS driver.
For rpm packages:
Enter the following command:
# rpm -ivh cndrvcups-common-x.xx-x.i386.rpm
For deb packages:
Enter the following command:
# dpkg -i cndrvcups-common_x.xx-x_i386.deb
Note
When you execute the rpm command from a directory, specify the path or use the cd command to change the current directory to the directory containing the printer driver files.
For details about the rpm command, enter "man rpm" with the terminal software, such as GNOME Terminal.
3.
Install the CAPT printer driver module.
For rpm packages:
Enter the following command:
#rpm -ivh cndrvcups-capt-x.xx-x.i386.rpm
For deb packages:
Enter the following command:
# dpkg -i cndrvcups-capt_x.xx-x_i386.deb
4.
Restart CUPS.
For rpm packages:
Enter the following command:
# /etc/init.d/cups restart
For deb packages:
Enter the following command:
# /etc/init.d/cupsys restart
Note
Do not register the printer using the "lpadmin" command before restarting CUPS.
5.
Register the printer (PPD) with the print spooler.
Enter the following command:
# /usr/sbin/lpadmin -p [printer name] -m [PPD file name] -v ccp:/var/ccpd/fifo0 -E
Example: To register the LBP5000 in the print spooler as "LBP5000":
/usr/sbin/lpadmin -p LBP5000 -m CNCUPSLBP5000CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
Note
For the PPD file corresponding to your printer, refer to "Supported Canon Products" of "1. Introduction".
6.
Register the printer in the ccpd daemon setup file.
USB Connection
Enter the following rpm command:
# /usr/sbin/ccpdadmin -p [Printer Name] -o [Printer Device Path]
Example: To register LBP5000 in the ccpd daemon setup file:
/usr/sbin/ccpdadmin -p LBP5000 -o /dev/usb/lp0
Note
Depending on the distribution you are using, "/dev/usblp*" may be displayed in [Printer Device Path].
Network Connection
Enter the following rpm command:
# /usr/sbin/ccpdadmin -p [Printer Name] -o net:[IP address]
Example: To register LBP5000 in the ccpd daemon setup file (IP address: 172.23.2.72):
/usr/sbin/ccpdadmin -p LBP5000 -o net:172.23.2.72
Note
In a LAN environment where IP addresses have been assigned, if the status of the printer cannot be displayed, the CUPS security settings must be changed. Add the set IP address to the following items in the cupsd.conf file (/etc/cups/cupsd.conf), and restart CUPS.
<Location />
<Location /admin>
Example:
:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From XXX.XXX.XXX.  (Substitute the set IP address here.)
</Location>
:
<Location /admin>
:
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From XXX.XXX.XXX.XXX  (Substitute the set IP address here.)
:
</Location>
For information about the security settings for networks, refer to the "CUPS Software Administrators Manual" at http://www.cups.org/sam.html.
7.
Start ccpd daemon.
Enter the following command.
# /etc/init.d/ccpd start
Note
It would be convenient to set ccpd daemon to start automatically when Linux starts up.