» Installation » 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.
he following files are installed in 32-bit systems:
"cndrvcups-common-x.xx-x.i386.rpm" : common module for CUPS drivers
"cndrvcups-capt-x.xx-x.i386.rpm" : CAPT printer driver module
The following files are installed in 64-bit systems:
"cndrvcups-common-x.xx-x.x86_64.rpm" : common module for CUPS drivers
"cndrvcups-capt-x.xx-x.x86_64.rpm" : CAPT printer driver module
The following files are installed in 32-bit Debian systems:
"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 "Installation".
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.
Version 2.20 or later common modules support combinations of version 2.20 or later CAPT printer drivers.
If you want to use LBP9100Cdn, LBP7200Cdn, LBP6300dn, LBP5300, LBP5100, LBP5050 Network Model, LBP5000, LBP3500, LBP3310, or LBP3300 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 [file name of common module for CUPS drivers]
For deb packages:
Enter the following command:
# dpkg -i [file name of common module for CUPS drivers]
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 [file name of the CAPT printer driver module]
For deb packages:
Enter the following command:
# dpkg -i [file name of the CAPT printer driver module]
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.
Depending on the distribution you are using, the "For deb packages" command may not be entered. In this case, enter the "For rpm packages" command.
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://localhost:59687 –E
Example: To register the LBP5000 in the print spooler as "LBP5000":
/usr/sbin/lpadmin -p LBP5000 -m CNCUPSLBP5000CAPTK.ppd -v ccp://localhost:59687 –E
NOTE
For the PPD file corresponding to your printer, refer to "Supported Canon Products" of "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].
If multiple printers are simultaneously connected by USB cables, the port numbers for [Printer Device Path] registered first may be changed depending on the order of turning the power ON and so on. In this case, you need to register [Printer Device Path] again or match the port numbers by adjusting the order of plug-in or turning the power ON.
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.
01WW-006