Wikis - Page

Using iPrint with Ubuntu

0 Likes

Introduction



The iPrint client that is provided by Novell is a RPM package. To let Debian-based Linux distributions, such as Ubuntu Linux, use the iPrint client, you need to take a few steps to convert the RPM into a Debian package. Note that because this is not officially supported by Novell, don't expect any technical support when you run into problems. This tip assumes that you are working in a Ubuntu environment.

Before I begin, I should state that the posting in Ubuntu's forum is where I got my information from.

Making the Debian Package



When you visit the iPrint page with the printers, e.g. http://iprintserver/ipp, you can choose to install the iPrint client or install one of the printers. If you choose to install a printer, the system should inform you that you don't have the client and prompt you to install it.



In any case you will have to install the iPrint client first. The Web page should be able to detect your operating system. If you are using Linux, regardless of either SUSE Linux or Ubuntu Linux, you will download a RPM file. This is the RPM file that you will convert to get the Debian package.

Download the RPM file to a directory of your choosing. I assume here that you download it to your home directory. Start your terminal/console/command prompt or whatever you call it. It should directly bring you to your home directory. We will use the "alien" program to convert the RPM file to a DEB file. So you have to make sure that "alien" is installed.

sudo apt-get install alien


You will be prompted to enter your sudo pasword. After alien is installed, run the following command to convert your RPM file.

sudo alien -d --scripts novell-iprint-xclient.i586.rpm


You will then find a file named something like this:
novell-iprint-xclient-sl_6.500.20070508-2_i386.deb.

You can also convert the package in SUSE Linux. You will have to install alien and be root before you can convert the package.


Preparing for Installation



Before you install the iPrint Debian package, ensure that you have the package libglitz-glx1 installed. You can do so with

sudo apt-get install libglitz-glx1


You can now proceed to install the Debian package with your GUI by right-clicking on it and choose Open with "GDebi Package Installer"



The package should be installed. You might encounter a "75" error if you did not install libglitz-glx1 beforehand. Don't worry about it, you can proceed with the next step.

Run the following commands:

. /opt/novell/iprint/bin/iprint-gnome-init


If the command above completes without any error, proceed with the next one.

. /etc/profile.d/novell-iprint.sh


The next thing you should do is to check whether the plugin exists for Firefox.


cd /usr/lib/firefox/plugins/
ls

If you don't see the file npnipp.so, type the following


ln -s /opt/novell/iprint/plugin/npnipp.so


You're Done!



Then open up Firefox and go to the printer page. This time, install the printer drivers again. It should ask you for a confirmation on whether you want to install the printer driver. Click Yes to proceed.

Labels:

How To-Best Practice
Comment List
Parents
  • I'm having the same problem with Firefox 3. I tried with Ubuntu and OpenSUSE, on both systems Firefox stops responding at the installation of the printer. To fix this i tried to install the printer via the command-line tool iprntcmd which failed with an error message "*** glibc detected *** iprntcmd: double free or corruption (!prev): 0x08062478 ***", followed by a very long backtrace. Manual installation via the printer-admin dialog was not an option for me, as i cannot select a ppd file (the driver is not provided in the default ppds of cups). Using the web configuration interface of cups (http://localhost:631) you can install the printer via "Administration->Add Printer" without any problems. Just select the "Internet Printing Protocol (iprint)" when asked for the device and provide the Device URI for your iPrint Server (i.e. iprint://iprint.example.com/ipp/printer_xyz) in the next step. Authentication for secure ipp-printers via iPrint client works fine, too.

Comment
  • I'm having the same problem with Firefox 3. I tried with Ubuntu and OpenSUSE, on both systems Firefox stops responding at the installation of the printer. To fix this i tried to install the printer via the command-line tool iprntcmd which failed with an error message "*** glibc detected *** iprntcmd: double free or corruption (!prev): 0x08062478 ***", followed by a very long backtrace. Manual installation via the printer-admin dialog was not an option for me, as i cannot select a ppd file (the driver is not provided in the default ppds of cups). Using the web configuration interface of cups (http://localhost:631) you can install the printer via "Administration->Add Printer" without any problems. Just select the "Internet Printing Protocol (iprint)" when asked for the device and provide the Device URI for your iPrint Server (i.e. iprint://iprint.example.com/ipp/printer_xyz) in the next step. Authentication for secure ipp-printers via iPrint client works fine, too.

Children
Related
Recommended