This section describes how to install and uninstall a printer driver on Ubuntu 8.10.

Preparation

Preparing the printer driver package

Download the following archived file from the Canon Web site:

cnijfilter-mx330series-3.10-x-i386-deb.tar.gz

"3.10-x" in the above files is the version number.

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.

Install

You must use the root authority when installing the printer driver.
With Ubuntu, use the sudo command to install the printer driver.

When asked for a password, enter the password of the user who is currently logged in.
In Ubuntu, the root password is not set as the default.

1. Install printer driver.

Install the printer driver by entering the following command from the command line of a terminal software.

1) Expanding the archived file and switching to the expanded directory

[user@zzz /yyy]$ tar zxvf cnijfilter-mx330series-3.10-x-i386-deb.tar.gz
[user@zzz /yyy]$ cd cnijfilter-mx330series-3.10-x-i386-deb

2) Installing the printer driver

[user@zzz /yyy]$ sudo ./install.sh

2. Restart the CUPS daemon.

Enter the following from the command line of a terminal software:

[user@zzz /yyy]$ sudo /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 a terminal software. You can specify the desired name as the [printer_name].

sudo /usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v cnijusb:/[USB_port] -E

If you specify "MX330" as the [printer_name]:

[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -p MX330 -m canonmx330.ppd -v cnijusb:/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 a terminal software.
Specify this setting only as necessary.

sudo /usr/sbin/lpadmin -d [printer_name]

Example:

[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -d MX330

5. Restart the computer.

Uninstall

You must use the root authority when uninstalling the printer driver.
With Ubuntu, use the sudo command to uninstall the printer driver.

When asked for a password, enter the password of the user who is currently logged in.
In Ubuntu, the root password is not set as the default.

1. Delete the printer from the spooler.

Delete the registered printer from the spooler using the lpadmin command with the command line of a terminal software.

sudo /usr/sbin/lpadmin -x [printer_name]

If the [printer_name] is "MX330."

[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -x MX330

2. Uninstall the printer driver.

Uninstall the printer driver by entering the following command from the command line of the terminal software.

[user@zzz /yyy]$ sudo cnijfilter-mx330series-deb-pkgconfig.sh --uninstall