Discussion:
USB printer
Gligor Lucian
2008-03-10 19:59:38 UTC
Permalink
Does FreeBSD support a USB printer?



---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Paul A. Procacci
2008-03-10 20:41:09 UTC
Permalink
Post by Gligor Lucian
Does FreeBSD support a USB printer?
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Yes, usb printers are attached as normal in FreeBSD. It's up to you to
provide the necessary utilities for speaking to it. CUPS for instance.
David Duong
2008-03-10 20:42:47 UTC
Permalink
Post by Gligor Lucian
Does FreeBSD support a USB printer?
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Should be able to:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html
David Kelly
2008-03-10 20:47:43 UTC
Permalink
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
--
David Kelly N4HHE, ***@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.
Gligor Lucian
2008-03-10 20:52:53 UTC
Permalink
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
Thank you very much for your answer.
All the best, Gligor Lucian.



---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Chuck Robey
2008-03-12 19:14:20 UTC
Permalink
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Kevin Downey
2008-03-12 19:25:54 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
I have CUPS working on my laptop and desktop. I don't have a local
printer installed. I am using CUPS to access printers shared from a
windows machine. Works fine, except this morning I noticed a pdf not
printing correctly but I believe that is Evince's fault.
--
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
Fisheye
Manolis Kiagias
2008-03-12 19:37:47 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
I have cups working on my system, printing on locally attached USB printers.
I have followed the instructions in dekstopBSD wiki:

http://desktopbsd.net/wiki/doku.php?id=doc:printing

(though I used ports and not packages)

I still have some issues if I disconnect / reconnect the printer, the
permissions are not set correctly (although devfs is running).
I might be missing some configuration step, but have not researched
further yet.
Generally speaking, printing works.
Chuck Robey
2008-03-12 19:38:15 UTC
Permalink
Post by Manolis Kiagias
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
I have cups working on my system, printing on locally attached USB printers.
http://desktopbsd.net/wiki/doku.php?id=doc:printing
(though I used ports and not packages)
I still have some issues if I disconnect / reconnect the printer, the
permissions are not set correctly (although devfs is running).
I might be missing some configuration step, but have not researched
further yet.
Generally speaking, printing works.
OK, well, maybe I'm wrong, I'll go take a look. As to that other
respondent, the job of doing non-local printers needs much more trivial
drivers, so yeah, that always has worked. I had looked about on Google,
followed a ton of differing instructions, and hadn't had it come near
working yet. But, I will go take another look at this URL, yes.
Pollywog
2008-03-14 05:07:27 UTC
Permalink
Post by Manolis Kiagias
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried
HP officejets, and I just can't get locally attached printers to work
with cups. I can get them to work with things like apsfilter very well,
but either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search. _______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
I have cups working on my system, printing on locally attached USB
http://desktopbsd.net/wiki/doku.php?id=doc:printing
(though I used ports and not packages)
Did you find it necessary to recompile the kernel with ulpt disabled?

I have a HP PSC2110 "All-In-One" that I can use in Linux (printing and
scanning) but was unable to get working in FreeBSD. I believe part of the
solution is to disable ulpt and recompile the kernel, but I had trouble
getting hplip to work. FreeBSD does not have hpoj, which is what I use in
Linux with this printer.
Manolis Kiagias
2008-03-14 05:13:35 UTC
Permalink
Post by Pollywog
Post by Manolis Kiagias
I have cups working on my system, printing on locally attached USB
http://desktopbsd.net/wiki/doku.php?id=doc:printing
(though I used ports and not packages)
Did you find it necessary to recompile the kernel with ulpt disabled?
I have a HP PSC2110 "All-In-One" that I can use in Linux (printing and
scanning) but was unable to get working in FreeBSD. I believe part of the
solution is to disable ulpt and recompile the kernel, but I had trouble
getting hplip to work. FreeBSD does not have hpoj, which is what I use in
Linux with this printer.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
No, I haven't touched ulpt support in the kernel.
Predrag Punosevac
2008-03-14 06:57:04 UTC
Permalink
Post by Pollywog
Post by Manolis Kiagias
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried
HP officejets, and I just can't get locally attached printers to work
with cups. I can get them to work with things like apsfilter very well,
but either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search. _______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
I have cups working on my system, printing on locally attached USB
http://desktopbsd.net/wiki/doku.php?id=doc:printing
(though I used ports and not packages)
Did you find it necessary to recompile the kernel with ulpt disabled?
I have a HP PSC2110 "All-In-One"
To get HP PSC2110 just working you can use HPIJS driver and you do not
need to recompile the kernel.
However if you want to use HPLIP to unlock full functionality (scanner
and FAX, PC-copping) you will have to recompile the driver to
disable ulpt driver since it is unable to get the vendor name and
product ID. That is well-documented.
You will probably also need to disable umass driver since it gets
attached to printer before the ugen driver.
In all honestly that is not well-documented. You will also need to start
HPLIP daemons before the CUPS daemon.
That is all well-documented.

#enable CUPS and related
lpd_enable="NO"
hpiod_enable="YES" #daemons for HPLIP HP printing
hpssd_enable="YES" #daemons for HPLIP HP printing
cupsd_enable="YES"

umess driver is needed for Floppy and Flash drives so you might want to
load manually after the boot and
after you unlock your printer.
Cheers,
Predrag
Post by Pollywog
that I can use in Linux (printing and
scanning) but was unable to get working in FreeBSD. I believe part of the
solution is to disable ulpt and recompile the kernel, but I had trouble
getting hplip to work. FreeBSD does not have hpoj, which is what I use in
Linux with this printer.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Predrag Punosevac
2008-03-12 20:29:11 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Please do not spread disinformation. Of course CUPS works on FreeBSD as
well as thee other spooling systems
PDQ, LPD, and LPRng.
Cheers,
Predrag
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/
A8QJVMfDqgAY+4WIFXDD0w8=
=450A
-----END PGP SIGNATURE-----
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Chuck Robey
2008-03-13 17:24:05 UTC
Permalink
Post by Chuck Robey
Post by Predrag Punosevac
Post by Gligor Lucian
Post by Gligor Lucian
Does FreeBSD support a USB printer?
Yes.
You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS. I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems. Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups. I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to hear
about it, but I've been trying for a long time now, with no success.
Post by Predrag Punosevac
Please do not spread disinformation. Of course CUPS works on FreeBSD as
well as thee other spooling systems
PDQ, LPD, and LPRng.
Well, YOU might note that I _did_ say that others did work (I even gave an
example, apsfilter, that worked) and I specified that cups itself worked,
just that the job of installing drivers in cups for FreeBSD seemed
undocumented. Someone since then found for me a wiki (non-FreeBSD- you
note) that gives more help, but it seems that no helkp is forthcoming from
FreeBSD itself. I specified in the email that non-local printers, which
only use default ps drivers worked fine also, it was only when you tried to
install locally based printers, which need local drivers, that you end up
in trouble.

If you're going to criticize, at least try to read the post first.

Cups on FreeBSD is still woefully underdocumented, relying 100% on others
sites, when the cups installation has been changed (somewhat) to agree with
hier(7). I agree that needed to be done, and would have been complaining
if it hadn't, but then there should have been some small notes detailing
how to install a local driver. As a general rule in FreeBDS ports, there
is (on most ports that have more than 1 version) insufficient care given to
detailing the differences in ports, when there are more than one version to
choose from. Example? the cups and the cups-base port have the same
pkg-descr, so how is anyone to know what the difference is, and under whjat
circumstances should one port be chosen over another.

Don't answer that question, answer why no care is ever given to correct the
woeful state of most multi-option pkg-descr files.
Post by Chuck Robey
Post by Predrag Punosevac
Cheers,
Predrag
Post by Gligor Lucian
Thank you very much for your answer.
All the best, Gligor Lucian.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
_______________________________________________
freebsd-***@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-***@freebsd.org"
Ted Mittelstaedt
2008-03-16 08:23:15 UTC
Permalink
-----Original Message-----
Sent: Thursday, March 13, 2008 9:24 AM
To: Predrag Punosevac
Subject: Re: USB printer
Cups on FreeBSD is still woefully underdocumented, relying 100% on others
sites, when the cups installation has been changed (somewhat) to agree with
hier(7). I agree that needed to be done, and would have been complaining
if it hadn't, but then there should have been some small notes detailing
how to install a local driver.
The problem here is that CUPS is really mostly useful if your
using Gnome for your desktop, because there's a lot of GUI
configuration software that is written for that desktop that
makes CUPS configuration a snap. (and installing foomatic
drivers and the like)

