Hello, very much a noob here.
I have followed a tutorial to turn my Pi into a print server.
http://rohankapoor.com/2012/06/configur ... nt-server/
However I am having a problem getting CUPS to auto detect my printer.
My Pi is connected to my router by a LAN cable and the printer is connected wirelessly.
Although I can ping the printer successfully, it doesn't show up in CUPS.
Can anybody point me in the right direction?
Bellow are the outputs of a couple of commands that my help.
pi@raspberrypi ~ $ avahi-browse -a -v -c -r
Server version: avahi 0.6.31; Host name: raspberrypi.local
E Ifce Prot Name Type Domain
+ eth0 IPv4 HOMEBACKUP: LinkStation Web Site local
+ eth0 IPv4 HOMEBACKUP Web Site local
+ eth0 IPv4 raspberrypi [b8:27:eb:7b:58:6b] Workstation local
+ eth0 IPv4 raspberrypi Remote Disk Management local
+ eth0 IPv4 HP Photosmart B110 series @ raspberrypi Internet Printer local
= eth0 IPv4 HOMEBACKUP: LinkStation Web Site local
hostname = [HOMEBACKUP.local]
address = [192.168.1.61]
port = [3689]
txt = ["Database ID=beddab1edeadbea7"]
= eth0 IPv4 HOMEBACKUP Web Site local
hostname = [HOMEBACKUP.local]
address = [192.168.1.61]
port = [80]
txt = []
= eth0 IPv4 raspberrypi [b8:27:eb:7b:58:6b] Workstation local
hostname = [raspberrypi.local]
address = [192.168.1.64]
port = [9]
txt = []
= eth0 IPv4 raspberrypi Remote Disk Management local
hostname = [raspberrypi.local]
address = [192.168.1.64]
port = [22]
txt = []
= eth0 IPv4 HP Photosmart B110 series @ raspberrypi Internet Printer local
hostname = [raspberrypi.local]
address = [192.168.1.64]
port = [631]
txt = ["printer-type=0x900E" "printer-state=3" "Scan=F" "Sort=F" "Bind=F" "Punch=F"
"Collate=F" "Copies=F" "Staple=F" "Duplex=F" "Color=T" "Fax=F" "Binary=F" "Transparent=F"
"TLS=1.2" "UUID=1ea31821-4ffb-3209-4623-7c45bc75dc5a" "URF=DM3" "pdl=application/octet-
stream,application/pdf,application/postscript,image/jpeg,image/png,image/urf" "product=(HP
Photosmart Wireless All-in-one Printer - b110)" "priority=0" "note=Office"
"adminurl=http://raspberrypi.local:631/printers/H ... 110_series" "ty=HP Photosmart
b110 Series, hpcups 3.12.10a" "rp=printers/HP_Photosmart_B110_series" "qtotal=1" "txtvers=1"]
: Cache exhausted
pi@raspberrypi ~ $ lpinfo -l -v
Password for pi on 192.168.1.64?
Device: uri = socket
class = network
info = AppSocket/HP JetDirect
make-and-model = Unknown
device-id =
location =
Device: uri = ipp
class = network
info = Internet Printing Protocol (ipp)
make-and-model = Unknown
device-id =
location =
Device: uri = hp
class = direct
info = HP Printer (HPLIP)
make-and-model = Unknown
device-id =
location =
Device: uri = ipps
class = network
info = Internet Printing Protocol (ipps)
make-and-model = Unknown
device-id =
location =
Device: uri = lpd
class = network
info = LPD/LPR Host or Printer
make-and-model = Unknown
device-id =
location =
Device: uri = https
class = network
info = Internet Printing Protocol (https)
make-and-model = Unknown
device-id =
location =
Device: uri = http
class = network
info = Internet Printing Protocol (http)
make-and-model = Unknown
device-id =
location =
Device: uri = beh
class = network
info = Backend Error Handler
make-and-model = Unknown
device-id =
location =
Device: uri = smb
class = network
info = Windows Printer via SAMBA
make-and-model = Unknown
device-id =
location =
Device: uri = hpfax
class = direct
info = HP Fax (HPLIP)
make-and-model = Unknown
device-id =
location =
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: CUPS not detecting Wireless Printer
Personally with HP products like your HP Photosmart B110 series always use the HPLIP software
http://hplipopensource.com/hplip-web/index.html
Code: Select all
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install hplip hplip-gui
Take what I advise as advice not the utopian holy grail, and it is gratis !!
Re: CUPS not detecting Wireless Printer
Thanks for the quick reply.
I already had hplip installed but not set up (I think) but maybe not hplip-gui.
Anyway, having never seen nor run the dist-upgrade before, my pi was busy for quite a while.
I have since rebooted and run hp-setup and hp-toolbox.
hp-setup did not detect the printer, I had to supply the ip address and then it couldn't detect the correct PPD file.
I have a PPD called 'hp-photosmart_b110_series.ppd' but I'm not sure if it is the correct file as I might have cobbled it together after reading something somewhere some while back.
How/where do I get the correct PPD?
I tried adding a second instance of the printer using 'HP-Fax-hpcups.ppd' and for the first time ever something (pages of symbols) actually printed.
So I am getting closer!
Any further help would be most appreciated.
I already had hplip installed but not set up (I think) but maybe not hplip-gui.
Anyway, having never seen nor run the dist-upgrade before, my pi was busy for quite a while.
I have since rebooted and run hp-setup and hp-toolbox.
hp-setup did not detect the printer, I had to supply the ip address and then it couldn't detect the correct PPD file.
I have a PPD called 'hp-photosmart_b110_series.ppd' but I'm not sure if it is the correct file as I might have cobbled it together after reading something somewhere some while back.
How/where do I get the correct PPD?
I tried adding a second instance of the printer using 'HP-Fax-hpcups.ppd' and for the first time ever something (pages of symbols) actually printed.
So I am getting closer!
Any further help would be most appreciated.
Re: CUPS not detecting Wireless Printer
I have a HP wireless printer. Is hplip a list of HP programs, drivers for Linux?fruitoftheloom wrote:Personally with HP products like your HP Photosmart B110 series always use the HPLIP softwarehttp://hplipopensource.com/hplip-web/index.htmlCode: Select all
sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install hplip hplip-gui
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: CUPS not detecting Wireless Printer
HPLIP is drivers, configurations files and command line utilities:Woll wrote:I have a HP wireless printer. Is hplip a list of HP programs, drivers for Linux?fruitoftheloom wrote:Personally with HP products like your HP Photosmart B110 series always use the HPLIP softwarehttp://hplipopensource.com/hplip-web/index.htmlCode: Select all
sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install hplip hplip-gui
http://hplipopensource.com/hplip-web/te ... index.html
HPLIP-GUI is a Graphical Front End for HPLIP.
fyi CUPS uses HPLIP to configure compatible HP printers.
Take what I advise as advice not the utopian holy grail, and it is gratis !!
Re: CUPS not detecting Wireless Printer
Thanks for the reply.HPLIP is drivers, configurations files and command line utilities:
http://hplipopensource.com/hplip-web/te ... index.html
HPLIP-GUI is a Graphical Front End for HPLIP.
fyi CUPS uses HPLIP to configure compatible HP printers.
So I'll need to install CUPS as well.
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: CUPS not detecting Wireless Printer
HPLIP from repository will also install CUPS........Woll wrote:Thanks for the reply.HPLIP is drivers, configurations files and command line utilities:
http://hplipopensource.com/hplip-web/te ... index.html
HPLIP-GUI is a Graphical Front End for HPLIP.
fyi CUPS uses HPLIP to configure compatible HP printers.
So I'll need to install CUPS as well.
Take what I advise as advice not the utopian holy grail, and it is gratis !!
Re: CUPS not detecting Wireless Printer
Thanks for the advice. I'll have a go at installing it after I finish work tomorrow.
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?
Re: CUPS not detecting Wireless Printer
For those interested in what Debian has to say about printing, here's a link to their cryptic "treatise" on the subject: https://www.debian.org/doc/manuals/debi ... ng.en.html
Larry
Unfortunately, I'm unable to discern from that document whether Debian, as delivered, is able to actually print without installation of additional packages."This program is divided over several Debian packages: cups is the central print server; cups-bsd is a compatibility layer allowing use of commands from the traditional BSD printing system (lpd daemon, lpr and lpq commands, etc.); cups-client contains a group of programs to interact with the server (block or unblock a printer, view or delete print jobs in progress, etc.); and finally, cups-driver-gutenprint contains a collection of additional printer drivers for cups. ..."
Larry
There is no expedient to which a man will not resort
to avoid the real labor of thinking.
-- Sir Joshua Reynolds
to avoid the real labor of thinking.
-- Sir Joshua Reynolds