-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.1
-
None
-
x86
-
windows_95
Name: mc57594 Date: 03/07/97
PrintJob.getPageDimension() returns wrong value.
I have Epson Style Color ESC/P2 printer.
Under jdk1.1b2, this function returns 816 * 1056 (I think it is right).
Under jdk1.1f, this function returns 72 * 36 (definatly wrong).
company - Ziya Corporation , email - ###@###.###
======================================================================
[sheri.good@Eng 1997-03-19] This looks like the same bug.
Category: java
Subcategory: classes_awt
Bug/rfe/eou: bug
Synopsis: When printing, PrintJob.getPageDimension(), returns wrong Dimension
if the user choose landscape
Severity Impact: (internal)
Severity Functionality: (internal)
Priority: (internal)
Description: When I request a print using the following sequence:
private PrintJob ThePrintJob = null;
private Graphics PrintGraphics = null;
private Dimension PageSize = null;
ThePrintJob = Toolkit.getDefaultToolkit().getPrintJob( MyFrame,
"Printing",
( Properties )null );
PrintGraphics = ThePrintJob.getGraphics();
PageSize = ThePrintJob.getPageDimension();
It is not reflected in PageSize if the user choose Landscape
instead of Portrait in the print properties dialog. The page size
returned always suggests that it is a Portrait print. This gives
me some problems when I try to determine when to issue a page
break.
Operating system: Windows NT 3.51 SP5
company - Volvo Data Corp. , email - ###@###.###
Work around: No workaround found.
Comments:
customer_rec: new
Company: other
Employee:Nils Lagerqvist
Release: jdk11
Hardware Version: i586
O/S version: win_nt_4.0
User Role: D
User Type: E
Sun Contact: (internal)
end_customer_rec:
BUG_END
- relates to
-
JDK-4079786 Solaris print job returns incorrect page dimensions.
- Closed