Public static java.io.ByteArrayInputStream createBarcode(String aBarcodeStr, int aAlignmentX, int rotate, int sizeX, int sizeY) ![]() ![]() Test case below (BarcodeTest.java): public class BarcodeTest My Mac is currently running 10.12.6 with java 8. I've also tried generating the barcode slightly smaller than the bounding region to ensure it doesn't get clipped. There are no error message reported in the log. This issue has been reproduced across different printers and on the latest jasper library (6.4.1). ![]() I've also tried other image formats without success. This is added to the report as an image object. The barcode is generated via zxing and written to a ByteArrayOutputStream as a png. This report also includes a second image directly from a field, which prints fine on the Mac.
0 Comments
Leave a Reply. |