Red Hat Bugzilla – Bug 7880
Printing from a shell prompt
Last modified: 2008-05-01 11:37:53 EDT
Dear Linux Support,
I tried to print out the man page help file using the following command
from a terminal prompt:
man man |col -b | lpr
In general, I can print from within applications such as staroffice, or
netscape browser, etc. But, I can not print using this command from a
terminal window. I followed the syntax right from your manual on page 67 of
the 'Getting Started Guide'.
I have a Canon BJC-2000 printer which prints fine in all X Applications.
Any help would be appreciated.
Works here without problems.
Probably your printer doesn't support plain text input.
Try something along the lines of
man man |col -b |mpage |lpr
This will convert the output to PostScript, then pass it on to lpr, which will
use ghostscript to convert it to whatever format your printer can deal with.
By the way, you're writing to development, not support - if you need support,
you might want to check http://support.redhat.com/ first. Normally, they can
help you much faster.
I've had this problem myself in the past, and always with `man man` as the first
stage in the process. Is there some character in the output for the said manpage
that's acting as an X-OFF or equivalent handshaking character somewhere?