[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: text conversion between Linux and Windows



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 7 Mar 2002, Paul Greene wrote:
>To print out man pages on various whatevers, what I usually do is, for
>example:
>
>man tcpdump > tcpdump.txt
>
>and then transfer the resultant text file over to a Windows machine for 
>printing.

I find it easier in the long run to configure a printer on the Linux box
and just do something like this:

  man -t tcpdump | lpr

The output is Postscript and retains the formatting of the original
document. If you really want to print from the Winbox, you can keep the
formatting like this:

  man -t tcpdump > tcpdump.ps ; ps2pdf tcpdump.ps

The result is a PDF file with all formatting intact.


Tony
- -- 
Anthony E. Greene <mailto:Anthony%20E %20Greene%20%3Cagreene pobox com%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05         HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <agreene pobox com> 0x6C94239D

iD8DBQE8iDbypCpg3WyUI50RAg2RAKDr1UbAOUb9Bz7E4mkrHmwHfi19qgCgglKD
2YG5vFb6fiWrqnuc702gsws=
=xcN+
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]