nockdg Posted October 9, 2017 Share Posted October 9, 2017 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 fineSaving PDF via jasper shows barcode fine and pdf prints correctlyPrinting report excludes barcodeSaving PDF Mac Printer dialog excludes barcodesThis 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,DavePosted test case to SO:https://stackoverflow.com/questions/46677547/jasperreports-not-printing-barcodes-on-mac-os-x Link to comment Share on other sites More sharing options...
nockdg Posted October 17, 2017 Author Share Posted October 17, 2017 See StackOverflow link above for solution... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now