Qt

QPrinter should provide a way to store/restore the settings