} else if (s.matches("\\d+-\\d+")) {
String[] startend = s.split("-");
renderingOptions.put(PrintRenderer.START_PAGE, new Integer(startend[0]));
renderingOptions.put(PrintRenderer.END_PAGE, new Integer(startend[1]));
} else {
PagesMode mode = PagesMode.byName(s);
renderingOptions.put(PrintRenderer.PAGES_MODE, mode);
}
}
return 1;
} else {