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

printing ireport to printer does not show same data as in preview


saraouchtal

Recommended Posts

Hello,

I am having an issue with a report that runs perfectly and returns right data in Preview. However, when printing the report to a printer (Zebra GC420D) It does not display the same number of records as in the preview. The issue happens exactly when the number of rows that is in the Detail section is 15. I am not sure if there is something I need to adjust in the settings of the report to account for the number of rows in the table. Also, the printer is loaded with a 4-inch wide paper roll.

Could anyone please help?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It does not belong to the used designing tool for JasperReports.... it's either whether you take the (good old & fast) iReport or the (insane lame) JasperSoftStudio.

Its more because Zebra Printers are initialy designd to print labels send via their own printer language "ZBL".... so sending a 2D PrintJob from Java is quite a pain - but feasible. Many customers of us complained the "poor" quality, as the Zebra Printer interpreted the sent fonts and also barcodes from JasperReports just as an image... so that's why for example a barcode lable design in JasperReports (either if barbecue or barcode4j) won't be as sharp as if you sent it via the lable software that is mostly included with the zebra printers (as they use the ZBL language) .

So try to adjust a page format at the printer driver that matches 100% (!) your jrxml layout/pageformat and be aware of the page margings and also if the printer is moving forward to the cutter line (if present), that made us crazy in some former customer projects also. :-)

good luck + regards

C-Box

 

Link to comment
Share on other sites

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...