New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: How to add document info ?
Conf: (P-PDF) Developers, Msg: 57286
Date: 5/29/2002 05:24 PM
We have too points in your process where we can add all the Document
Information from the PDF files:
A. During the treatment and creation of PS files (program split) through
your Perl code.
B. After to create the PDF files through a PostScript Applet.
With the method (A), we can add at the beginning of every .PS file
created by your Perl code, any PostScript code line using the 'pdfmark'
operator (Do you know it?). With the 'pdfmark' we can fill all the
Document Info fields in a PDF.
With the method (B), I can send you a PostScript Applet Demo, (a little
PS tool that works through the Acrobat Distiller) to fill the Document
Info fields if the PDF files that exists in a Hot Folder.
About of your problem with the French characters, I thing that the
special and accented characters (ô, é, ç, etc.) fail, is because in
the PS file there isn't a correct 'character Encoding'
(ISOLatin1Encoding encoding vector) or the ascii character code is
I hope this can help you,
Marc Antoni Malagarriga
En/Na p-pdf-developer Listmanager ha escrit:
> From: Kumaran Nadarajah
> ----- AcroBuddies Forum | www.acrobuddies.com ------
> I have created several thousand of .ps files I
> downloaded as a big Text file from the Legacy system
> reports. Then a Perl program split the big text file
> into individual report and creating DCS Postscript
> format (So the Adobe distiller can understand.)
> with the .ps extension and placed in Watch IN folder.
> As soon as I start the Distiller with a specific
> selection of job option, It converts all the ps file
> into .pdf files.
> Now I have several thousand of pdf files. Is there a
> way to add the pdf document information
> programatically? (Author, Keyword, Title ... all the
> document information ? I do not want to edit each and
> every pdf file.
> Can I preset Distiller with document info defaults to
> apply to all ??
> I am also having problem with fonts. In my postscript
> file I have used Courier. French characters on the
> report showing okay in the text file as well as in PS
> file. Distiller converts those french chars with a
> funny character.
> Any advice I should use or select any specific font
> and settiing. I have Windows 2000 machine, Acrobat
> 4.05 running.
> Any help would be greatly appreciated.
> thanks with regards,