Wednesday, May 1, 2019

printing - What's the difference between LPR and cupswrapper drivers? How to install printer drivers?


I'm considering getting a Brother HL2230 printer. I can't find that printer listed in https://www.openprinting.org/printers


However there're a few HL2230 Linux drivers available in http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-2230


What's the difference between LPR driver and cupswrapper driver? Which one should I use for Ubuntu?


And once I download the driver how to I install it?


Thanks



LPR is part of the cups-client package - it provides interfaces that allow printing via command line and apparently over the network. It appears the lpr packages provides needed information and utilities, while the cupswrapper packages provide a wrapper for configuring cups (and depend on files from the LPR package being installed).


Most printers should be automatically configured when you plug in the USB as long as CUPS is installed (it looks for information on the printer, such as a PPD file, so it knows how to work with the printer), so you shouldn't need to install third party packages (see N.B.)


Otherwise, you will likely need to install BOTH packages - download the DEB files and install them, either by opening the downloaded files or using the command line - install the LPR file first:


sudo dpkg -i ~/Downloads/hl2230lpr-2.1.0-1.i386.deb
sudo dpkg -i ~/Downloads/cupswrapperHL2230-2.0.4-2.i386.deb

(where ~/Downloads/* is the path to the deb packages in the Downloads folder - you can also use gdebi instead of dpkg -i)


It is also mentioned here that using the driver info for the HL-2170W seems to work (from foomatic - you can install the foomatic packages using the package manager so you don't have to download the files from a website).


The manufacturer's instructions are available here. Similar instructions can be found here, as well as the recommendation to use a tool provided by Brother.


N.B: With some third party packages (not from the ubuntu repositories which you use with apt-get), they may not be well maintained and may use weird packaging methods - e.g. the provided packages appear to be converted using alien from a Redhat/Fedora RPM file, and do not specify dependcies such as bash, the LPR package, etc -->


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...