2. Installing/Uninstalling 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.

The following files are installed in 32-bit systems:

The following files are installed in 64-bit systems:

The following files are installed in 32-bit Debian systems:

Note

1

Start Linux, and log in as 'root'.

$ su

2

Install the common module for CUPS drivers.
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 UFR II printer driver module.
For rpm packages:

Enter the following command:

# rpm -ivh [file name of the UFR II printer driver module]

For deb packages:

Enter the following command:

# dpkg -i [file name of the UFR II 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.

5

Register the printer (PPD) with the print spooler.

Note

Parallel Connection

Enter the following lpadmin command:

# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v parallel:/dev/lp0 -E

USB Connection

Enter the following lpadmin command:

# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v usb:/dev/usb/lp0 -E

Network Connection (IPv4)

Enter the following lpadmin command:

# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v lpd://[Device IP address or FQDN]/[Printer Name] -E

Example: To register the iRC3180 in the print spooler as "CANON-iRC3180":

/usr/sbin/lpadmin -p CANON-iRC3180 -m CNCUPSIRC3180ZK.ppd -v lpd://172.23.2.72/CANON-iRC3180 -E

Network Connection (IPv6)

Enter the following lpadmin command:

<When using a global address>

# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v lpd://[Device IP address]/[Printer Name] -E

Example: To register the iR3225 in the print spooler as "CANON-iR3225" (IP address: 3ffe:1:1:10:feb0:0:1234:5678):

/usr/sbin/lpadmin -p CANON-iR3225 -m CNCUPSIR3225ZK.ppd -v lpd://[3ffe:1:1:10:feb0:0:1234:5678]/CANON-iR3225 -E

<When using a link local address>

# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v lpd://[[Device IP address]+[Network interface]]/[Printer Name] -E

Example: To register the iR3225 in the print spooler as "CANON-iR3225" (IP address: fe80::200:85ff:1234:5678, network interface: eth0):

/usr/sbin/lpadmin -p CANON-iR3225 -m CNCUPSIR3225ZK.ppd -v lpd://[fe80::200:85ff:1234:5678+eth0]/CANON-iR3225 -E

Note

  • IPv6 network connection is only supported by iR3225/3230/3235/3245.
  • 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.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.
go to top
< Previous / Next >