Previous | Next | (P-PDF) Developers
Topic: PDF Generation
Conf: (P-PDF) Developers, Msg: 55376
From: jipsen
Date: 5/29/2002 05:12 PM
I am working on a project which generates PDF output.
Unfortunately the original developers can not be contacted and PDF is new to me, so I have some basic questions.
The only PDF tool I have is Acrobate Reader.
Question 1
The pdf Template which is read by the program contains some drawings and fix text as well as some MARKERS. I can open this original pdf Template in Notepad and I can read it(there are no unprintable charakters in it). The other pdf Template which I got to replace the old one has unprintable characters and is much smaler in size. Are there different compressed and uncompressed PDF formats. What tool do I have to use (buy) to produce such a textual pdf?
Question2
What tool do I need to include such Markers into a PDF file?
The code which reads the MARKERS and does the replacement is very strait forward:
float p1,p2,p3,p4;
int parm = sscanf(buf, "%%%%MARKE %d %f %f %f %f", &type, &p1, &p2, &p3, &p4);
if (parm<1)
{
MessageBox(NULL,"Wrong Mark in Template File!","Message",MB_OK);
return;
}
AnsiString t;
switch (type)
{
case 10125:fprintf(outputfile,logo.c_str());break;
.........
Do you have any Idea what these MARKERS are? Is it FDF?
Thanks in advance
Jutta