Printer and sample