cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

AW: generating PDF from batch file

kaestle
1-Newbie

AW: generating PDF from batch file

Hi all,
that's the way how we solved such a problem, may be it's also usable for
you:
if you're working on a windows platform you can do following:
-make a batch job to print a postcript-file into a "IN" folder, here
C:\Temp\In
-set Acrobat-Distiller to look at this folder C:\Temp
-Acrobat will take care of the "IN" folder in C:\Temp
-whenever you will print to this folder "C:\Temp\In\*.ps" , Acrobat will
convert the postscript file "docname.ps" to "docname.pdf" automatically and
writes it to the folder "C:\Temp\Out"

the acl code you'll need is just simple:
$NAME = "Hello"
$FILENAME = 'C:\\Temp\\In\\' . $NAME . '.ps'
print composed wait file=$FILENAME

best regards
Roland

> -----Ursprüngliche Nachricht-----
> Von: Helberg, Clay [SMTP:chelberg@spss.com]
> Gesendet am: Mittwoch, 31. März 2004 20:26
> An: adepters@arbortext.com
> Betreff: RE: generating PDF from batch file
>
> Hi all--
>
> There was a thread on this a while back, and based on that I'm in the
> process of implementing something along these lines. (Kudos to Philip
> Wenger, among others, for pointing out the _pubpdf::publish_pdf_file()
> function.) It's still pretty rudimentary right now, but here's what I have
> so far:
>
> buildbook-epic.bat:
0 REPLIES 0
Announcements