Samples/Examples in documentation are broken

I need to have more control over reports and it was suggested that I download and use PDFInclude.

I've downloaded it and carefully followed the steps in the setup documentation.

However, when I try to run some of the sample/example programs I get a variety of error messages; some indicating mismatched parameters.

The first error is for 2 calls that are missing "RUN"

Then...

/* custlist.p - sample PDF generation */

*Mismatched number of parameters passed to routine pdf_load_font pdf_inc.p (3234)

When I fix that error by adding "" in the call, i get another error.

It seems that converting from standard PROGRESS output streams to a PDF document will be quite involved. It would be nice to have working examples.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Reading Content from an Existing (External) PDF

I have been trying to put together some infrastructural code to read content from "any" PDF, using PDFInclude. I get all of the "DICT" and "ARRAY" stuff ok, but so far haven't been able to use "pdf_ext_get_path" to return any real user content from a PDF. Does anyone have any code snippets I could use to extract some data? I just need to see the series of pdf_ext_get_path invocations to go from /root to a sample data element, showing how you traverse the PDF structure.