I have installed an HP_LaserJet_P1005 printer (I'm an expert on
this printer. It needs a special driver ... not a routine install).
I have used this printer before on the same computer, but today I
upgraded from a somewhat broken Lenny distro to a new Squeeze/XFCE distro. The CUPS web interface (localhost:631) shows the printer
and allows to print a test page, which looks fine.
I can even print an e-mail from gmail. All my command-line tools
are broken however. Here is sample output.
richard@feynman:~/aainfors$ lpr testing.txt
lp is ready and printing
Rank Owner Job Files Total Size
active richard 17 testing.txt 16 bytes
richard@feynman:~/aainfors$ lpq -PHP_LaserJet_P1005
lpq: HP_LaserJet_P1005: unknown printer
richard@feynman:~/aainfors$ lp testing.txt
request id is HP-LaserJet-2200-14 (1 file(s))
Note the following:
lpr says it's printing (but nothing ever comes out).
lp goes to a different printer (and that's not a local printer, and it doesn't work ... I don't care about that printer).
Somehow I think I need to get the CUPS queue for HP_LaserJet_1005P
connected to lpr. I can't figure out how to do that. I don't know
why CUPS didn't do that. One additional hint is I had to
apt-get install lpr
after installing cups. So lpr wasn't there ...
Help would really be appreciated. I am a ten-year user of Debian/Ubuntu and have set up dozens of machines. I generally know my way around. If there are some .conf files to look for or touch I would be happy to do that.