If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.

Ted
Chuck Robey
2008-03-16 20:14:55 UTC
Permalink
Post by Ted Mittelstaedt
-----Original Message-----
Sent: Thursday, March 13, 2008 9:24 AM
To: Predrag Punosevac
Subject: Re: USB printer
Cups on FreeBSD is still woefully underdocumented, relying 100% on others
sites, when the cups installation has been changed (somewhat) to agree with
hier(7). I agree that needed to be done, and would have been complaining
if it hadn't, but then there should have been some small notes detailing
how to install a local driver.
The problem here is that CUPS is really mostly useful if your
using Gnome for your desktop, because there's a lot of GUI
configuration software that is written for that desktop that
makes CUPS configuration a snap. (and installing foomatic
drivers and the like)
If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.
Sorry, I hate to differ, but even on my Mac OSX with dual PPC processors, I
use lpr all the time, and I use "ssh (hostname) lpr <filetoprint" from
FreeBSD to my mac, it works just fine, and the Mac is running Cups. It
does too do stuff for command line people, it's just that no one installing
cups on FreeBSD has done anything to get that definitely established part
of Cups working right.
Post by Ted Mittelstaedt
Ted
Ted Mittelstaedt
2008-03-17 08:00:34 UTC
Permalink
-----Original Message-----
Sent: Sunday, March 16, 2008 12:15 PM
To: Ted Mittelstaedt
Subject: Re: USB printer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Ted Mittelstaedt
-----Original Message-----
Sent: Thursday, March 13, 2008 9:24 AM
To: Predrag Punosevac
Subject: Re: USB printer
Cups on FreeBSD is still woefully underdocumented, relying
100% on others
Post by Ted Mittelstaedt
sites, when the cups installation has been changed (somewhat) to agree with
hier(7). I agree that needed to be done, and would have been
complaining
Post by Ted Mittelstaedt
if it hadn't, but then there should have been some small
notes detailing
Post by Ted Mittelstaedt
how to install a local driver.
The problem here is that CUPS is really mostly useful if your
using Gnome for your desktop, because there's a lot of GUI
configuration software that is written for that desktop that
makes CUPS configuration a snap. (and installing foomatic
drivers and the like)
If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.
Sorry, I hate to differ, but even on my Mac OSX with dual PPC
processors, I
use lpr all the time, and I use "ssh (hostname) lpr <filetoprint" from
FreeBSD to my mac, it works just fine, and the Mac is running Cups. It
does too do stuff for command line people, it's just that no one installing
cups on FreeBSD has done anything to get that definitely established part
of Cups working right.
However, that "definitely established part" of CUPS duplicates
lpr/lpd functionality, so it's a big waste of time to bother with
installing it under FreeBSD and ripping out the existing lpr/lpd
if all your going to do is use the same /etc/printcap config file
and same filters that you would use under lpr/lpd.

The real usefulness of CUPS is under a GUI, particularly married
with a GUI configuration interface. For example you didn't
install your printers under MacOS X by hand-editing the CUPS
configuration files under MacOS X, you used the GUI configurator
in System Properties, which interfaces with CUPS. That's why
Apple had to license CUPS after all, because they modified it
under MacOS X to allow the Aqua GUI to interface to it, and they
didn't want to release the mods they made to it into the wild.

In fact, if you compile ghostscript and compile the foomatic
software under MacOS X, you can download, compile and using
the Aqua GUI configurator interface to CUPS, install
a gigantic number of printer drivers under MacOS X.

In the FreeBSD world the usual command-line junkies do the Right
Thing and go buy a Postscript printer. If you have one, all
of the need for these rediculous "winprinter" filters goes
away and then the only thing that CUPS really adds is the
ability to speak IPP - and I've yet to come across a hardware
printer server that spoke IPP that -didn't- speak LPD also.

