public PrintLayoutModel(int width, int height) {
PrinterLayer printer = Platform.getPlatform().getPrinterLayer();
printer.initialize();
pageFormat = printer.getPageFormat();
printer.dispose();
listeners = new LinkedList<PrintLayoutModelListener>();
pixelsPerInch = 300;