ASCII to PDF converter

  • Follow


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?
0
Reply Print 4/21/2005 1:16:57 AM

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

Print Dude wrote:
> 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?

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)

iD8DBQFCZxqlagVFX4UWr64RAs7yAJ0WeRkhmgRcAKWkKpGdOzaslF+P4gCeNdtn
9IPgLFR2Bt9M1I1f8hb918I=
=PWaS
-----END PGP SIGNATURE-----
0
Reply Lew 4/21/2005 3:14:45 AM


On Thu, 21 Apr 2005 01:16:57 GMT,
    Print Dude (printdude1968@gmail.com) wrote:
> 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?

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

-- 
Many a smale maketh a grate -- Geoffrey Chaucer
0
Reply Bev 4/21/2005 3:19:17 AM

On Thu, 21 Apr 2005 01:16:57 GMT, Print Dude <printdude1968@gmail.com> wrote:
> 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?

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

0
Reply Dave 4/21/2005 2:59:52 PM

3 Replies
193 Views

(page loaded in 0.053 seconds)

Similiar Articles:













7/15/2012 11:49:20 AM


Reply: