2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Dianna McDonald - grlgeek Jasper printing to printer default 2003-07-04 11:52 Jasper is printing to the printer defaults rather than the user defaults so that when a user chooses to print the report to a printer whos default is 'A4' paper, and the user has her default set to 'letter' it will try to print 'A4'. Any suggestions or similar issues? By: Liheng Qiao - qlheng RE: Jasper printing to printer default 2003-07-11 13:01 I'm facing the same problem, too. How could we change the paper size to "letter"? And how to set other options? By: Dianna McDonald - grlgeek RE: Jasper printing to printer default 2003-07-11 16:03 The problem was that the pageWidth and pageHeight defaults in Jasper reflect the size of 'A4' paper so I've solved this problem by changing the pageWidth and pageHeight to reflect the size of a normal "letter" size document (8.5 X 11) which is roughly 532 X 792. Now that I've done that the pages print correctly. By: Liheng Qiao - qlheng RE: Jasper printing to printer default 2003-07-13 17:53 Dianna, Could you tell me where you changed the size? In the report design XML file or you changed the JasperPrintManager.java source code? By: Dianna McDonald - grlgeek RE: Jasper printing to printer default 2003-07-15 11:44 I changed it in the xml file. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now