Laserprinter
Hi all, Was not able to find it in the discussions. I am planning to find a laser-printer so I can ditch those inkjets I have. I only print some 10 pages a year or so. Are there any printers with good support for FreeBSD?
As malavon observes, you are mixing packages and ports. That's a bad idea. Don't use make(1) in the /usr/ports tree. Useroot@christian:/home/christian # hp-probe -busb
warning: hp-probe should not be run as root/superuser.
pkg install.sudo pkg install hplip-plugin
sudo pkg install hplip
hp-setup -b usb
I have windows desktop and the printer works fine, very easy setup. however I was hoping to eventually make my freebsd laptop a near daily driver. I am trying to learn FreeBSD as much as possible.As malavon observes, you are mixing packages and ports. That's a bad idea. Don't use make(1) in the /usr/ports tree. Usepkg install.
Also, you need to be root for much of this stuff, and you need to heed any specific warnings, like the one above.
I have to go out now, but will have a look at the rest of the trail a little later.
If you have access to Windows, try the printer on a Windows host. They are set up to work fairly easy on Windows.
[If you don't have Windows, you can download it, defer the licencing, install it on a USB stick, and do what you need.]
I think that there is still some hope. These printers will work with Unix, but are difficult. Try the suggestion re hplip above.Honestly at this point I think I am gonna throw in the towel for my printer on freebsd. Is there any easier more compatible printer with freebsd anyone recommends?
once i ran hp-setup -b usb i receive this:There are two options running in this thread. One is CUPS and the other is hplip. They are both capable of achieving a similar outcome.
For simplicity, I suggest you try the following as root:Be sure to verify that each step has worked (I expect that hplip is already installed, and that's OK).Code:sudo pkg install hplip-plugin sudo pkg install hplip hp-setup -b usb
hp-setup does is configure cups, which is easier than setting it up manually (at least from my experience). Am I right in thinking that you're not seeing a graphical window when you run hp-setup? Are you running it inside a graphical session or just from the console? It should show something like this, are you getting this? pkg info -d hplip py39-qt5-pyqt to check for dependencies and if they're all installed. They should be of course, but the line "error: Unable to load Qt4/Qt5 support. Is it installed?" in your trace doesn't give me much confidence in that.Whathp-setupdoes is configure cups, which is easier than setting it up manually (at least from my experience). Am I right in thinking that you're not seeing a graphical window when you run hp-setup? Are you running it inside a graphical session or just from the console? It should show something like this, are you getting this?
View attachment 19164
If you're not getting anything graphical, tell us in which terminal you're running it, if you're root etc. In that case also check the output ofpkg info -d hplip py39-qt5-pyqtto check for dependencies and if they're all installed. They should be of course, but the line "error: Unable to load Qt4/Qt5 support. Is it installed?" in your trace doesn't give me much confidence in that.
Just for completeness, although I wouldn't recommend switching printers just because you're not getting it configured in FreeBSD, I have used it before for an older OfficeJet and a LaserJet M479. Both were just a few clicks (networked). The only thing I'm not so sure about is changing the USB mode, I have no idea if HP will have expected that change.
You can check https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index for supported printers, but you'll notice yours is there (although listed to require the "plugin"). Note that printing on FreeBSD isn't different from Linux, they're basically the same drivers etc. HP fully supports it.
pkg delete hplip-plugin hplip
pkg install hplip-plugin hplip
hp-setup -b usb again.root@christian:/home/christian # pkg delete hplip-plugin hplipIt's not clear to me what you have installed from ports and what from packages, and which port installations have failed.
Please do the following, as root:If anything fails or produces an error message, we need to see it.Code:pkg delete hplip-plugin hplip pkg install hplip-plugin hplip
Once you know the packages are installed, you can tryhp-setup -b usbagain.
# cd /usr/ports/print/hplip-plugin
# make install clean
This is obviously not going to work as I explained in my post early in this thread.pkg install hplip-plugin
/usr/local/libexec/cups/backend/usb can be used to check if CUPS is going autodetect your USB printer.Originally, I used hplip driver (from print/hplip-plugin), but several years ago I switched to print/foo2zjs, because I had grown tired of building the port (it's restricted, so there is no official package for it).
You are entirely correct, which is quite usual, but your original point was somewhat obscure. I had to read it again several times to be sure of what you said.This [pkg install hplip-plugin] is obviously not going to work as I explained in my post early in this thread.
I suggested trying the "magic" HP commands because it seemed that a USB mode switch might be required, and I expected that a HP proprietary setup would manage that seamlessly (i.e. without more input from the forum -- which was already arduous).If you want to keep messing with "magic" HP commands, that's you choice.
Good Day,cdominguez_96 there are plenty of how-to-s on how to set up a CUPS printer (most easily, using its web administration interface).
If you install foo2zjs , just configure you printer like you would any other printer.
If you want to keep messing with "magic" HP commands, that's you choice.
P.S.
/usr/local/libexec/cups/backend/usbcan be used to check if CUPS is going autodetect your USB printer.
All I needed to do is to install the package.I installed foo2zjs and get up to 2) Go to tmp directory and run getweb script. # cd /tmp && getweb all from FreshPorts
I see that you solved the problem in a different wayI have purchased a brother HL-L2460DW.
It sorta worked out for the best because my dad needed a printer, and as most know this printer is older and works fine on windows. I felt it was time for an upgradeAll I needed to do is to install the package.
Apparently, this printer does not require any firmware upload or anything like that.
I see that you solved the problem in a different way![]()