View previous topic :: View next topic |
Author |
Message |
Becks Tux's lil' helper
Joined: 06 Dec 2002 Posts: 90
|
Posted: Mon Mar 10, 2003 7:24 pm Post subject: Adding a Printerdriver to Cups |
|
|
Ok,
i installed cups and found out how to install a printer using the webinterface. But when i had a look at the list of supported drivers my printer (Hp 2200D) was missing. On hp.sourceforge.net i found a solution for redhat and mandrake using their way to upgrade the system and the pure printer drivers (ending on .ppd).
So what next ? I didn't find a hint how i could update the database of drivers so i di it the dirty way:
1) Install a printer on cups
It doesn't matter what kind of printer you choose, simply take one and install it the normal way.
2) Open a shell and change to /etc/cups/ppd
You'll find a file there with the same name you have chosen while installing it in 1). Simply replace this file with the printer driver you have found somewhere else (like on hp.sourceforge.net).
3) restart cupsd
4) Open the printer configuration panel of cups (localhost:631/printers -> configure) and change the settings (f.e. paper size) to your own needs.
That's all and it worked for me when installing a HP 2200D on my machine.
Alex |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Mon Mar 10, 2003 9:40 pm Post subject: |
|
|
hpijs-1.3.1.ebuild wrote: |
einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file"
einfo "for your printer. You may obtain it from:"
einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
einfo "Install it in /usr/share/cups/model. After restarting cups you should be"
einfo "able to use the new driver."
else
einfo "To use the hpijs driver with the PDQ spooler you will need the PDQ driver file"
einfo "for your printer from http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
einfo "This file should be installed in /etc/pdq/drivers"
|
_________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
Ka6aH n00b
Joined: 30 Oct 2002 Posts: 4
|
Posted: Thu Mar 13, 2003 3:13 am Post subject: |
|
|
There is another way to add drivers to cups. In my example I install drivers for Lexmark Optra S series printer (there is no driver for it in gimp-print & cups packages)
First, going to http://www.easysw.com/printpro/software.php, accepting license (if you accept terms & conditions of this license, of course), choose operating system (Linux 2.4 Intel glibc 2.2 in our case), "continue download software" and choose vendor of our printer (Lexmark in our case).
After download we have file printpro-lexmark-4.3.tar.gz.
Code: | cd /tmp
mkdir printpro
cd printpro # create temporary directory for our drivers
tar -zxpvf /path/to/drivers/printpro-lexmark-4.3.tar.gz # unpack archive
tar -xpvf printpro-lexmark.ss # unpack drivers
su - # switch to super user
cp -a /tmp/printpro/usr/share/cups/model/en/ /usr/share/cups/model/ # copy drivers to cups
/etc/init.d/cupsd stop # "hard" cups daemon restart
/etc/init.d/cupsd start
rm -rf /tmp/printpro # cleanup
|
After this step cups have needed driver. Now go to http://localhost:631/ and configure cups as usual. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|