I have this MFP laser from HP and can't find a way to install this device.
I found some informations about an hp repository where the HP M276nw should be part of but I did not find the right ppd driver file and a step by step solution.
Thx for any further help and descriptions about this CUPs adventure.
-
- Posts: 25182
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: How to get and install an HP M276nw driver?
If it is actually a HP LaserJet Pro 200 Color MFP m276nwtypxxi wrote:I have this MFP laser from HP and can't find a way to install this device.
I found some informations about an hp repository where the HP M276nw should be part of but I did not find the right ppd driver file and a step by step solution.
Thx for any further help and descriptions about this CUPs adventure.
http://hplipopensource.com/hplip-web/mo ... 276nw.html
Supported by HPLIP 3.12.9, therefore Raspbian Jessie and:
Code: Select all
sudo apt-get update
sudo apt-get install hplip cups
Code: Select all
sudo usermod -a -G lpadmin pi
The information is out there....you just have to let it in.
Re: How to get and install an HP M276nw driver?
Hey,
unfortunately even after a reboot I am not able to install a printer.
If I open the website (http://192.168.xxx.xxx:631/) I see V 1.7.5 and if I try to add a printer I get a connection refused error from http://192.168.xxx.xxx:631/admin.
Any ideas?
Thx
P.S.: It's a connection problem: 127.0.0.1:631 works
unfortunately even after a reboot I am not able to install a printer.
If I open the website (http://192.168.xxx.xxx:631/) I see V 1.7.5 and if I try to add a printer I get a connection refused error from http://192.168.xxx.xxx:631/admin.
Any ideas?
Thx
P.S.: It's a connection problem: 127.0.0.1:631 works
WOLF
- DougieLawson
- Posts: 40509
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: How to get and install an HP M276nw driver?
http://www.penguintutor.com/linux/printing-cups
Change the config to allow connections from anywhere in the 192.168.xx.xx/24 subnet.
Try httpS://192.168.3.14:631 (changed to your hidden address) and login with your pi userid (as long as pi is in the lpadmin group)
Change the config to allow connections from anywhere in the 192.168.xx.xx/24 subnet.
Try httpS://192.168.3.14:631 (changed to your hidden address) and login with your pi userid (as long as pi is in the lpadmin group)
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: How to get and install an HP M276nw driver?
OK, here a few comments:
On the raspi I am able to open the cups admin page via 127.0.0.1:631 and to add a printer.
If I am trying to select the modell the ephiphany Browser is running under heavy load.
The first problem is that there are 8 or 10 drivers with the exact same description - no difference.
The second problem: I do not get an add button to add the selected printer modell.
Even after a minute there is a still growing list of HP Printers where I can select the right one but there is still no button for adding this printer.
If I start TOP in the terminal session I see the browser running at 103% ... but nothing happens for minutes inside the browser window where the progress bar stays still.
stop, after 5 or 6 minutes while typing here the site was completly loaded and now there is the add button.
On the raspi I am able to open the cups admin page via 127.0.0.1:631 and to add a printer.
If I am trying to select the modell the ephiphany Browser is running under heavy load.
The first problem is that there are 8 or 10 drivers with the exact same description - no difference.
The second problem: I do not get an add button to add the selected printer modell.
Even after a minute there is a still growing list of HP Printers where I can select the right one but there is still no button for adding this printer.
If I start TOP in the terminal session I see the browser running at 103% ... but nothing happens for minutes inside the browser window where the progress bar stays still.
stop, after 5 or 6 minutes while typing here the site was completly loaded and now there is the add button.
WOLF
- DougieLawson
- Posts: 40509
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: How to get and install an HP M276nw driver?
Change this stuff in /etc/cups/cupsd.confrestart cupsd and you'll be able to access it from ANY machine in your local subnet. It's a bunch easier doing it from Firefox or Chromium on Windows. If you can't do that install Chromium 48 on your RPi (because that's less likely to crash than Epiphany).
Code: Select all
Listen 0.0.0.0:631 # change me
...
<Location />
Order allow,deny
Allow @LOCAL # change me
</Location>
...
<Location /admin>
Order allow,deny
Allow @LOCAL # change me
</Location>
...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM # leave me alone
Order allow,deny
</Location>
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: How to get and install an HP M276nw driver?
Thanks Dougie, but unfortunatelly I have more questions than answers
I don't know if something went wrong, but when I tried this sudo nano /etc/cups/cupsd.conf I found only one "listen".
That syntay looked very different to your "Listen 0.0.0.0:631 # change me" and therefore I am asking
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
Shall I change "Listen /var/run/cups/cups.sock" into "Listen 0.0.0.0:631" or the IP of my Win 10 Laptop?
I am not sure if 0.0.0.0 is something like a mask.
What else do I have to do at the "change me" lines?
<Location />
Order allow,deny
Allow @LOCAL # change me (into what? my laptop IP adress or just delete @LOCAL)
</Location>
...
<Location /admin>
Order allow,deny
Allow @LOCAL # change me (into what? my laptop IP adress or just delete @LOCAL)
</Location>
...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM # leave me alone (what do I have to do here?)
Order allow,deny
Sorry, but I am very unfamiliar with that stuff and I do not want to make a mistake and restore the SD again and again.

I don't know if something went wrong, but when I tried this sudo nano /etc/cups/cupsd.conf I found only one "listen".
That syntay looked very different to your "Listen 0.0.0.0:631 # change me" and therefore I am asking
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
Shall I change "Listen /var/run/cups/cups.sock" into "Listen 0.0.0.0:631" or the IP of my Win 10 Laptop?
I am not sure if 0.0.0.0 is something like a mask.
What else do I have to do at the "change me" lines?
<Location />
Order allow,deny
Allow @LOCAL # change me (into what? my laptop IP adress or just delete @LOCAL)
</Location>
...
<Location /admin>
Order allow,deny
Allow @LOCAL # change me (into what? my laptop IP adress or just delete @LOCAL)
</Location>
...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM # leave me alone (what do I have to do here?)
Order allow,deny
Sorry, but I am very unfamiliar with that stuff and I do not want to make a mistake and restore the SD again and again.
WOLF
- DougieLawson
- Posts: 40509
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: How to get and install an HP M276nw driver?
Just download my cupsd.conf from: https://github.com/DougieLawson/Raspber ... aster/cups
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: How to get and install an HP M276nw driver?
Hey,
that works fine. The web page with the selection of HP Pinter is now - on my W 10 Laptop - instantly (fast) available and no page forward waitings I had on my raspi epiphany browser.
Great job, well done.
If any other might follow: to restart cups try this sudo /etc/init.d/cups restart
Meanwhile I got chromium running on my newest raspi 3 B where it amazing fast(er) than on the 2 B.
Thx a lot for all of your support.
that works fine. The web page with the selection of HP Pinter is now - on my W 10 Laptop - instantly (fast) available and no page forward waitings I had on my raspi epiphany browser.
Great job, well done.
If any other might follow: to restart cups try this sudo /etc/init.d/cups restart
Meanwhile I got chromium running on my newest raspi 3 B where it amazing fast(er) than on the 2 B.
Thx a lot for all of your support.

WOLF
Re: How to get and install an HP M276nw driver?
I checked this with the initial conf file I got from the installer and at first sight I was confused and it looked like that all CHANGE ME lines were already adapted, but I was wrong.
Restart cupsd: sudo /etc/init.d/cups restart
But thanks again for your quick and efficient support.
I only had to change better add these 2 linesDougieLawson wrote:Change this stuff in /etc/cups/cupsd.confCode: Select all
Listen 0.0.0.0:631 # change me ... <Location /> Order allow,deny Allow @LOCAL # change me </Location> ... <Location /admin> Order allow,deny Allow @LOCAL # change me </Location> ... <Location /admin/conf> AuthType Default Require user @SYSTEM # leave me alone Order allow,deny </Location>
Code: Select all
Listen 0.0.0.0:631 # ADD ME
...
<Location /admin>
Order allow,deny
Allow @LOCAL # ADD ME
</Location>
But thanks again for your quick and efficient support.
WOLF