I looked at Acrobat a few years back. I seem to remember that Distiller can
be set-up like a server on a machine. You specify "in" and "out" directories
and anything copied into the "in" folder is detected by Distiller and
automatically converted to PDF format and stored in the "out" directory.
This should make it quite easy to write a PHP upload routine, move the
uploaded file into the "in" directory, wait for it to be processed and
collect the PDF file from the "out" directory. I'm sure Adobe has improved
Distiller greatly since I last looked at it (it was converting WP files to
PDF format for us).
James
-----Original Message-----
From: Angus Mann [mailto:[EMAIL PROTECTED]]
Sent: 26 January 2001 05:26
To: Tom Mathews
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Is it possible to CONVERT file formats?
At 10:29 25/01/01 +0000, Tom Mathews wrote:
>This issue cropped up with us a little while ago, but in a slightly
different
>context.
>We have documents that are created using Word (PC users) and FrameMaker
(die
>hard Unix users that do not want anyone else to be able to edit their work
>without first taking a degree in pontlessness). All of these documents need
to
>be accessed by everyone over the intranet using a variety of O/S's and
>browsers.
>The solution - a 'pdf printer' function. You can either buy acrobat /
>distiller
>or some such, or if you're feeling energetic you can write your own, but
don't
>try this lightly (I wrote a PostScript printer driver from scratch in a
former
>life and spent about a year writing 20,000 lines of C code). Whatever you
>choose, just run this whenever a document is uploaded and then create a
>link to
>the pdf file (and if you don't want to edit it again, you can also delete
the
>original at this point). I've not yet found a browser or OS that you can't
get
>a decent pdf reader working with, as opposed to the word reader that
NetScape
>kindly crashes everytime that you try and use it (and don't think that you
>will
>get away with telling people to download the minute either - NetScape has a
>nasty habbit of changing all the carriage returns into line feeds when you
>donwload from a Unix hosted site to a PC, which means that you can't use
the
>doc when you get it onto your PC)
>
>Minutes are one of the applications that we use this technique for - the
group
>all write them in Word and then throw them at the upload filter which
>automatically creates the pdf and a link to this.
Hi Tom,
I was wondering what sort of solution you (and other list members) use for
the Word to PDF conversion? I've been looking at adding this as an extra
feature for our clients (clubs) to upload their monthly newsletters for
members to download/read. There's no way I'm going to allow them to post
Word documents (problems with fonts, and more importantly if anyone spreads
a Doc with a macro virus in it, I'll be the one who personally gets
blamed), and unfortunately getting people to save as a different format
from Word isn't much of an option either (they use graphics for headlines,
and in some cases it's too hard to explain to them how to save as a
different file format).
Obviously Acrobat Distiller seems to be the way to go, although all the
pages on the Adobe site mention using some form of GUI-based conversion
(usually for dragging and dropping files, or using it from within Word),
plus then I could run into expensive issues with licensing (not really
something I'd look forward to since this wouldn't create a single cent in
revenue for us).
Any suggestions or examples of how people in here are doing such
conversions would be greatly appreciated :)
Thanks,
Angus.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]