rupa
rupa

Reputation: 241

Does setPageable() of PrinterJob class accepts PdfDecoder object

I am trying to print the pdf file using javafx,jpedal library.I followed the below link for reference.

http://www.wisecodes.com/2009/08/print-pdf-with-jpedal/

If i use this link i am getting the error in this line

pjPrintJob.setPageable(pdfD);

It is telling that setPageable method of PrinterJob does not accept the PdfDecoder object.

I have searched in google regarding this.But i found that so many are using like this.How is it possible.Can any one help me regarding this.

Upvotes: 1

Views: 369

Answers (1)

user1977252
user1977252

Reputation:

You're probably using the LGPL version, which unfortunately doesn't have support for printing.

Upvotes: 1

Related Questions