add printablePageSize(), other small changes.