add method to RawPrinter