This section describes how to install a printer driver in Fedora Core 6.
If you want to install the printer driver, start Linux and log in as root.
Preparation
Installing the insufficient package
Depending on the selected installation type, the package required to install the printer driver may not be installed.
If such is the case, install the following packages before installing the printer driver:
libxml-1.8.17-xxx.i386.rpm
gtk+-1.2.xxx.i386.rpm
Make sure to install it as shown below:
# rpm -ivh gtk+-1.2.xxx.i386.rpm --nodeps
glib-1.2.xxx.i386.rpm
Changing the SELinux settings
The following settings are required if you cannot perform the printing operation:
1) Select [System] - [Administration] - [Security Level and Firewall] from the desktop panel.
2) Change the [SELinux Setting] on the [SELinux] tab to [Permissive].
Connecting the printer
Before installing the printer driver, connect the computer and the printer with a USB cable and turn on the printer.
Preparing the printer driver rpm
Before using the printer driver, you must install the "common package" and the "model-specific package."
cnijfilter-common-2.70-x.i386.rpm -------- Common package
cnijfilter-mp510-2.70-x.i386.rpm -------- Model-specific package
Download the above .rpm files from the Canon Web site in advance.
(Where "2.70-x" in the above .rpm files is the version number.)
Install
1. Install printer driver.
Install the printer driver in order of the "common package" and the "model-specific package" by using the rpm command from the command line of the terminal software.
1) Installing the common package
[root@zzz /yyy]# rpm -ivh cnijfilter-common-2.70-x.i386.rpm
2) Installing the model-specific package
[root@zzz /yyy]# rpm -ivh cnijfilter-mp510-2.70-x.i386.rpm
![]() |
Refer to the following URL for the detailed information about the rpm command: |
2. Restart the CUPS daemon.
Enter the following from the command line of the terminal software:
[root@zzz /yyy]# /etc/init.d/cups restart
![]() |
Do not register the printer with the lpadmin command before you restart the CUPS daemon. |
3. Register the printer to the spooler.
Register the printer to the spooler by using the lpadmin command from the command line of the terminal software. You can specify the desired name as the [printer_name].
/usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v [device_URI] -E
If you specify MP510 as the [printer_name]:
[root@zzz /yyy]# /usr/sbin/lpadmin -p MP510 -m canonmp510.ppd -v cnij_usb:/dev/usb/lp0 -E
4. Set the default printer.
Set the default printer to be used when the [printer_name] is omitted in the print command from the command line of the terminal software.
/usr/sbin/lpadmin -d [printer_name]
Example:
[root@zzz /yyy]# /usr/sbin/lpadmin -d MP510
5. Restart the computer.
![]() |
The following settings are required for printing with the Driver UI of the cif command:
|
![]() |
The Status Monitor may not be displayed properly if the LAN environment has been configured and the IP address has been specified. |