From Mandriva Community Wiki
Thanks to email@example.com(nospam).cz and all the people at the HPOJ project and thanks to Aron Smith for passing it on.
Hello, I wrote a small HOWTO for installing psc1210 on RedHat 8.0 and 9.0. It can be probably used for other distributions too, but I can't check it (it is a question of the paths).
The HOWTO is basicly the same as the one writen by hpoj devel team (http://hpoj.sourceforge.net/hpoj-0.91/doc/index.html). I added only few choices specific for psc 1210. In the end is help, howto set up printer for OpenOffice.org
- Install hpijs - download from http://hpinkjet.sourceforge.net/install.php instruction also there. Follow only steps 1 and 2. Step 3 (printer configuration) you will do later.
- download hpoj 0.91 from http://prdownloads.sourceforge.net/hpoj/hpoj-0.91.tgz?download extract it somewhere (/tmp for example) by running : "tar -xzf hpoj-0.91.tgz"
- go to the directory : "cd hpoj-0.91" 4. run : "./configure" 5. run : "make" 6. as root run : "make install" 7. connect printen to USB a turn it on,as root run : "ptal-init setup" you should see something like:
[root@broucek1 hpoj-0.91]# ptal-init setup
Stopping the HP OfficeJet Linux driver
This program manages devices controlled by the HP OfficeJet Linux driver (hpoj). It attempts to probe your computer for local parallel- and USB-connected devices, and allows you to specify network addresses for remote JetDirect-connected devices.
If you experience any difficulties in detecting your device(s), then refer to the hpoj documentation for troubleshooting information.
Currently defined device names ([*]=default): "mlc:usb:psc_1200_series" Model is "psc 1200 series". Serial number is "MY38TF91845H".
Press alone to continue, or if you would like to delete or reconfigure one of the above-listed devices, then enter the device name to delete here --->
Press "Enter" Probe for parallel-connected devices ([y]/n)? "n" (PSC1210 use USB) Probe for USB-connected devices ([y]/n)? "Enter"
Press alone to continue, or if you would like to add a JetDirect-connected device, then enter its dotted-decimal IP address or hostname here --->
Finally you see :
Starting the HP OfficeJet Linux driver. mlc:usb:psc_1200_series
You can chceck printer by running : "ptal-hp device" Those are informations about my printer (ptal-hp device command output):
Model name: psc 1200 series Model number: 1200 Serial number: MY38TF91845H Firmware version: R0024xxNx Firmware datecode: (unavailable)
connection had been established, time to configure cups: as root run: "/etc/init.d/cups restart" !! 9. in your www browser look at page : http://localhost:631, choose Administration and log in as root 10. choose Manage printers -> Add printer Name: name of the print queue Location: /usr/local/sbin/ptal-cups Description: This is my psc1210 (for example)
choose: "PTAL mlc:usb:psc_1200_series (Hewlett-Packard psc 1200 series)" If you don't see this ption (instead you see : PTAL device is not connected) restart cups ("/etc/init.d/cups restart") and run add printer again. It helped me.
Model/Driver coose "HP"
choose: "HP PSC 1210 Foomatic/hpijs (recomended) (en)"
Setting done, you can print test page.
Setting printer for OpenOffice.org
"cd /usr/share/ppd/HP" "gunzip HP-PSC_1210-hpijs.ppd.gz"
Run OpenOffice.org Printer Setup Tool (I dont have OOo in english, so maybe the original english names are little bit different from the ones I use here)
"New Printer" "Add Printer" -> Next "Import" -> Next set directory to "/usr/share/ppd/HP", then you should see driver for psc1210 available. Select it and "OK" -> Next Command for this driver: "lpr -P [Name of the printer in cups (queue)]" -> Next Name of the printer - the mane used in OO -> Finish
and you are done
For scanning to work in Mandriva 2010.0, make sure this package is installed: libsane-hpaio1 and also (these are probably already installed): hplip hplip-hpijs hplip-hpijs-ppds
Scanning in both RH8 and RH9 works imediatelly - just run "xsane".
If you have any question, please ask. I didn't have any problems while installing drivers just FOLLOW CAREFULLY MANUAL (http://hpoj.sourceforge.net/hpoj-0.91/doc/index.html).
Josef Kana :