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

Fitting document to page while printing


ipiotrek10

Recommended Posts

Hi!

I need to print a report using JasperReports's library. I have created a report which has 8,5"x11" inch size. Now I want to print it out in my Java app. I'm generating PDF of this report and I make a printer job. I'm printinng it on a label printer which has very small paper size (3.97" x 5.98"). I now I have problem: The printer is printing this 1/4 part of the whole file. I receive a printout which is cut, not fitted to the paper size. I have to set in my code fitting to paper size, but I have no idea how to do it. Is there any attribiute that will help me? Somethig like " fitToPage" attribute or something simmilar.

Thanks in advance!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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