return new MediaPrintableArea(area.get_X()/100, area.get_Y()/100, area.get_Width()/100, area.get_Height()/100, MediaPrintableArea.INCH);
}
if (category == Destination.class) {
String path = "out.prn";
try {
return new Destination( ( new File( path ) ).toURI() );
} catch (SecurityException se) {
try {
return new Destination( new URI( "file:" + path) );
} catch (URISyntaxException e) {
return null;
}
}
}