Jump to content
We've recently updated our Privacy Statement, available here ×

Problem printing barcodes on Mac


nockdg

Recommended Posts

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-barcodes-on-mac-os-x

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...