Ted
Chuck Robey
2008-03-17 18:44:09 UTC
Permalink
Post by Ted Mittelstaedt
Post by Chuck Robey
Post by Ted Mittelstaedt
If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.
There's where you state it hasn't any cli usages
Post by Ted Mittelstaedt
Post by Chuck Robey
Sorry, I hate to differ, but even on my Mac OSX with dual PPC
processors, I
use lpr all the time, and I use "ssh (hostname) lpr <filetoprint" from
FreeBSD to my mac, it works just fine, and the Mac is running Cups. It
does too do stuff for command line people, it's just that no one installing
cups on FreeBSD has done anything to get that definitely established part
of Cups working right.
However, that "definitely established part" of CUPS duplicates
lpr/lpd functionality, so it's a big waste of time to bother with
installing it under FreeBSD and ripping out the existing lpr/lpd
if all your going to do is use the same /etc/printcap config file
and same filters that you would use under lpr/lpd.
And here you forget what you said, and claim the cups is just stupid to use
under CLI (no backoff from your FUD above, though). Our own printer system
DOES NOTHING whatever for remote administration, nor organization of
drovers, nor ability to print different type sources, nor the added
security options.
Post by Ted Mittelstaedt
The real usefulness of CUPS is under a GUI, particularly married
with a GUI configuration interface. For example you didn't
install your printers under MacOS X by hand-editing the CUPS
configuration files under MacOS X, you used the GUI configurator
in System Properties, which interfaces with CUPS. That's why
Apple had to license CUPS after all, because they modified it
under MacOS X to allow the Aqua GUI to interface to it, and they
didn't want to release the mods they made to it into the wild.
In fact, if you compile ghostscript and compile the foomatic
software under MacOS X, you can download, compile and using
the Aqua GUI configurator interface to CUPS, install
a gigantic number of printer drivers under MacOS X.
With little trouble, you can (and I did) integrate all the foomatic stuff
under MacOS, without recompiling.
Post by Ted Mittelstaedt
In the FreeBSD world the usual command-line junkies do the Right
Thing and go buy a Postscript printer.
And that also is FUD. A long time, I think about 20 years back, before I
knew better, I did exactly that. It turns out that postscript printers run
about 10 times more slowly than using ghostscript on your system and only
sending the native image to the printer, so using cups is both far, far
more cheap (postscript printers being uniformly more expensive) and far,
far faster (postscript printers mostly being too slow for words, all
excepting the very high end ones).

If you have one, all
Post by Ted Mittelstaedt
of the need for these rediculous "winprinter" filters goes
away and then the only thing that CUPS really adds is the
ability to speak IPP - and I've yet to come across a hardware
printer server that spoke IPP that -didn't- speak LPD also.
Again wrong. Usually, until lately, my printer of choice has been a HP
OfficeJet printer, which uses PCL5 for it's language, You can only use IPP
if cups happens to be on both machines involved, but there are excellent,
mature things designed for FreeBSD, like apsfilter, which do all the
translation from the original format to postscript then back to whatever is
native, and handle all the spooling and multi-format printing. The only
negative, really, in cups is that it asks you to use the lpr in
/usr/local/bin instead of /usr/bin. and that (under FreeBSD) it's
installation is execrebly documented and mis/under installed. It and it
alone allows a nice REMOTE gui interface to administer with, but you sort
of forgot that. The Foomatic project, a con of CUPS (one that clearly asks
you to install CUPS), with it's GREAT documentation of drivers and
production of ppd files, is by far the best unix effort to organize printer
drivers, that's flatly true.

Even the fine GUI admin isn't forced to be GUI, because they allow you to
use their CLI options also. None of your arguments hold water.

