If you want to install the printer driver in Fedora or openSUSE, log in as root.
In Ubuntu, use the sudo command to install the printer driver.
![]() |
When asked for a password in Ubuntu, enter the password of the user who is currently logged in. |
1. Install printer driver
Install the printer driver by entering the following command from the command line of a terminal software.
For Fedora 12/openSUSE 11.2
1) Expanding the archived file and switching to the expanded directory
[root@zzz /yyy]# tar zxvf cnijfilter-mx340series-3.30-x-i386-rpm.tar.gz
[root@zzz /yyy]# cd cnijfilter-mx340series-3.30-x-i386-rpm
2) Installing the printer driver
[root@zzz /yyy]# ./install.sh
For Ubuntu 9.10
1) Expanding the archived file and switching to the expanded directory
[user@zzz /yyy]$ tar zxvf cnijfilter-mx340series-3.30-x-i386-deb.tar.gz
[user@zzz /yyy]$ cd cnijfilter-mx340series-3.30-x-i386-deb
2) Installing the printer driver
[user@zzz /yyy]$ sudo ./install.sh
When the installation is completed, a message instructing you to register the printer is displayed.
Next, register the printer to the computer.
Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
>
Check that the machine is properly connected and that the power is on. Then press the Enter key.
2. Select the connection method
Select the connection method for this machine.
Select the connection method to be used, and then press Enter.
1) USB
2) Network
Select the connection method.[1]
For a USB connection, enter "1" and press the Enter key.
For a network connection, enter "2" and press the Enter key.
The default selection value is displayed in [ ].
3. Select the printer
From the list of detected printers, select the printer to be registered.
1) Example when USB is selected
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
----------------------------------------------------------
0) Update
----------------------------------------------------------
Target printers detected
1) Canon MX340 series (/dev/usb/lp0)
----------------------------------------------------------
Currently selected:[1] Canon MX340 series (/dev/usb/lp0)
Enter the value. [1]
![]() |
When connection of another printer model is confirmed, "Other printers detected" is displayed. |
Enter the number of the printer to be registered, and then press Enter.
To update the list of detected printers, enter "0" and press the Enter key.
To end the installation without registering the printer, enter "Q" and press the Enter key.
2) Example when Network is selected
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
----------------------------------------------------------
0) Update
----------------------------------------------------------
Target printers detected (MAC address IP address)
1) Canon MX340 series (XX-XX-XX-XX-XX-XX YYY.YYY.YYY.YYY)
2) Canon MX340 series (XX-XX-XX-XX-XX-XX YYY.YYY.YYY.YYY)
----------------------------------------------------------
Currently selected:[1] Canon MX340 series (XX-XX-XX-XX-XX-XX YYY.YYY.YYY.YYY)
Enter the value. [1]
In an actual message, "XX-XX-XX-XX-XX-XX" shown in the above example displays the MAC address and "YYY.YYY.YYY.YYY" displays the IP address.
If the network contains more than one printer of the target model (Canon MX340 series), the message lists multiple "Target printers."
In this case, check the MAC address and IP address from the operation panel, and select the number of the printer matching the displayed network address.
![]() |
When connection of another printer model is confirmed, "Other printers detected" is displayed. |
Enter the number of the printer to be registered, and then press Enter.
To update the list of detected printers, enter "0" and press the Enter key.
To end the installation without registering the printer, enter "Q" and press the Enter key.
![]() |
Check the MAC address and the IP address of this machine as follows: 1. Load the paper in the Rear Tray. 2. Select [Device settings] by repeatedly pressing the Menu button on the operation panel of the machine.
3. Use the
4. Use the 5. Check the [MAC Address] and the the [IP address] from the printed network settings. |
![]() |
If the printer registration procedure was terminated before completion or if you canceled processing by entering "Q," use lpadmin to register the printer.
|
4. Enter the registered printer name
Enter the registered printer name.
You can specify the desired name as the registered printer name.
Enter the printer name.[MX340USB]
Enter the registered printer name, and press the Enter key.
If the entered printer registration name is already registered, a message confirming whether you want to overwrite the existing information is displayed.
The printer name you entered already exists. Do you want to overwrite it?
Enter [y] for Yes or [n] for No.[y]
5. Set the default printer
Set the default printer to be used when the printer name is omitted in the print command.
Do you want to set this printer as the default printer?
Enter [y] for Yes or [n] for No.[y]
6. Installation complete
When the installation is completed, the name registered for the installed printer is displayed.
During printing, be sure to specify the printer name displayed here.
Example when "MX340USB" is registered as the printer name:
Installation has been completed.
Printer Name : MX340USB
Select this printer name for printing.
Registering the printer by using lpadmin (reference information)
If the printer registration procedure fails before completion or if the installation process is interrupted and the printer is not registered, you must use lpadmin to register the printer.
![]() |
To delete a printer that was registered with lpadmin, you must use lpadmin to delete it. |
If you want to install the printer driver in Fedora or openSUSE, log in as root.
In Ubuntu, use the sudo command to install the printer driver.
![]() |
When asked for a password in Ubuntu, enter the password of the user who is currently logged in. |
1. Restart the CUPS daemon
Enter the following from the command line of a terminal software:
For Fedora 12/openSUSE 11.2
[root@zzz /yyy]# /etc/init.d/cups restart
For Ubuntu 9.10
[user@zzz /yyy]$ sudo /etc/init.d/cups restart
![]() |
Do not register the printer with lpadmin before you restart the CUPS daemon. |
2. Register the printer to the spooler
Register the printer to the spooler by using lpadmin from the command line of a terminal software. You can specify the desired name as the [printer_name].
For a USB connection
/usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v cnijusb:/[USB_port] -E
If you specify "MX340USB" as the [printer_name]:
For Fedora 12/openSUSE 11.2
[root@zzz /yyy]# /usr/sbin/lpadmin -p MX340USB -m canonmx340.ppd -v cnijusb:/dev/usb/lp0 -E
For Ubuntu 9.10
[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -p MX340USB -m canonmx340.ppd -v cnijusb:/dev/usb/lp0 -E
For a LAN connection
/usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v cnijnet:/[MAC_address] -E
The MAC address is specified with uppercase letters and is separated by hyphens.
In the following example, the MAC address is "00:00:85:AB:C1:23" and if you specify "MX340LAN" as the [printer_name]:
For Fedora 12/openSUSE 11.2
[root@zzz /yyy]# /usr/sbin/lpadmin -p MX340LAN -m canonmx340.ppd -v cnijnet:/00-00-85-AB-C1-23 -E
For Ubuntu 9.10
[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -p MX340LAN -m canonmx340.ppd -v cnijnet:/00-00-85-AB-C1-23 -E
3. 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.
/usr/sbin/lpadmin -d [printer_name]
If the [printer_name] is "MX340USB":
For Fedora 12/openSUSE 11.2
[root@zzz /yyy]# /usr/sbin/lpadmin -d MX340USB
For Ubuntu 9.10
[user@zzz /yyy]$ sudo /usr/sbin/lpadmin -d MX340USB