public void testPageSize () throws IOException
{
final TextFilePrinterDriver pc = new TextFilePrinterDriver(new NullOutputStream(), 12, 12);
final Paper paper = PageFormatFactory.getInstance().createPaper(PageSize.A4);
pc.startPage(paper, "ASCII");
final PlainTextPage page = new PlainTextPage(paper, pc, "ASCII");
final int width = page.getWidth();
final int height = page.getHeight();
assertEquals(99, width);