![]() |
Search |
| Home |
Desktop FreeBSD Part 5: PrintingBy Ed Hurst |Jun 11, 2007 at 14:45:2As a writer, the only reason I ever got that first computer was because it was far more efficient than a typewriter, and certainly more readable than my own handwriting. The sheer volume of what I've turned out over the years would be impossible for me to manage on paper. Add to that all the stuff written by others that I wanted to save, and it boggles the mind. Even though most of what I've written is read by others online, I still have to produce paper copies from time to time. That means I have to translate my electronic files into readable paper copies. That first computer would have been nearly useless to me without the attached printer. Open Source printing is one of the most powerful systems, yet remains an ugly kludge in some ways. When multi-user computing was born, printing was either from machines that were merely automated typewriters ("raw" printers) or the work of fancy type-setting printers. These two elements remain the heart of Open Source printing. It is not built into the system, but is an add-on if you need it. I no longer print very much, but when I do, it needs to be clean and readable. You should have gotten most of the basic packages when you elected to install KDE. It comes with CUPS, which is the main printer control software. With recent improvements in CUPS and how it has been ported to FreeBSD, it's now quite easy to set up. Much depends on your printer. The best place to learn how CUPS will handle your printer is to visit the Free Standards Group database to see if your printer will work with CUPS, and any peculiarities. For example, my HP DeskJet works fine with the standard HP drivers (HPIJS). It might offer more features if I were to install the newest HPLIP driver system from HP, but it's a real boondoggle on FreeBSD, and doesn't always work without breaking something else. While there at the Free Standards Group site, click on the link for "Printer information" and read up on recommended drivers. Then look for the input boxes which allow you input a request for the best driver for any particular supported printer. They will produce for you the latest version of the driver as a PPD file. Save it, then gzip it:
Copy it to the appropriate directory under /usr/local/share/ppd/. For example, HP DeskJet drivers go in /usr/local/share/ppd/HP/. If you have an oddball driver, simply drop it in the ppd directory. CUPS should still be able to find it. This assumes the most common types of hardware, which means a printer connected via a USB cable. If you are using an older parallel printer cable, you can skip the "devfs" items in 2, 3 and 4 below. Make sure the printer is plugged in appropriately and turned on. 1. Make sure the original BSD printer commands do
not conflict with those provided by the CUPS package. The built-in BSD
commands are in
Should you ever need to undo this, it's a simple matter of renaming these files back by removing the "bak." from the names. 2. In /etc/rc.conf, add
3. Then create
4. Run the command
5. Next, run the command
You should see a response indicating it's running. 6. Run this command to use Kongqueror as root:
This should open the CUPS administrative webpage on your system. For the most part, it's a simple matter of reading the instructions and following the steps provided. Basically, five items:
If it all works more or less as expected, you're done. Ed Hurst is Associate Editor of Open for Business. Article Path: Home: Computers and Technology: Linux and BSD on the Desktop: FreeBSD: Desktop FreeBSD Part 5: Printing Re: Desktop FreeBSD Part 5: Printing Very interesting article. Thank you. Posted by tomas peñalver - Jun 12, 2007 | 9:17:2 Re: Desktop FreeBSD Part 5: Printing Thanks. I always wondered why CUPS could not see the parallel port, the link you provided to Roland’s page did the trick. Posted by Antonios - Jun 13, 2007 | 13:0:5 Trackback: FreeBSD für den Desktop: Eine Anleitung Das FreeBSD auf dem Desktop nutzbar ist wird immer noch gerne Trackback from grUNIX - Aug 16, 2007 | 2:7:6 Re: Desktop FreeBSD Part 5: Printing So, what exactly is wrong with the built-in BSD-commands? Together with /usr/ports/print/apsfilter it is far easier to get going than CUPS. At least that’s what I experienced. Posted by Oliver Heesakkers - Aug 31, 2007 | 17:29:44 Please enter your comment entry below. Press 'Preview' to see how it will look. |
UPDATED: BSD on the DesktopBy Ed HurstIn an extensive multi-part report, OFB's Ed Hurst presents how the power of the FreeBSD operating system can be harnessed for the desktop. Using understandable instructions and relevant tips, Ed provides the tools for mere mortals to enjoy BSD's fabled stability. |
![]() |
Write for OFBOpen for Business accepts commentaries and other works on technology, current events, politics, philosophy, business and other relevant matters for publication. Commentaries should be 600-800 words in length, other works vary but should generally be kept to less than 1500 words. If you think you would like to contribute, contact OFB's editor, Timothy R. Butler. |
| Home |
| © 2001-2008 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. |