This section describes how to install a printer driver in Fedora 7.
If you want to install the printer driver, start Linux and log in as root.
Preparation
Changing the SELinux settings
The following settings are required if you cannot perform the printing operation:
1) Select [System] - [Administration] - [Firewall and SELinux] from the desktop panel.
2) At the [Security Level Configuration] window, change the [SELinux Setting] on the [SELinux] tab to "Permissive."
Connecting the machine
Before installing the printer driver, connect the computer and the machine with a USB cable and turn on the machine.
![]() |
If a window that prompts you to add a printer is automatically displayed when you connect the machine, cancel the window by closing it. |
Preparing the printer driver
Before using the printer driver, you must install the "common package" and the "model-specific package."
cnijfilter-common-2.80-x.i386.rpm --- common package
cnijfilter-mp520series-2.80-x.i386.rpm --- model-specific package
First download the above files from the Canon Web site.
("2.80-x" in the above files is the version number.)
Install
1. Install printer driver.
Install the printer driver sequentially (first the "common package" and then the "model-specific package") by executing the rpm command from the command line of the terminal software.
1) Installing the common package
[root@zzz /yyy]# rpm -ivh cnijfilter-common-2.80-x.i386.rpm
2) Installing the model-specific package
[root@zzz /yyy]# rpm -ivh cnijfilter-mp520series-2.80-x.i386.rpm
![]() |
Be sure to install the printer driver in the sequence indicated above. |
![]() |
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 MP520 as the [printer_name]:
[root@zzz /yyy]# /usr/sbin/lpadmin -p MP520 -m canonmp520.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.
Specify this setting only as necessary.
/usr/sbin/lpadmin -d [printer_name]
Example:
[root@zzz /yyy]# /usr/sbin/lpadmin -d MP520
5. Restart the computer.
![]() |
If the Driver UI does not start even when the --gui option is specified in the cif command, specify the following setting:
|
![]() |
The Status Monitor may not be displayed properly if the LAN environment has been configured and the IP address has been specified. |