How to print "cat" man pages to postscript printer ?

How to print "cat" man pages to postscript printer ?

Post by Andy Co » Thu, 19 May 1994 23:05:01



Hi-

Does anyone know a good way to print "cat" format man pages on a postscript
printer?  If you have the nroff source, its easy using groff:
        groff -man manpage.1 | lpr
This produces beautiful looking output.  Unfortunately, most of the man
pages that come with Slackware are only in "cat" form, so I can't do this.
When I just try to print the pages (and even using a number of utils), the
control characters in the "cat" file for underlining and bolding show up on
the output as extra letters.  Is there a good utility for converting these
suckers and the files as a whole to postscript form, so that the output
looks better?

Thanks for any suggestions.

-Andy Cook

 
 
 

How to print "cat" man pages to postscript printer ?

Post by Ron Smi » Fri, 20 May 1994 20:17:38


There is a utility called ``deroff'' that removes the underline and
bold stuff. after that you can use something like enscript to make it
into postscript. But I would prefer to have the groff source itself,
because like you said it's beautiful :^)
--

                Ron Smits


/*-( My opinions are my opinions, My boss's opinions are his opinions )-*/
/*-(                They might not be the same                        )-*/

 
 
 

How to print "cat" man pages to postscript printer ?

Post by ter.. » Sat, 21 May 1994 06:00:52



>There is a utility called ``deroff'' that removes the underline and
>bold stuff. after that you can use something like enscript to make it
>into postscript. But I would prefer to have the groff source itself,
>because like you said it's beautiful :^)
>--

>            Ron Smits


>/*-( My opinions are my opinions, My boss's opinions are his opinions )-*/
>/*-(                They might not be the same                        )-*/

Try the command:

nroff -man /usr/man/{man page file} | lpr -P{printer}

Cheers,

Terry

     *********    Terry Tanski, B.Sc.
    **********

  ..      ****    Athabasca University        Phone: (403) 675-6339
 ....     ****    Box 10,000                    FAX: (403) 675-6333
..........****    Athabasca, Alberta CANADA

 
 
 

How to print "cat" man pages to postscript printer ?

Post by Gary Merinste » Sat, 21 May 1994 08:19:47



Quote:>Hi-
>Does anyone know a good way to print "cat" format man pages on a postscript
>printer?  If you have the nroff source, its easy using groff:
>    groff -man manpage.1 | lpr
>This produces beautiful looking output.  Unfortunately, most of the man
>pages that come with Slackware are only in "cat" form, so I can't do this.
>When I just try to print the pages (and even using a number of utils), the
>control characters in the "cat" file for underlining and bolding show up on
>the output as extra letters.  Is there a good utility for converting these
>suckers and the files as a whole to postscript form, so that the output
>looks better?

nroff -man <manpage.1> | col -b | lpr

-gmm

--

***   mci:  489-6979       hell will freeze over, and eventually,          ***
***   ci$ 74035,1232         things will get really interesting..."        ***

 
 
 

1. Standard man pages to "Catted" man pages!

To Anyone Interested:

        How does one take a standard "troff"ed (?) man page that comes
with a package off the net (ending in .1, .2, etc) and turn in into a
compressed, "cat"ted man page (ending in .1.Z, .2.Z, etc) that are
stored in the directory /usr/man/catN (N = 1,2,3,...) that can be read
by the standard man utility that comes with the SLS distribution?  I'm
sure that this is trivial to do, and is probably written down
SOMEWHERE, but I've got only so many hours a day I can spend reading
FAQs and HOWTOs.  Thanx in advance...
--

                                Dr. Richard Procassini
                                Methods Development Group
                                Mechanical Engineering Department
                                Lawrence Livermore National Laboratory
                                Mail Stop L-122
                                P.O. Box 808
                                Livermore, CA  94551

                                (510)424-4095


2. uucleanup cron job - do I have a problem?

3. how to prevent "man" generates "cat" pages?

4. Starting & Stopping ProFTPD

5. How to do "man # subject" for pages only in cat? ??

6. Problems with CDRW Creative 8433e

7. How to format BSD man pages (groff man) using "classical" troff man?

8. Console Graphics and Timing Events and Real Time programming

9. "" printing postscript ""

10. Difference between "man arp" and "man 7 arp" ?

11. GETSERVBYNAME()????????????????????"""""""""""""

12. Q:Printing a "man" page

13. Printing "man" page ......