DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st March 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default [SOLVED] setup Hp-officejet-6830

Hi,
i try to setup my printer, is a hp-officejet-6830, i was compiled /print/cups15 and /print/hplip, ithe database of PPD are created by footmatic-db. I do hp-setup 192.168.0.7
But when i try to test print this is my output :

Code:
---------------------
| PRINTER TEST PAGE |
---------------------


Would you like to print a test page (y=yes*, n=no, q=quit) ? y
warning: hp-testpage should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.15.11)
Testpage Print Utility ver. 6.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected

Done.
Regards
Philippe

Last edited by philo_neo71; 3rd March 2016 at 08:55 PM.
Reply With Quote
  #2   (View Single Post)  
Old 1st March 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Is your printer active on your network? Can you ping(8) it? HP printers respond to ping(). If there is no response, you have a network connection problem.
Reply With Quote
  #3   (View Single Post)  
Old 1st March 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Quote:
dct-clovis# ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
64 bytes from 192.168.0.7: icmp_seq=0 ttl=255 time=2.148982 ms
64 bytes from 192.168.0.7: icmp_seq=1 ttl=255 time=0.861812 ms
64 bytes from 192.168.0.7: icmp_seq=2 ttl=255 time=1.159475 ms
64 bytes from 192.168.0.7: icmp_seq=3 ttl=255 time=1.307901 ms
^C
----192.168.0.7 PING Statistics----
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.861812/1.369543/2.148982/0.551738 ms
dct-clovis#
== ping OK ! of course it's run
Reply With Quote
  #4   (View Single Post)  
Old 1st March 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

If I recall correctly, hp-setup requires CUPS. You've built it. Is your cupsd daemon running?

While I use a different OS, I also have an HP printer on my network.
Code:
$ host printer
printer.jggimi.homeip.net has address 10.0.4.131
$ ping printer
PING printer.jggimi.homeip.net (10.0.4.131): 56 data bytes
64 bytes from 10.0.4.131: icmp_seq=0 ttl=254 time=3.562 ms
64 bytes from 10.0.4.131: icmp_seq=1 ttl=254 time=3.710 ms
64 bytes from 10.0.4.131: icmp_seq=2 ttl=254 time=5.306 ms
--- printer.jggimi.homeip.net ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.562/4.193/5.306/0.790 ms
$ hp-setup -i printer

HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

Setting up device: hp:/net/HP_LaserJet_400_color_M451nw?hostname=printer


---------------------
| PRINT QUEUE SETUP |
---------------------

warning: One or more print queues already exist for this device: printer.

Would you like to install another print queue for this device (y=yes, n=no*, q=quit) ? 


Done.
$
Reply With Quote
  #5   (View Single Post)  
Old 1st March 2016
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Here we are dealing with multiple separate problems. Getting your printer is relatively easy using in stack LPD and foomatic-rip which unfortunately no longer has support for LPD so you will have to play trick with it. . Please look for my post "OpenBSD to remain CUPS free". foomatic-filters are now of cups-filters package (might be different on pkgsrc comparing to OpenBSD). Secondary issue is if you want to get scanner working. I am not sure on NetBSD but on OpenBSD used to be that you would have to disable ulpt driver so that all-in-one gets connected via ugen driver. I am not sure that this is any longer needed at least on OpenBSD since two weeks ago somebody gave me Epson WorkForce846 all-in-one and I no longer needed to disable ulpt driver. Both ulpt, and ugen got attached to the all-in-one and after adding

usb 0x04b8 0x0892

line to epson2.conf I got scanner working. Unfortunately WorkForce 845 is paper-weight unless you are using Linux driver which contains hidden proprietary bloob.

Back to your HP. Your all-in-one should not have any problem being fully functional. Ah I almost forgot. The last thing is enabling FAX machine. I have not had a land line at home for over 8 years now so I forgot how it worked but I remember that I used to be able to send and receive faxes from HP devices. HPLIP proprietary frontend indeed requires CUPS as pointed out by jggimi.

Last edited by Oko; 3rd March 2016 at 09:22 PM.
Reply With Quote
  #6   (View Single Post)  
Old 3rd March 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Hi,
Thanks at all man, my printer after your post running !

Threads/Post SOLVED

Regards
Philippe
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me setup my new router Sonya FreeBSD General 8 16th July 2013 11:33 AM
authpf setup dbach OpenBSD General 14 19th January 2013 04:25 AM
Need help with NAT setup Quaxo OpenBSD Installation and Upgrading 6 27th January 2009 08:03 PM
DJ Setup tad1214 FreeBSD General 8 21st July 2008 01:50 PM
How To Setup WPA? warriors OpenBSD General 8 15th June 2008 04:39 PM


All times are GMT. The time now is 04:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick