Followup Message Followup Message:
> Jack Gillis wrote:
>
> > Under Mandrake 7.2, I issued the following command to print a man
> > page: (It has worked under Red Hat and SuSE.)
> >
> > man -t mkfs | lpr
> >
> > and got the following messages:
> >
> > /usr/bin/groff: can't find `DESC' file
> > /usr/bin/groff:fatal error: invalid device `ps'
> > Error executing formatting or display command.
> > System command (cd /usr/share/man ; /usr/bin/bzip2 -c -d
> > /usr/share/man/man1/man.1.bz2 | /usr/bin/gtbl | /usr/bin/groff -Tps
> > -mandoc) exited with status 3.
> > No manual entry for man
> > lpr: stdin is empty, so no job has been sent.
> >
> > This occurs when I am root, usr or su.
> >
> > Also if I just type groff, I get the first two lines.
> >
> > Can someone tell me what I need to do to make it right if possible under
> > 7.2?
>
> I also previously used this command to print man pages. However since
> converting over to Linux-Mandrake and Kde I've been using the "help"
> program to view, read and print the various manuals and man pages.
> Additionally within this program you get the formatted and color printed
> pages, if you have a color printer.
>
> Just what the problem with the old command line way of formatting and
> printed I haven't figured out but since I now exclusively use help program
> I haven't spent much time working on the problem.
>
> Try Help you may like it.
>
> Larry
It appears that the latest Linux-Mandrake split the groff package:
## groff-for-man-1.16.1-4mdk.i586.rpm ##
The groff-for-man package contains the parts of the groff text processor
package that are required for viewing manpages.
For a full groff package, install package groff.
------------------------------------------------
## groff -1.16.1-4mdk.i586.rpm ##
Groff is a document formatting system. Groff takes standard text and
formatting commands as input and produces formatted output. The
created documents can be shown on a display or printed on a printer.
Groff's formatting commands allow you to specify font type and size, bold
type, italic type, the number and size of columns on a page, and more.
You should install groff if you want to use it as a document formatting
system. Groff can also be used to format man pages. If you are going
to use groff with the X Window System, you'll also need to install the
groff-gxditview package.
---------------------------------------------
So if you install the FULL package of groff then you can use the command
discussed to format and print man pages directly: man -t <man page u want> |
lpr
Happy Printing....
Larry
--
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587