cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Member
New Member

Java software not correctly detecting paper size

I am having trouble with paper size calculations using a Java application to send a print job to a Xerox Workcentre 7545 printer.  Java has an interface to obtain the physical size of a printer (values given in points, e.g. multiples of 1/72nd of an inch).  I use this data to scale my images and create a layout with even margins, etc.  This works like a charm when I print to 8.5-by-11 paper, but when I select Tabloid size paper (11x17), the interface returns the same values (612-by-792 points) as it does for the letter size and I end up with a small image that uses only part of the printed sheet.

 

Any recommendations?

 

Details:  I am operating under Windows XP with Java 1.7 (also tried 1.6). Landscape orientation. It's a brand new unit which my company has on an evaluation basis, so I assume the latest drivers are installed, but I don't know for sure.

 

The Java API I am using is the PageFormat class, though as an experiment I also drive the getPaper() method to see if the Paper class gave me a different answer.

0 Kudos
1 Reply
Highlighted
Community Manager
Community Manager

Re: Java software not correctly detecting paper size

Hello gwlucas.

 

If you have not already resolved this issue, we suggest you search our online knowledgebase for this product: WorkCentre 7545.

 

Alternatively, you can visit our Contact Us page for other support options.

Thanks,
CherylO-Xerox
Community Manager

Be sure to click Kudos for those who have helped you.
Select Accept as Solution for posts that have helped to solve your issue(s)!

0 Kudos