I would strongly suggest that if you need to produce PDFs from Domino that you
use Java and locate one of the PDF packages specifically for that purpose.
That said, you could still produce simple PDFs from LotusScript, but the
processing would be arduous. It's been 3-4 months since I've looked at the PDF
format, so my memory is a bit fuzzy, but I do recall that the PDF format
involves lots of objects that refer to each other, so what you think of as a
simple string of text is really several objects for each of the lines of text
with more objects to describe the placement, fonts, size, spacing, margins, etc.
Also included in the format are tables listing the objects, file properties,
and other "metadata" type stuff.
So, if you are producing a simple PDF of just a few lines of text in LS, YOU
are responsible for telling the PDF file how much of that text to place on the
"first line" (and what fonts to use and where to display it), followed by how
much of the text to place on the "second line" (and what fonts to use and where
to display it), and so on and so on. Once you've produced all that, then you
need to *correctly* produce the tables of objects so the PDF reader can put it
all together.
Adobe has (IMO) a very good PDF Format document available online that gives
good explanation and examples. But to try and programatically produce PDF from
LS is definately NOT for the faint-hearted.
Good luck, but stick with Java if you really want to get it done.
I would strongly suggest that if you need to produce PDFs from Domino that you use Java and locate one of the PDF packages specifically for that purpose.
That said, you could still produce simple PDFs from LotusScript, but the processing would be arduous. It's been 3-4 months since I've looked at the PDF format, so my memory is a bit fuzzy, but I do recall that the PDF format involves lots of objects that refer to each other, so what you think of as a simple string of text is really several objects for each of the lines of text with more objects to describe the placement, fonts, size, spacing, margins, etc.
Also included in the format are tables listing the objects, file properties, and other "metadata" type stuff.
So, if you are producing a simple PDF of just a few lines of text in LS, YOU are responsible for telling the PDF file how much of that text to place on the "first line" (and what fonts to use and where to display it), followed by how much of the text to place on the "second line" (and what fonts to use and where to display it), and so on and so on. Once you've produced all that, then you need to *correctly* produce the tables of objects so the PDF reader can put it all together.
Adobe has (IMO) a very good PDF Format document available online that gives good explanation and examples. But to try and programatically produce PDF from LS is definately NOT for the faint-hearted.
Good luck, but stick with Java if you really want to get it done.