The only thing wrong with CUPS is that under FreeBSD it's
mis/under-installed, and the rest of your points (I think I've competently
shown) are incorrect). I don't recognize what bias seems to be fueling
your dislike of it, but I think it's undeniably true that you exhibit one.
Post by Ted Mittelstaedt
Ted
Ted Mittelstaedt
2008-03-19 04:24:11 UTC
Permalink
-----Original Message-----
Sent: Monday, March 17, 2008 10:44 AM
To: Ted Mittelstaedt
Subject: Re: USB printer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Ted Mittelstaedt
Post by Chuck Robey
Post by Ted Mittelstaedt
If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.
There's where you state it hasn't any cli usages
No, you misread that. It does nothing other than what you already get
with the base OS. That is, -lpr/lpd, +cups = no advantage, ie: nothing.
Post by Ted Mittelstaedt
Post by Chuck Robey
Sorry, I hate to differ, but even on my Mac OSX with dual PPC
processors, I
use lpr all the time, and I use "ssh (hostname) lpr <filetoprint" from
FreeBSD to my mac, it works just fine, and the Mac is running Cups. It
does too do stuff for command line people, it's just that no one installing
cups on FreeBSD has done anything to get that definitely
established part
Post by Ted Mittelstaedt
Post by Chuck Robey
of Cups working right.
However, that "definitely established part" of CUPS duplicates
lpr/lpd functionality, so it's a big waste of time to bother with
installing it under FreeBSD and ripping out the existing lpr/lpd
if all your going to do is use the same /etc/printcap config file
and same filters that you would use under lpr/lpd.
And here you forget what you said, and claim the cups is just
stupid to use
under CLI
It IS stupid to use under CLI if all your going to be doing is
using the same /etc/printcap config file and same filters that
you would use under lpr/lpd.

Are you a specialist now in ripping out sound bites and ignoring
the rest of the paragraph?

(no backoff from your FUD above, though). Our own
printer system
DOES NOTHING whatever for remote administration, nor organization of
drovers, nor ability to print different type sources, nor the added
security options.
Eh? ssh into the print server and you can administer all you want.

Organization of drivers? What drivers? Why do you need drivers?
Oh I forgot, your too busy dropping $800 in superfast hardware
to image pages for your $99 printer you got free with a coupon, and
prints about 25 pages before the ink cartridge is empty.
Post by Ted Mittelstaedt
The real usefulness of CUPS is under a GUI, particularly married
with a GUI configuration interface. For example you didn't
install your printers under MacOS X by hand-editing the CUPS
configuration files under MacOS X, you used the GUI configurator
in System Properties, which interfaces with CUPS. That's why
Apple had to license CUPS after all, because they modified it
under MacOS X to allow the Aqua GUI to interface to it, and they
didn't want to release the mods they made to it into the wild.
In fact, if you compile ghostscript and compile the foomatic
software under MacOS X, you can download, compile and using
the Aqua GUI configurator interface to CUPS, install
a gigantic number of printer drivers under MacOS X.
With little trouble, you can (and I did) integrate all the foomatic stuff
under MacOS, without recompiling.
Post by Ted Mittelstaedt
In the FreeBSD world the usual command-line junkies do the Right
Thing and go buy a Postscript printer.
And that also is FUD. A long time, I think about 20 years back, before I
knew better, I did exactly that. It turns out that postscript
printers run
about 10 times more slowly than using ghostscript on your system and only
sending the native image to the printer
absolutely wrong.

Only if you have a really cheap, old Postscript interpreter such as like
the HP III with the add-in Postscript card, stacked against a 3Ghz PC
tied to a winprinter with USB2 will you see this. Otherwise, you take
the more common elderly 500Mhz CPU Win98 system that's been retired to
a FreeBSD system and tie it to your winprinter and try imaging anything
complex on it, and the PC will take far longer to image it than going
Postscript to a decent printer like an HP5 (which are cheap as dirt
on the used market)

And this is just image printing - text is a whole different ballgame,
it's far faster going Postscript to the printer if your printing
multiple pages because your uploading the fonts and then following
with just a text stream, your not imaging page after page.

All of this of course sidesteps the discussion of what your
considering is a high-end Postscript printer and what your
printing with it and how much your printing.
, so using cups is both far, far
more cheap
CUPS <> Ghostscript. gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.
(postscript printers being uniformly more expensive)
Any decent workgroup laserjet will cost far less per-page than
an inkjet, even going color, these days. Your talking false economy
here - sure you may buy a color inkjet for $99 vs a color laser
for $400 but print 500 pages on both and your inkjet will be
an order of magnitude more expensive by the time you finish
paying for ink cartridges.

