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

On 18-Sep-2002/19:16 +0200, [EMAIL PROTECTED] wrote:
>I need to convert textfile to pdf and then mail it to the users
>but i can't get it converted to pdf. What is best to use?

Use a2ps, then ps2pdf. For a plain text document, I found that this a2ps
command works well:

 a2ps -R -B --borders=no -M Letter --columns=1 -o filename.ps filename.txt
 ps2pdf filename.ps
 sendfile filename.pdf user1,user2,user3

The sendfile thing is something I wrote to simplify sending a binary file
via email on the command line. the script is posted at:

  http://www.pobox.com/~agreene/downloads/

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
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 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9iOqwpCpg3WyUI50RAsfxAJ9xmVK3IsUPF+/afKTufwQg/t21AACgsAg+
ODEYmBXRYbT4DT41F+QJKsU=
=Lx2h
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to