Professional Web Applications Themes

ASCII to PDF converter - Linux / Unix Administration

Does anyone know of an opensource ASCII to PDF converter that can be run on a print spool in the form of a filter so that it can be sent to an Output Managment database?...

  1. #1

    Default ASCII to PDF converter

    Does anyone know of an opensource ASCII to PDF converter that can be
    run on a print spool in the form of a filter so that it can be sent to
    an Output Managment database?
    Print Guest

  2. #2

    Default Re: ASCII to PDF converter

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

    Print Dude wrote: 

    You should easily be able to build a print filter script that takes stdin and
    pipes it through a2ps or enscript to build postscript from the ascii source.
    Pipe the results through ps2pdf to build a pdf, and take the resulting file
    and feed it into your output management database.

    Something like
    a2ps -o - | ps2pdf - targetfile.pdf
    or
    enscript -o - | ps2pdf - targetfile.pdf
    followed by the logic to move targetfile.pdf to the OM database

    If your OM db loader can read pdf's from stdin, then you can do this all in
    one pipeline. Something like
    a2ps -o - | ps2pdf - - | loadOMdatabase
    or
    enscript -o - | ps2pdf - - | loadOMdatabase


    See a2ps(1), enscript(1), and ps2pdf(1)

    If you don't have these tools, you can get them easily
    a2ps is a GNU application with the application homepage
    at http://www.inf.enst.fr/~demaille/a2ps/
    enscript is a GNU application with it's homepage
    at http://people.ssh.fi/mtr/genscript/
    ps2pdf is part of the Ghostscript postscript interpreter package.

    - --
    Lew Pitcher

    Master Codewright & JOAT-in-training | GPG public key available on request
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFCZxqlagVFX4UWr64RAs7yAJ0WeRkhmgRcAKWkKpGdOz aslF+P4gCeNdtn
    9IPgLFR2Bt9M1I1f8hb918I=
    =PWaS
    -----END PGP SIGNATURE-----
    Lew Guest

  3. #3

    Default Re: ASCII to PDF converter

    On Thu, 21 Apr 2005 01:16:57 GMT,
    Print Dude (com) wrote: 

    Ghostscript - it can create PDF output, and be used as a print filter.

    --
    Many a smale maketh a grate -- Geoffrey Chaucer
    Bev Guest

  4. #4

    Default Re: ASCII to PDF converter

    On Thu, 21 Apr 2005 01:16:57 GMT, Print Dude <com> wrote: 

    txt2pdf (or text2pdf) - text to PDF is pretty simple. Google for those
    program names & take your pick.

    Dave Guest

Similar Threads

  1. converter
    By dave8888 in forum Macromedia Director 3D
    Replies: 5
    Last Post: November 3rd, 04:47 AM
  2. FLV To .WAV/.MP3 converter
    By ichidan in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: August 21st, 07:52 PM
  3. XSI-W3D converter 404
    By DJ Craig in forum Macromedia Director 3D
    Replies: 0
    Last Post: August 2nd, 04:44 PM
  4. 3d converter
    By Peleg Kurland in forum Macromedia Director 3D
    Replies: 0
    Last Post: October 3rd, 05:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139