I am evaluating the java version pf PDF Creator. When I call the print method of an acDocument object I get the following exception:
Exception in thread "main" java.lang.IndexOutOfBoundsException: There are only 1
pages in this document and page 0 was requested!
at com.amyuni.d.a.d.f(d.java)
at com.amyuni.d.a.d.m(d.java)
at com.amyuni.d.a.g.print(g.java)
at printPDF.main(printPDF.java:14)
I understood that page numbering was 1 based, but of course I'm not specifying a page number at all. I am calling the open and getPageCount methods successfully.
This is probably unrelated, but I am not calling the acPDFComponent.setLicenseKey method. I don't know what to specify for the license key since I am using an evaluation copy of the software.
Thanks.
