https://wiki.archlinux.org/api.php?action=feedcontributions&user=Bob+Sheep&feedformat=atomArchWiki - User contributions [en]2024-03-29T06:51:26ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=HP_Photosmart_2575&diff=42999HP Photosmart 25752008-06-13T21:12:53Z<p>Bob Sheep: /* Setup method with hplip */ changed pyqt to pyqt3</p>
<hr />
<div>[[Category:Printers (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==Choosing connection method==<br />
<br />
Determine method for connecting device. In my case I installed it over the network (192.168.50:9100) because I wanted other computers to be able to use it on my network without needing to set up all kinds of things for printer sharing from linux to linux and linux to windows. If you are connecting via USB then follow the instructions regarding USB printers on [[CUPS]] first.<br />
<br />
==Setup method with hplip==<br />
<br />
Determine the printer IP address. In this example 192.168.1.111 will be used. Install hplip, all other required packages are selected as dependencies, including cups, foomatic-db, foomatic-db-hpijs, foomatic-db-engine and sane.<br />
<br />
<pre># pacman -Sy hplip<br />
# hp-setup 192.168.1.111</pre><br />
<br />
In dialogs from hp-setup you can leave the defaults. The model in printer name is by default set to 2570 and you can rename it to 2575 if you want to. After hp-setup is finished, both printer and scanner should work. It is probably wise to ensure your printer/scanner always has this same IP address, you can set this in your router DHCP server settings or set the printer to static IP address via its web interface.<br />
<br />
Optionally install pyqt for graphical frontend before you run hp-setup and to enable HP Device Manager for monitoring and controlling your printer/scanner after install. In this case, you will also have to allow temporal usage of your X session for other users, namely for root:<br />
<pre>$ xhost +localhost<br />
$ su<br />
# pacman -S pyqt3<br />
# hp-setup 192.168.1.111<br />
# exit<br />
$ xhost -localhost</pre><br />
<br />
==Setup method without hplip==<br />
<br />
===Install foomatic and cups packages===<br />
<br />
The following packages will need to be installed:<br />
foomatic-db-engine foomatic-db-ppd foomatic-filters cups<br />
<pre># pacman -Sy foomatic-db-engine foomatic-db-ppd foomatic-filters cups</pre><br />
<br />
After installing packages, start the CUPS daemon by running <pre># /etc/rc.d/cups start</pre><br />
<br />
Restart CUPS if the foomatic packages weren't installed and CUPS was already installed and running.<br />
<br />
===Configure the printer in CUPS===<br />
<br />
Download the [http://openprinting.org/ppd-o-matic.cgi?driver=hpijs&printer=HP-PhotoSmart_2570&show=0 HP-PhotoSmart_2570-hpijs.ppd] and save to a place you can access easily.<br />
<br />
If you use KDE, I recommend using its interface. Run<br />
<pre>$ kcmshell printers</pre> and go through the dialog. You can also access the dialog by running<br />
<pre>$ kprinter</pre> and clicking the wand that says "Add printer..."<br />
<br />
If you prefer, go through the [http://localhost:631 CUPS configurator]. This doesn't do quite as much probing, but will get the job done. If you need your printer's IP address, on the printer itself, hit setup, Network, View Network Settings, Display Wired Summary. The port should be TCP 9100.<br />
<br />
==Testing and troubleshooting==<br />
<br />
If you installed everything the test page should print correctly and you are good to go!<br />
<br />
Test scanner with:<br />
<pre>$ scanimage -L</pre><br />
You should get output like:<br />
<pre>device `hpaio:/net/Photosmart_2570_series?ip=192.168.1.111' is a Hewlett-Packard Photosmart_2570_series all-in-one</pre><br />
If only root can find scanner, make sure you are member of scanner group. If even root cannot find it, make sure hpaio is enabled (not commented out) in /etc/sane.d/dll.conf<br />
<br />
--[[User:Erroneous|Erroneous]] 01:06, 19 February 2007 (EST)</div>Bob Sheep