0

We are using java Cristal report for printing. We have a problem in printing from label printers.

it throws,

Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: Report could not be printed.
at com.businessobjects.crystalreports.printer.bean.Printer.X(Unknown Source) ~[CrystalReportsRuntime-12.2.216.2042.jar:12.2.216.2042]
at com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source) ~[CrystalReportsRuntime-12.2.216.2042.jar:12.2.216.2042]
at com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source) ~[CrystalReportsRuntime-12.2.216.2042.jar:12.2.216.2042]
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(SourceFile:711) ~[CrystalReportsRuntime-12.2.216.2042.jar:12.2.216.2042]
... 161 common frames omitted

Caused by: java.awt.print.PrinterException: Paper's imageable width is too small.

this is the code use for printing

printerJob.printDialog();
reportClientDocument.getPrintOutputController().printReport(printerJob, null);

can any one know why this happens ?

Prabhath
  • 585
  • 6
  • 20
  • Possible duplicate of ["PrinterException: Paper's imageable width is too small" I can see what's wrong, but how can I fix it?](http://stackoverflow.com/questions/10601620/printerexception-papers-imageable-width-is-too-small-i-can-see-whats-wrong) – CuriousSuperhero Jan 04 '16 at 13:24
  • That solution not work for me. – Prabhath Jan 04 '16 at 13:30
  • I do not know is this java raster printing bug or not.Anyone knows please comment . – Prabhath Jan 05 '16 at 05:03

0 Answers0