} else
if (requestAttrs[i].equals(OrientationRequested.LANDSCAPE)) {
printAttributes[ORIENTATION_INDEX] = 2;
}
} else if (category.equals(PrinterResolution.class)) {
PrinterResolution res = (PrinterResolution)requestAttrs[i];
int xres = res.getCrossFeedResolution(PrinterResolution.DPI);
int yres = res.getFeedResolution(PrinterResolution.DPI);
printAttributes[XRESOLUTION_INDEX] = xres;
printAttributes[YRESOLUTION_INDEX] = yres;
} else if (category.equals(SheetCollate.class)) {
SheetCollate collate = (SheetCollate)requestAttrs[i];
if (collate == SheetCollate.COLLATED) {