Desktop FreeBSD Part 5: Printing

By Ed Ed | Posted at 14:45

As 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:

gzip Printer-Driver.ppd

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 /usr/bin, but those for CUPS are in /usr/local/bin:

mv /usr/bin/lp /usr/bin/bak.lp
mv /usr/bin/lpr /usr/bin/bak.lpr
mv /usr/bin/lprm /usr/bin/bak.lprm
mv /usr/bin/lpq /usr/bin/bak.lpq

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

cupsd_enable="YES"
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_ruleset"

3. Then create /etc/devfs.rules. In that file:

[local_ruleset=10]
add path 'ulpt*' user root group cups mode 664

4. Run the command

/etc/rc.d/devfs restart

5. Next, run the command

/usr/local/etc/rc.d/cupsd start

You should see a response indicating it's running.

6. Run this command to use Kongqueror as root:

konqueror http://localhost:631/admin

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:

a. You will be asked to give the printer an internal name. Most of the time, "lp" is the best choice.

b. The location is whatever you find useful, but standard choices are "local" or "USB" and so forth.

c. Description is the place to give the proper marketing name. That might be "Brother HL-1440" or "HP DJ-5440" and such.

d. Device is the electronic interface. For USB printers, that's "/dev/upt0" for the first printer. Some older printers can make your FreeBSD system choke, even crash. If that happens, try the parallel cable connection. Using the older parallel printer cables, that would be "/dev/lpt0" -- be aware there may be a slew of error message when using some printers about IRQ 7. You'll have to read up on that; I can't summarize it here. However, I can warn you now you'll need to do a few things summarized here.

e. Driver: In the drop-down search for the driver you installed from the Free Standards Group website. Once you've selected it, the browser page should indicate it's ready to go. Print a test page and see what you get. Users can do some fine tuning under KDE Control Center, under Peripherals > Printers. In the lower left corner, select the CUPS printer queue. Click on the "lp" in the printer device list window, and on the last tab -- "Instances" -- click the "Settings" button and examine the options. For most modern HP inkjets, there's not much you need to do, because the printer will detect the paper and adjust settings automatically. Other brands of printer may do the same.

If it all works more or less as expected, you're done.

Ed Hurst is Associate Editor of Open for Business.


FreeBSD für den Desktop: Eine Anleitung

Das FreeBSD auf dem Desktop nutzbar ist wird immer noch gerne
belächelt. Sicher, gerade im Multimediabereich gibt es noch einiges
aufzuholen, aber mit swfdec sind nun auch die bewegten Bilder und Töne von YouTube unter FreeBSD nutzbar. Daneben gib…

Trackback from grUNIX - Aug 16, 2007 | 8:07

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 | 23:29

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 | 19:00

Re: Desktop FreeBSD Part 5: Printing

Very interesting article. Thank you.

Posted by tomas peñalver - Jun 12, 2007 | 15:17



Re: Desktop FreeBSD Part 5: Printing

Another excellent solution for the next level.

Posted by www.clashrealm.com - Oct 2, 2017 | 12:35

Re: Desktop FreeBSD Part 5: Printing

If you want to Root your Android Devices, then u must Enable the Unknown Sources in your Mobile.

Posted by iRoot Apk - Oct 22, 2017 | 14:41

Re: Desktop FreeBSD Part 5: Printing

Checkout full list of Bharat Ratna award winners and know about some interesting facts about them.

Posted by Mehndi d - Nov 6, 2017 | 11:26




Quickbooks Tech Support Phone Number

Quickbooks Tech Support Phone Number
Quickbooks Support Number
Quickbooks Support Phone Number
Quickbooks Tech Support Number
Quickbooks Tech Support Phone Number
Quickbooks Technical Support Number
Quickbooks Technical Support Phone Number
Quickbooks Customer Support Number
Quickbooks Customer Support Phone Number
Quickbooks Customer Service Number
Quickbooks Customer Service Phone Number
Quickbooks Pro Support Number
Quickbooks Pro Support Phone Number
Quickbooks Pro Tech Support Number
Quickbooks Pro Tech Support Phone Number
Quickbooks Pro Technical Support Number
Quickbooks Pro Technical Support Phone Number
Quickbooks Pro Customer Support Number
Quickbooks Pro Customer Support Phone Number
Quickbooks Pro Customer Service Number
Quickbooks Pro Customer Service Phone Number
Quickbooks Payroll Support Number
Quickbooks Payroll Support Phone Number
Quickbooks Payroll Tech Support Number
Quickbooks Payroll Tech Support Phone Number
Quickbooks Payroll Technical Support Number
Quickbooks Payroll Technical Support Phone Number
Quickbooks Payroll Customer Support Number
Quickbooks Payroll Customer Support Phone Number
Quickbooks Payroll Customer Service Number
Quickbooks Payroll Customer Service Phone Number
Quickbooks Premier Support Number
Quickbooks Premier Support Phone Number
Quickbooks Premier Tech Support Number
Quickbooks Premier Tech Support Phone Number
Quickbooks Premier Technical Support Number
Quickbooks Premier Technical Support Phone Number
Quickbooks Premier Customer Support Number
Quickbooks Premier Customer Support Phone Number
Quickbooks Premier Customer Service Number
Quickbooks Premier Customer Service Phone Number
Quickbooks Enterprise Support Number
Quickbooks Enterprise Support Phone Number
Quickbooks Enterprise Tech Support Number
Quickbooks Enterprise Tech Support Phone Number
Quickbooks Enterprise Technical Support Number
Quickbooks Enterprise Technical Support Phone Number
Quickbooks Enterprise Customer Support Number
Quickbooks Enterprise Customer Support Phone Number
Quickbooks Enterprise Customer Service Number
Quickbooks Enterprise Customer Service Phone Number
Quickbooks Error Support Number
Quickbooks Error Support Phone Number
Quickbooks Error Tech Support Number
Quickbooks Error Tech Support Phone Number
Quickbooks Error Technical Support Number
Quickbooks Error Technical Support Phone Number
Quickbooks Error Customer Support Number
Quickbooks Error Customer Support Phone Number
Quickbooks Error Customer Service Number
Quickbooks Error Customer Service Phone Number

