This section offers my rather old but still valid code and article explaining how
PDF documents can be constructed on the fly via programs. You will find:
A ZIP archive containing source code, the article and the sample document
The unzipped article (in PDF) that explains the essentials of PDF:
pdfart.pdf.
The unzipped demo code that generates a PDF file: pdfg.cpp
The test document generated by the sample program is
here.
A sample program txtpdf.cpp that
converts text files (some HTML like tags may be included)
to PDF. The program also generates headers and footers and
breaks the input text into pages. The code contains PDF classes written
in C++
A command line program for Windows 32Bit called
tiff2pdf
that converts TIFF images into
PDF files that may be viewed with Adobes Acrobat Reader.
The program handles single files as well as complete directories
containing TIFF images.
I sold the source
code for this program to several commercial clients - this is why you
don't find the source code here. Ask me for the commercial conditions.
Ask me also for UNIX versions. The program has
been called "the fasted image to PDF converter on the market".
The exe-file offered for download has no restrictions except that my
copyright is inserted in the header line.