-
adafruit_thermal_printer.
get_printer_class
(version)[source]¶ Retrieve the class to construct for an instance of the specified thermal printer version. Pass in the printer firmware version as a numeric value like 2.68, 2.64, etc. You can get this value by holding the button on the printer as it powers on and a test page is printed–look at the bottom of the test page for the version number.