Posted by anjilo smith - Nov 13, 2017 | 10:40

Sage Tech Support Phone Number
Posted by anjilo smith - Nov 13, 2017 | 10:53

Quickbooks Support Phone Number

Quickbooks Support Phone Number
Quickbooks Support Number
Quickbooks Support Phone Number
Quickbooks Tech Support Number
Quickbooks Tech Support Phone Number
Quickbooks Technical Support Number
Quickbooks Technical Support Phone Number
Quickbooks Customer Support Number
Quickbooks Customer Support Phone Number
Quickbooks Customer Service Number
Quickbooks Customer Service Phone Number
Quickbooks Pro Support Number
Quickbooks Pro Support Phone Number
Quickbooks Pro Tech Support Number
Quickbooks Pro Tech Support Phone Number
Quickbooks Pro Technical Support Number
Quickbooks Pro Technical Support Phone Number
Quickbooks Pro Customer Support Number
Quickbooks Pro Customer Support Phone Number
Quickbooks Pro Customer Service Number
Quickbooks Pro Customer Service Phone Number
Quickbooks Payroll Support Number
Quickbooks Payroll Support Phone Number
Quickbooks Payroll Tech Support Number
Quickbooks Payroll Tech Support Phone Number
Quickbooks Payroll Technical Support Number
Quickbooks Payroll Technical Support Phone Number
Quickbooks Payroll Customer Support Number
Quickbooks Payroll Customer Support Phone Number
Quickbooks Payroll Customer Service Number
Quickbooks Payroll Customer Service Phone Number
Quickbooks Premier Support Number
Quickbooks Premier Support Phone Number
Quickbooks Premier Tech Support Number
Quickbooks Premier Tech Support Phone Number
Quickbooks Premier Technical Support Number
Quickbooks Premier Technical Support Phone Number
Quickbooks Premier Customer Support Number
Quickbooks Premier Customer Support Phone Number
Quickbooks Premier Customer Service Number
Quickbooks Premier Customer Service Phone Number
Quickbooks Enterprise Support Number
Quickbooks Enterprise Support Phone Number
Quickbooks Enterprise Tech Support Number
Quickbooks Enterprise Tech Support Phone Number
Quickbooks Enterprise Technical Support Number
Quickbooks Enterprise Technical Support Phone Number
Quickbooks Enterprise Customer Support Number
Quickbooks Enterprise Customer Support Phone Number
Quickbooks Enterprise Customer Service Number
Quickbooks Enterprise Customer Service Phone Number
Quickbooks Error Support Number
Quickbooks Error Support Phone Number
Quickbooks Error Tech Support Number
Quickbooks Error Tech Support Phone Number
Quickbooks Error Technical Support Number
Quickbooks Error Technical Support Phone Number
Quickbooks Error Customer Support Number
Quickbooks Error Customer Support Phone Number
Quickbooks Error Customer Service Number
Quickbooks Error Customer Service Phone Number

Posted by anjilo smith - Nov 13, 2017 | 11:17

Quicken Tech Support Phone Number

Quicken Tech Support Phone Number
Quicken Support Number
Quicken Support Phone Number
Quicken Tech Support Number
Quicken Tech Support Phone Number
Quicken Technical Support Number
Quicken Technical Support Phone Number
Quicken Customer Support Number
Quicken Customer Support Phone Number
Quicken Customer Service Number
Quicken Customer Service Phone Number
Quicken Deluxe Support Number
Quicken Deluxe Support Phone Number
Quicken Deluxe Tech Support Number
Quicken Deluxe Tech Support Phone Number
Quicken Deluxe Technical Support Number
Quicken Deluxe Technical Support Phone Number
Quicken Premier Support Number
Quicken Premier Support Phone Number
Quicken Premier Tech Support Number
Quicken Premier Tech Support Phone Number
Quicken Premier Technical Support Number
Quicken Premier Technical Support Phone Number
Quicken Home & Business Support Number
Quicken Home & Business Support Phone Number
Quicken Home & Business Tech Support Number
Quicken Home & Business Tech Support Phone Number
Quicken Home & Business Technical Support Number
Quicken Home & Business Technical Support Phone Number
Quicken Rental & Property Support Number
Quicken Rental & Property Support Phone Number
Quicken Rental & Property Tech Support Number
Quicken Rental & Property Tech Support Phone Number
Quicken Rental & Property Technical Support Number
Quicken Rental & Property Technical Support Phone Number
Quicken Starter Edition Support Number
Quicken Starter Edition Phone Number
Quicken Starter Edition Tech Support Number
Quicken Starter Editionr Tech Support Phone Number
Quicken Starter Edition Technical Support Number
Quicken Starter Edition Technical Support Phone Number

Posted by anjilo smith - Nov 13, 2017 | 11:22

Please enter your comment entry below. Press 'Preview' to see how it will look.

Name:
Sign In to Your Account
User Name:
Password:
Location:
Homepage:
E-mail:
Subject:
:mrgreen: :neutral: :twisted: :arrow: :shock: :smile: :???: :cool: :evil: :grin: :idea: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: :!: :?:
Home About Connect: Twitter Facebook RSS
© 2001-2012 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. Powered by ServerForest and SAFARI. Learn about our privacy policy here.