From: Laurence O. <lau...@or...> - 2004-12-01 14:49:10
|
On Wed, 2004-12-01 at 04:31, bbales wrote: > Think of me as a newby with a five-week-old PSC1210. > Somewhere I'm missing something. I can scan, but can't print. Running RedHat > 9.0. Printer is HP PSC1210 and I had previously set it up on another older > and slower RH 9 system and it printed (with "lpr <file-name>" only) and > scanned. Wouldn't print a cups test page. > > On my wife's machine it won't print at all, but scans. > > installed libusb-0.1.6-3 > installed libusb-devel-0.1.6-3 > installed hpijs-1.6.1-1 > installed hpoj-0.91-1 > > as root, /usr/local/sbin/ptal-init setup > > in cups (http://localhost:631) select "add a printer" and select the device: > > [betty@betty log]$ ptal-device > mlc:usb:psc1200 > [betty@betty log]$ ptal-devid > MFG:Hewlett-Packard;MDL:psc 1200 > series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN:CN42QG301Y5H;S:0380008000820000002c1481061c > 2501061; > [betty@betty log]$ ptal-print `ptal-device` </dev/null > ptal-print: connecting to device "mlc:usb:psc1200"... successful. > [betty@betty log]$ ptal-connect `ptal-device` -service ECHO > ptal-connect: connecting to device "mlc:usb:psc1200"... successful. > goneaway > goneaway > blahblah > blahblah > > [betty@betty log]$ su > Password: > [root@betty log]# ptal-init start > > Stopping the HP OfficeJet Linux driver. > Starting the HP OfficeJet Linux driver. > mlc:usb:psc1200 > > [root@betty log]# > > Try to print a test page with http://localhost:631 and get: > Could not connect to remote server. > http://betty:631/printers/psd1200?op=print-test-page > > In a shell, I try "lpr testing " and it comes back with the prompt like it > sent it, but nothing from the printer and > "lpq" gives me > "psc1200 is ready no entries" > > /var/log/messages says "psc1200 successfully initialized" > > bruce I'm Presuming here that you have checked that the relevant servers are running:- cups, cups-lpd, hpoj, httpd, ptal-init, xinetd & on the cups page the printer is accepting jobs and is started. there was a problem with ptal-init where it didn't like the 'LANG=' shell variable set to anything but 'C', but I guess you've caught that one! Laurence |