printing

Ben Pfaff pfaffben@msu.edu
26 Jul 2000 22:09:06 -0400


"Marcel Kunath" <kunathma@pilot.msu.edu> writes:

> I tried doing
> 
> lpr -Psmurf /etc/printcap
> 
> and it would not do the carriage returns. Anybody ever have a problem with pure
> text files?

It probably wants to have DOS-style line ends (CR LF) rather than
Unix-style (LF).  Try 
	cat /etc/printcap | unix2dos | lpr -Psmurf
instead.  Or better yet use `enscript' and sidestep the whole
issue.

-- 
"Q:      How does a hacker fix a function which
         doesn't work for all of the elements in its domain?
 A:      He changes the domain."
--Thorfinn