Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7.3
-
None
-
None
-
Windows XP, JDK1.4 and 1.5
Description
We are getting the following exception.
java.awt.print.PrinterIOException
at org.pdfbox.pdmodel.PDPage.print(PDPage.java:745)
at sun.print.RasterPrinterJob.printPage(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at com.foursoft.PDF_PrinterJob.main(PDF_PrinterJob.java:42)
Caused by: java.io.IOException: Unknown encoding for 'UniGB-UCS2-H'
at org.pdfbox.encoding.EncodingManager.getEncoding(EncodingManager.java:82)
at org.pdfbox.pdmodel.font.PDFont.getEncoding(PDFont.java:612)
at org.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:466)
at org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:325)
at org.pdfbox.util.operator.ShowText.process(ShowText.java:64)
at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:104)
at org.pdfbox.pdmodel.PDPage.print(PDPage.java:741)
... 4 more