private static String createResolutionString(PrinterResolution res) {
		if (res != null) {
			StringBuilder buffer = new StringBuilder();
			int x = res.getCrossFeedResolution(1);
			int y = res.getFeedResolution(1);
			buffer.append(Integer.toString(x));
			if (x != y) {
				buffer.append("x"); //$NON-NLS-1$
				buffer.append(Integer.toString(y));
			}
			return buffer.toString();
		}
		return null;
	}