converting manpages to postscript

Andrew L. Gould algould at datawok.com
Mon Jan 5 08:21:46 PST 2004


On Monday 05 January 2004 10:17 am, Dru wrote:
> I'm trying to convert a manpage to postscript and have tried these 3
> variants:
>
> groff -Tps -mandoc /usr/share/man/man1/ls.1.gz > ls.ps
> groff -Tps -mdoc /usr/share/man/man1/ls.1.gz > ls.ps
> groff -Tps -man /usr/share/man/man1/ls.1.gz > ls.ps
>

Does -T need to be followed by a device?

>
> The file command always shows this:
>
> file ls.ps
> ls.ps: Postscript document text conforming at level 3.0
>
> But the resulting printout is hieroglyphics.
>
> What am I doing wrong?
>
> Dru




More information about the freebsd-questions mailing list