Problem with pdf_user_PDF_Page

Project:PDF Include project
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:jice
Status:active
Description

I have just started using PDF Include and I am trying to use a PDF Template. However, I am getting the error "pdf_use_PDF_Page Invalid Page #". The code I am using is:
RUN pdf_new ("Spdf", "TestInvoice.pdf").

RUN pdf_open_PDF("Spdf", "C:\InvoiceTemplate.pdf", "PO").
RUN pdf_new_page ("Spdf").
RUN pdf_use_PDF_page ("Spdf","PO", 1).
.....
I am sure there is something obvious that I am missing, but I would appreciate any pointers.
OE 10.2B on Windows 7.

Regards
Brian


Comments

Comment viewing options

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

#1

Assigned to:Anonymous» jice

Which version are you using?
The old version of PDFInclude is very nitpicking about the template pdf files it loads. When it does not manage to open the pdf file, you usually get this error.
If you use the svn version (see front page) and pdf templates created with LibreOffice/OpenOffice, this should work in most cases.
However if you want a version that can open and use any pdf template, I've rewritten the pdf parser entirely in a version that is not public. Please contact me privately for conditions for you to get this version.
Regards
Jice