Problem printing barcodes on Mac

0

Hi,

We are experiencing a strange problem trying to print barcodes from the Mac. Everything works fine on Windows, however, on the Mac:

  • Preview shows barcode fine
  • Saving PDF via jasper shows barcode fine and pdf prints correctly
  • Printing report excludes barcode
  • Saving PDF Mac Printer dialog excludes barcodes

This report also includes a second image directly from a field, which prints fine on the Mac. The barcode is generated via zxing and written to a ByteArrayOutputStream as a png. This is added to the report as an image object.

This issue has been reproduced across different printers and on the latest jasper library. There are no error message reported in he log. I've also tried generating the barcode slightly smaller than the bounding region to ensure it doesn't get clipped.

My Mac is currently running 10.12.6 with java 8.

Thanks,

Dave

Posted test case to SO:

https://stackoverflow.com/questions/46677547/jasperreports-not-printing-...

 

nockdg's picture
16
Joined: Jan 18 2007 - 4:21am
Last seen: 2 weeks 5 days ago

See StackOverflow link above for solution...

nockdg - 1 year 10 months ago

0 Answers:

No answers yet
Feedback
randomness