[Retep-PDF] RETEP PDF-II
Status: Beta
Brought to you by:
petermount
|
From: Pravir R. <pr...@gm...> - 2005-03-02 09:32:52
|
Hi, I am trying to use PDF class in the following manner. PrintJob job = PDF.getPrintJob(fileoutputStream); pass this job to whereever I want to use - basically another thirdparty whihc takes a java.awt.printjob to print itself. But I get exception : NullPointerException : PDFJob.getPageDimension() (PDFJob.java:114) I tried using PrintJob job = new PDFJob(fileoutputStream); which I believe is the same thing as above. I don't want to use PrinterJob as I don't have access to the Pageable/Printables. This is kind of urgent so please reply...Also anytips using are welcome. btw, I am using Inetsoft Stylesheet where I pass the above printJob. thanks in adavance! |