Printer¶ class pyrinter.Printer(name: str | None = None)¶ A class to represent a printer. print_doc(document: Document)¶ use to print a document using the printer. Parameters: document – the document to print Returns: None