Previous | Next | (P-PDF) Developers
Topic: PDF Generation
Conf: (P-PDF) Developers, Msg: 55378
From: jipsen
Date: 5/29/2002 05:12 PM
In the mean time I installed as suggested the FULL Adobe Acrobat.
After some digging, I found out that the original pdf Template has been "probably"
produced using Microsoft PowerPoint and the Acrobat PDFWriter.
By setting in Microsoft PowerPoint the Printer to PDFWriter, printing to file, and the compression option to ASCII Format & no compression a manage to get a PDF ASCII Output which looks much like my original template.
The program is reading this template searching for this Marker's. The Markers are nothing else but text which is replaced by the program. I copy you a part of the pdf text containing the Markers.
/F1 32.04 Tf
-0.0041 Tc -0.0336 Tw (results and) Tj
307.56 0 TD -0.0128 Tc 0 Tw (scoring) Tj
-159.36 -71.88 TD /F0 18 Tf
0.0009 Tc (
) Tj
18.48 -21.6 TD 0.0125 Tc 0.0115 Tw (
) Tj
0 -21.6 TD (
) Tj
-7.68 -43.2 TD 0.0223 Tc 0 Tw (
) Tj
56.28 0 TD -0.012 Tc () Tj
8.16 0 TD -0.0432 Tc () Tj
-12.6 261.48 TD /F0 12 Tf
0.06 Tc (%%MARKE 40001 0 0 0 0%%
) Tj
8.28 0 TD -0.048 Tc () Tj
5.4 0 TD -0.036 Tc () Tj
ET
%%MARKE 20001 0 0 0 0%%
endstream
endobj
9 0 obj
48637
endobj
4 0 obj
the first marker MARKE 40001 0 0 0 0%% is visible as a text in the PDF, the other marker %%MARKE 20001 0 0 0 0%% is not visible in the pdf.
The replacement is working only when the Markers are followed by no other PDF Format information. I edited the PDFWriter output manualy using Notepad puting "NEWlines" at the correct places.
What kind of PDF objects are these Markers?
The manual procedure I used managing to get some replacment in the output is not somerthing I would like to do with the whole Template (there are 60 pages and many such invisible markers which I could place correctly only by pure luck).
Any idea about what method was used initialy to place these PDF Marker objects in the PDF template?
Which would be an other method to produce such a pdf output using a pdf template?
Best Regards
Jutta