winprinters only make financial sense if your barely printing
anything at all - such as in a home - in which case all this
extra security layer you mentioned earlier in CUPS is pointless
in a home or small office environment.
and far,
far faster (postscript printers mostly being too slow for words, all
excepting the very high end ones).
If you have one, all
Post by Ted Mittelstaedt
of the need for these rediculous "winprinter" filters goes
away and then the only thing that CUPS really adds is the
ability to speak IPP - and I've yet to come across a hardware
printer server that spoke IPP that -didn't- speak LPD also.
Again wrong. Usually, until lately, my printer of choice has been a HP
OfficeJet printer, which uses PCL5 for it's language, You can
only use IPP
if cups happens to be on both machines involved, but there are excellent,
mature things designed for FreeBSD, like apsfilter, which do all the
translation from the original format to postscript then back to whatever is
native, and handle all the spooling and multi-format printing. The only
negative, really, in cups is that it asks you to use the lpr in
/usr/local/bin instead of /usr/bin. and that (under FreeBSD) it's
installation is execrebly documented and mis/under installed. It and it
alone allows a nice REMOTE gui interface to administer with, but you sort
of forgot that.
Oh, and you really use this OfficeJet in an environment where remote
administration is needed? Uh huh. OfficeJets are small home office
printers - are you in an office where people are too fat to waddle
the 20 steps over to the printer?
The Foomatic project, a con of CUPS (one that
clearly asks
you to install CUPS), with it's GREAT documentation of drivers and
production of ppd files, is by far the best unix effort to
organize printer
drivers, that's flatly true.
Foomatic <> CUPS. And it does not ask you to install CUPS.
Foomatic is here:
http://www.linux-foundation.org/en/OpenPrinting/Database/Foomatic

and let me quote:

"...Foomatic is a database-driven system for integrating free software
printer drivers with common spoolers under Unix. It supports CUPS, LPRng,
LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing..."

I don't see any CUPS demand here.

Your just confused, is the problem. Just because whoever created the
FreeBSD port of the foomatic stuff thought it would be a good idea to
include CUPS as a dependency you are -assuming- that CUPS and
Foomatic are the same thing.
Even the fine GUI admin isn't forced to be GUI, because they allow you to
use their CLI options also. None of your arguments hold water.
The only thing wrong with CUPS is that under FreeBSD it's
mis/under-installed, and the rest of your points (I think I've competently
shown) are incorrect). I don't recognize what bias seems to be fueling
your dislike of it, but I think it's undeniably true that you exhibit one.
Well let's see what that might be, shall we?

1) Replaces simple programs already installed in the base OS with
a more complicated spooler.

2) Replaces BSD-licenced code that is free with GPL-encumbered code that
is not free

3) Claims IPP is the be-all and end-all when the majority of installed
base in business was using the Hewlett Packard "Standard TCP/IP + SNMP
Interface" that is provided by their JetDirect hardware print servers

4) Has a bunch of supporters running around in the community like
yourself who tell newbies that need the Foomatic stuff that they
have to install CUPS to get Foomatic.

Chuck, you just go to face the facts. Seriously. You have a
problem - I know you can shake it. It's an addiction that with
our help you can overcome. I'm talking about Windows envy.
I know you secretly only think a FreeBSD system is
usable when loaded down with a big heavy GUI, you probably don't
have a computer in your place slower than a 1Ghz system with half a
gig of ram and minimum 100GB drive, and if there's 2 ways of doing
something - command line and KDE/Gnome available, you will wait the
extra 2 minutes for the X desktop to load so you can do a 6 second
operation. Face it Chuck - you never let go of your secret Windows
envy. The quicker you admit it the quicker we can get you on the
road to recovery. Come to us, leave the land of the mouse click
and come to the land of the green screen and glass tube terminal
and get in touch with the real computers that run the world. We're
here for you, buddy. ;-)

Ted
B H
2008-03-24 23:34:34 UTC
Permalink
Post by Ted Mittelstaedt
CUPS <> Ghostscript. gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.
Can one use a ppd-file with lpd/lpr?
p***@math.arizona.edu
2008-03-25 00:05:31 UTC
Permalink
Post by B H
Post by Ted Mittelstaedt
CUPS <> Ghostscript. gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.
Can one use a ppd-file with lpd/lpr?
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:
Predrag Punosevac
2008-03-25 04:01:34 UTC
Permalink
Post by p***@math.arizona.edu
Post by B H
Post by Ted Mittelstaedt
CUPS <> Ghostscript. gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.
Can one use a ppd-file with lpd/lpr?
Of course. A sample printcap file
lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
I'm not using foomatic but the ppd-file from HP for LJ2100, 2200, 4050
and 8000 is that still possible? They all speak postscript.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Well if you want to use your printers in PostScript mode you can just
send row .ps file and it should print i.e.
you can remove the af and if lines from the printcap and should work.

Now what about other file types?

Lets have a second look for instance at LJ2100.

According to Linux Printing Database (which is the one
we also use in BSD world)

http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100

the recommended way of using for instance LJ2100 is via Printer Command
Language 5 or 6
i.e. you need a driver. The recommended driver for LJ2100 is pxlmono
which is build in Ghostscript.
If you use printer with Apsfilter you can just select the driver. Files
of any type should be printed no question asked.

If you use PPD file and fomatic-rip filter as
in the above printcap example the jobs would be passed through pxlmono
driver.
You may send to printer ps or non ps files (pdf, dvi, gif, html) and
everything should work no question asked.


The printer will work eight other drivers.

Now the final question is probably that there is custom PPD vile for
PostScript mode according to the same
Database.
I think that that one is only relevant for CUPS as PPD files are used
via IPP (only spoken by CUPS) to fake real communication with the
device and show things like printer status. I am not 100% sure but I
think that PPD file is
what one would call CUPS-PPD file. If you send let say .pdf file that
PPD file probably will tell CUPS how to
pass pdf file through GhostScript and create ps version and then print
it. I am not sure if it going to be useful with
LPD. Of course in the case you do not have any filters in your printcap
you can send only ps files to printer.

You can play on the following way. Remove the if (input filter line from
your printcap file) and keep af but put
that particular custom PPD file which is used for PostScript mode. Try
to send ps and pdf file. If it prints only ps
file that means that PPD does nothing for LPD if it can print pdf files
that means that is usable with LPD.

I personally use most printers in PCL mode just because I have lots of
different mish-mash printer non of which speaks
full PostScript language.

Cheers,
Predrag

Gerard
2008-03-12 20:42:42 UTC
Permalink
On Wed, 12 Mar 2008 15:14:20 -0400
Post by Chuck Robey
You know, while there are printing utils that actually work on
FreeBSD, I can't personally recommend CUPS. I keep on trying to get
it to work on FreeBSD efvery year or so, then I need to go over to
one of my other systems. Last one I tried was an Epson Stylus C84,
but I've also tried HP officejets, and I just can't get locally
attached printers to work with cups. I can get them to work with
things like apsfilter very well, but either someone is going to have
to fix the Cups port (it builds, but nothing locally runs) or stop
recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to
hear about it, but I've been trying for a long time now, with no
success.
I have HPLIP working with CUPs perfectly. I even got it to FAX. The
printer is accessed via a wireless network too.
--
Gerard
***@seibercom.net

A pipe gives a wise man time to think
and a fool something to stick in his mouth.
Robert Marella
2008-03-13 03:00:35 UTC
Permalink
On Wed, 12 Mar 2008 15:14:20 -0400
Post by Chuck Robey
You know, while there are printing utils that actually work on
FreeBSD, I can't personally recommend CUPS. I keep on trying to get
it to work on FreeBSD efvery year or so, then I need to go over to
one of my other systems. Last one I tried was an Epson Stylus C84,
but I've also tried HP officejets, and I just can't get locally
attached printers to work with cups. I can get them to work with
things like apsfilter very well, but either someone is going to have
to fix the Cups port (it builds, but nothing locally runs) or stop
recommending it.
Or, does anyone else have it working on FreeBSD? Sure would like to
hear about it, but I've been trying for a long time now, with no
success.
FWIW I had cups working (2 USB and 1 parellel) forever on three
separate FreeBSD systems until last fall sometime. It had stopped
working on each of them after an upgrade that I have long since forgot.
After going through all of the removals and reinstalls, I compared what
was installed on these systems with a Linux box that cups worked on.

I found that I needed the /print/foomatic-db
and /print/foomatic-de-engine ports. After I installed these two ports
cups is working fine on my FreeBSD systems.

HTH
Robert
Continue reading on narkive:
Loading...