FULL PRODUCT VERSION :
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
4NT 6.01.233U Windows XP 5.1
A DESCRIPTION OF THE PROBLEM :
It is not possible to select a media size of US Standard Fanfold (14.875" x 11") in the printer setup dialogue because it is not defined in the javax.print.attribute.standard.Media* classes.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the sample below; pick a printer that should support US Std Fanfold paper. All other standard paper sizes are available except for that one.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.print.*;
import javax.print.attribute.*;
public class Fanfold
{
public static void main(String args[]) throws Exception
{
PrinterJob printerJob = PrinterJob.getPrinterJob();
PrintRequestAttributeSet attrSet = new HashPrintRequestAttributeSet();
printerJob.printDialog(attrSet);
}
}
---------- END SOURCE ----------