On Sat, Nov 30, 2002 at 12:11:21AM +0100, Rene Engelhard wrote: > > tlpr is a trivial line printer client that will send a file to a > > remote printer. It does not know the concept of a configuration file, > > an input filter, or any other form of complexity; instead, it is the > > LPR-equivalent of 'cat foo >/dev/lp0'. > > Sory, but why not simply use "cat foo | lpr" ? > > I do not see a need for this package. > > Maybe you can enlighten me?
* It's small. The whole of C code in this package is less than 6k. That's three pages. * it does not require a /etc/printcap (which, IMHO, is written in the most horrible format ever invented) * it does not use spool files, so still works when the file system is mounted read-only. * it's safer, as it doesn't require a daemon on the local machine to run. It just opens a connection, sends it away, and exits. Of course, that also implies that you can't use it to print to local printers. * It does not try to be 'smart', fucking up your already-filtered input file (which happened to me once too many). * ... maybe other things. That said, the version number may suggest you that I don't see this as finished code. It works, I'm sure it has some uses already, and it will have more in the future. Convinced? -- wouter at grep dot be "Human knowledge belongs to the world" -- From the movie "Antitrust"