I am trying to create a platform independent document dynamically via a perl based website (running on Irix). The page formatting is critical, so ps or pdf is preferred. It is mandatory for my needs to be able to display the document on Irix, Linux, and windows 9X/NT machines.

Postscript seems to be a perfect solutions since there are nice modules like PostScript::Document, however getting a ps document to show/print in Linux or Windows is a pain since the only viewer I could find is ghostview or gsview. Also to get gsview installed on the users machines might be impossible since I am in a corporate environment and it is very difficult to get 'unsanctioned' programs installed by IS.

It would be ideal to be able to use Acrobat since that program is installed on every system around, and seems to be supported on every platform. But Acrobat only reads PDF files. So is there a way to get ps to pdf via perl (I dont see any PDF modules). Maybe there are legal issues with this from Adobe that I am unaware of? I am not sure if the pdf format is licensed or if just the adobe products that create pdf are licensed.

Any ideas on how to approach this problem, or does anyone know of a better solution? Thanks for any input!

In reply to PDF via Perl? by perlmonkey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.