Jump to content
Changes to the Jaspersoft community edition download ×

Printing custom page not using configured printer settings


nockdg

Recommended Posts

Hi,

We use JasperReports for printing labels on various single label printers like Brother, Zebra. 

A customer has an issue where the printer settings shown do not match what is set in Windows as their default settings. This means that every time they need to print, they have to reset the various options on the printer dialog. They have tested a similar process in Microsoft Word and all the settings behave correctly.

Has anyone else seen anything like this? The printer in question is a Zebra ZD421.

Thanks for any help.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
 

Link to comment
Share on other sites

  • 2 weeks later...

Hello,
I'm not sure you saw my comment on your question so posting it as a response as well.
The printer settings are not set by JasperReports but by the printer driver. In which format are you exporting the JR reports before printing?

Please mark it as a good answer if that's the case so other users with the same question can find it as well. 

Link to comment
Share on other sites

Hi. 
The printer settings have been configured correctly within the printer driver within Windows and set as the default parameters for this printer. When the JasperPrint process shows the print dialog, it is not using the previously configured settings within the driver. 
We are creating the report via the Java API (no jrxml file) and sending the report directly to the printer via JasperPrintManager.printReport(...). 
 

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