Title: hplip-2.8.2.uci Description: hplip hp printer utility Version: 2.8.2 Author: see http://hplip.sourceforge.net Original-site: http://hplip.sourceforge.net Copying-policy: GPLv2 -----==[ Color = green Filesize: 6.45MB ]==----- Extension by: juanito Comments: Also contains: libusb-0.1.12 see http://libusb.sourceforge.net/ net-snmp-5.4.1 see http://www.net-snmp.org/ ***Requires the following mydsl extensions*** cups-1.3.5.uci python-2.3.uci hplip-2.8.2_site-packages.tar.gz ***Optional mydsl extensions*** hplip_ppd.tar.gz [collection of ppd printer files for hp printers] sane.uci [to scan with an hp all-in-one] samba-3.uci [to share printers with windows machines] ---------- How-to setup a printer 1. choose the hplip-2.8.2 menu item or click on the icon: ..this will load default conf files into /etc/hp and /etc/sane.d 2. start cups-1.3.5 as per cups-1.3.5.uci.info 3. first search the web for a ppd file for your printer ..or use hplip_ppd.tar.gz from mydsl testing ..click on the add printer button in the cups browser interface ..and follow the instructions. ..choose device uri of the form hp:/usb/OfficeJet_G85?serial=SGG13E0C49VL [for example] 4. to test the printer ..click on the print test page button in the cups browser interface ..$ lp -d OfficeJetG85 filename [for example] ..$ hp-testpage ---------- How-to setup a the fax part of an all-in-one 1. $ sudo mkdir /usr/share/cups ..$ sudo mkdir /usr/share/cups/model ..$ sudo cp /opt/hplip-2.8.2/share/ppd/HP/HP-Fax-hplip.ppd.gz /usr/share/cups/model ..$ mkdir /home/dsl/.hplip [fax address book will be saved here] ..# hp-setup -g -i --type=fax --fax=OfficeJetK80Fax [for example] 2. to test the fax ..$ hp-sendfax -f1234567 -n filename [example] ---------- How-to setup the scanner part of an all-in-one 1. hplip should find the scanner on its own ..but if it doesnt ..$ hp-info [should show the scanner uri] ..$ scanimage -L [should discover the scanner] 2. to test the scanner: ..$ hp-scan -n -r75 --size=a4 ..$ scanimage --format tiff > test.tiff ..$ hp-scan -n --editor=gimp [to scan into mydsl gimp extension] 3. to scan from the mydsl gimp extension: ..$ sudo ln -s /opt/sane/bin/xscanimage /home/dsl/.gimp-1.2/plug-ins/xscanimage ..navigate to file/acquire/xscanimage/device dialog in gimp-1.2 4. for a dsl machine to act as a scanner server, the following files need to be modified ../etc/inetd.conf ..add sane-port stream tcp nowait root /opt/hplip/sbin/saned saned ../etc/services ..add sane-port 6566/tcp # SANE network scanner daemon ../etc/sane.d/saned.conf ..add ip address(es) of scanner clients 5. for a dsl machine to act as a scanner client, the following files need to be modified ../etc/sane.d/net ..add ip address of scanner server 6. for a w2k or winxp machine to act as a client to a dsl scanner server, you need the ..sanetwain software. ---------- In order for the printer to persist after rebooting, add the following to your backup: /etc/cups/printers.conf /etc/cups/ppd/OfficeJetG85.ppd [for example] /var/cache/cups/ppds.dat /etc/cups/cupsd.conf (only if you changed it) /etc/foomatic/filter.conf (only if you changed it) /etc/hp/hplip.conf (only if you changed it) /etc/sane.d/dll.conf (only if you changed it) /etc/sane.d/net.conf [if you have a networked scanner client] /etc/sane.d/saned.conf [if you have a networked scanner server] /etc/inetd.conf [if you have a networked scanner server] /etc/services [if you have a networked scanner server] ---------- To add multiple printers to firefox: ..enter about:config in the url box ..double-click on print.printer_list ..enter the names of your cups printers separated by spaces ---------- printing from command line, beaver, ted, firefox, openoffice.uci tested OK printing from dsl to dsl attached printer over local network not tested yet printing from w2k & winxp to dsl attached printer over local network not tested yet [requires samba] printing from dsl to w2k attached printer over local network not tested yet [requires samba] hp-fax/cups fax gives errors on my OfficeJetG85/K80 - confirmed as a bug by hplip forum scan from command line & from within gimp-1.2 mydsl extensions tested OK scan over local network from dsl, w2k & winxp not tested yet Change-log: first version Current: 2008/04/01