hp deskjet 5150

Indeed. Mine is Brother MFC. No drivers on FreeBSD or many Linux distro's. Must do some tests sending directly to lp. It works with a toner.
 
My Brother MFC (laser) works without any Brother drivers. I use the everywhere driver--not only on FreeBSD but also tested on several Linux distributions.
 
Someone gave me an old hp deskjet 5150. How would I go about finding out if I can do anything useful with it from FreeBSD?
I have more than 20 years old Hp business Inkjet 3000 and I have installed cups and hplip and hplip plugins. Long time I am using USB connection but also long time I had network connection.
First cupsd must run and than open hplip manager and try to install.
 
It should show in the cups web page. From the link fernandel gave

Adding a printer is generally as easy as clicking "Add Printer" at the Administration screen of the CUPS web interface, or clicking one of the "New Printers Found" buttons also at the Administration screen.When presented with the "Device" drop-down box, simply select the desired locally-attached printer, and then continue through the process.If one has added the print/gutenprint-cups or print/hplip ports or packages as referenced above, then additional print drivers will be available in the subsequent screens that might provide more stability or features.
 
Is there any way to tell if CUPS can actually see my printer?

The printer is connected by a USB cable.
it is unclear to us as to what steps you have actually taken to investigate this issue. have you opened the web interface? have you looked at logs?

stop asking context-free questions and instead say what you have tried, what responses you got, and what you expected to happen instead.
 
Not much there is there?

I'm still no wiser.

I can't yet tell if I need a specific driver for the hpdeskjet 5150 and if so what is it called and where to get it from.
can you respond to any of the questions we have posed? have you opened the CUPS web interface? what happens when you do that?
 
can you respond to any of the questions we have posed? have you opened the CUPS web interface? what happens when you do that?
I have opened it and have a mass of information.

I can run lpadmin -p printername but have no idea if that has done anything.

I can't tell if I need a specific printer driver and if so what is it called and where would I get it.
 
I have opened it and have a mass of information.

I can run lpadmin -p printername but have no idea if that has done anything.

I can't tell if I need a specific printer driver and if so what is it called and where would I get it.
can you post any of this information, so other people can see it? we cannot see your screen from here.

have you installed hplip? that is the modern HP inkjet stack. Then, you should be able to delete whatever you have configured from the cups UI, add a new printer, and it should largely autodetect. If it does not, show us what happened.
 
you already quoted where we correct ourselves and say to use hplip. for the nth time, what steps have you taken to interact with CUPS?
I have attached a cable, run usbconfig to see if my computer sees the printer, and installed cups.

Also added these statements to/etc/rc.conf:-
cupsd_enable="YES"
devfs_system_ruleset="system"
 
What is the result of lpstat -p? That should list any available printers.
For example, I have one printer, which I call BrotherMFC. If I run cupsd, and the printer is not on, I get
Code:
printer BrotherMFC is idle.  enabled since Tue Feb 10 13:14:43 2026

If I turn on the printer I get the same thing. So, it basically tells me that I have an enabled printer that is idle. :)
But it lets me know I have a configured printer.
 
can you post any of this information, so other people can see it? we cannot see your screen from here.

have you installed hplip? that is the modern HP inkjet stack. Then, you should be able to delete whatever you have configured from the cups UI, add a new printer, and it should largely autodetect. If it does not, show us what happened.
hplip is installed.

The only command I have run is lpadmin -p printername

I guess I need to use drv:///sample.drv/deskjet.ppd HP DeskJet Series somewhere but not sure where.


Do I need to run something like - lpadmin -p printername -E -v socket://11.22.33.44 -m drv:///sample.drv/laserjet.ppd ?
 
there is a reason we keep suggesting to use the CUPS UI. please try using the CUPS UI to set up the printer initially. It also lets you set it as default.

also when you run a command, it does nobody any good to say that you ran the command without also telling us its output.
 
What is the result of lpstat -p? That should list any available printers.
For example, I have one printer, which I call BrotherMFC. If I run cupsd, and the printer is not on, I get
Code:
printer BrotherMFC is idle.  enabled since Tue Feb 10 13:14:43 2026

If I turn on the printer I get the same thing. So, it basically tells me that I have an enabled printer that is idle. :)
But it lets me know I have a configured printer.
I doubt whether I have a configured printer.


➜ ~ lpstat -p
printer myprinter disabled since Sat Feb 7 00:09:57 2026 -
reason unknown

I did originally call it myprinter
 
there is a reason we keep suggesting to use the CUPS UI. please try using the CUPS UI to set up the printer initially. It also lets you set it as default.

also when you run a command, it does nobody any good to say that you ran the command without also telling us its output.
lpadmin -p printername does not have any output.

I have not run anything else because I don't know what to run.

I'm trying to establish whether there is any interaction between CUPS and my printer.

As I mentioned this is the first time I have installed CUPS and am not even sure whether the printer works.
 
in order to do that, you need to configure the printer in CUPS. it is easiest to do this from the web ui. configure the printer from the web ui.
 
I have more than 20 years old Hp business Inkjet 3000 and I have installed cups and hplip and hplip plugins. Long time I am using USB connection but also long time I had network connection.
First cupsd must run and than open hplip manager and try to install.
➜ ~ service cupsd status
cupsd is running as pid 4325.
I have hplip installed but no idea what it does.

➜ ~ man hplip
No manual entry for "hplip"
 
hplip is a CUPS driver, which should be autodetected from the CUPS UI when you add a printer. Delete the printer you added, and add a new printer from the CUPS UI, which you can get to by visiting http://localhost:631/ on the machine, if it's got a UI running.

If the machine is headless, do SSH port forwarding from a machine with a web browser ssh -L6631:localhost:631 user@host — if you do that, you'll have to visit http://localhost:6631/ in your browser (your ssh client can't bind to the privileged port 631)
 
Back
Top