pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amanda Burma <ama...@froglogic.com>
Subject help using PDFBox to print HTML > PDF
Date Wed, 17 Dec 2014 19:30:24 GMT
Hello,

I just found this solution, and am not certain where I've gone wrong.

Anyone have any tips based on the following error?

MandyBookAir:Downloads amanda$ java -jar pdfbox-app-1.8.8.jar PrintPDF 
-silentPrint 
/Users/amanda/Documents/froglogic/Marketing/Partners/Polarion/results/HTMLReports/report.html
PrintPDF failed with the following exception:
java.io.IOException: Error: End-of-File, expected line
     at 
org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1517)
     at 
org.apache.pdfbox.pdfparser.PDFParser.parseHeader(PDFParser.java:372)
     at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:186)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1219)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1186)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1111)
     at org.apache.pdfbox.PrintPDF.main(PrintPDF.java:100)
     at org.apache.pdfbox.PDFBox.main(PDFBox.java:74)

Thanks,
Amanda

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message