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

page width and height units


Recommended Posts

By: Alejandro Alliana - aalliana

page width and height units

2003-04-01 06:27

I'm really sory if this is a naive question, but I could not find any documentation on this.

 

I need to print reports and I'm not able to fit the report in the page. I'm not sure about the units used. I know the default values are width 595 and height 842, but i don't know in what units are this magnitudes. Can someone help me on this or tell me what numbers should I use for Letter, Legal and A4 ??

TIA

 

aa

 

 

 

 

By: Jorge - jorarcia

RE: page width and height units

2003-04-01 07:22

This numbers are the numbers of pixels. i.e:

 

A3: 842x1190

A4: 595x842

A5: 421x595

A6: 297x421

 

Letter: 612x792

Legal: 612x1008

 

try with this numbers. Good luck.

 

 

 

 

By: Alejandro Alliana - aalliana

RE: page width and height units

2003-04-01 07:27

thanks a lot!!!!!!

 

aa

 

 

 

 

By: Teodor Danciu - teodord

RE: page width and height units

2003-04-01 09:50

 

Hi,

 

JasperReports uses the default Java resolution

of 72 dots / inch.

 

Thank you,

Teodor

 

 

 

 

 

By: Alejandro Alliana - aalliana

RE: page width and height units

2003-04-02 03:53

 

Are this numbers mandatory when compiled with the report or can I pass them as parameters? If I want the same report in Letter and A4 should I compile 2 reports?

 

Sory if the question is stupid.

 

TIA

 

aa

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