This repository was archived by the owner on May 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 20
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
# THE SOFTWARE.
22
22
"""
23
- `adafruit_thermal_printer`
23
+ `adafruit_thermal_printer.thermal_printer `
24
24
====================================================
25
25
26
26
Thermal printer control module built to work with small serial thermal
Original file line number Diff line number Diff line change 20
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
# THE SOFTWARE.
22
22
"""
23
- `adafruit_thermal_printer_264 `
23
+ `adafruit_thermal_printer.thermal_printer_264 `
24
24
====================================================
25
25
26
26
Thermal printer control module built to work with small serial thermal
27
27
receipt printers. Note that these printers have many different firmware
28
28
versions and care must be taken to select the appropriate module inside this
29
29
package for your firmware printer:
30
- - thermal_printer = The latest printers with firmware version 2.68+
31
- - thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
32
- - thermal_printer_legacy = Printers with firmware version before 2.64.
30
+
31
+ * thermal_printer = The latest printers with firmware version 2.68+
32
+ * thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
33
+ * thermal_printer_legacy = Printers with firmware version before 2.64.
33
34
34
35
* Author(s): Tony DiCola
35
36
"""
Original file line number Diff line number Diff line change 20
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
# THE SOFTWARE.
22
22
"""
23
- `adafruit_thermal_printer_legacy `
23
+ `adafruit_thermal_printer.thermal_printer_legacy `
24
24
====================================================
25
25
26
26
Thermal printer control module built to work with small serial thermal
27
27
receipt printers. Note that these printers have many different firmware
28
28
versions and care must be taken to select the appropriate module inside this
29
29
package for your firmware printer:
30
- - thermal_printer = The latest printers with firmware version 2.68+
31
- - thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
32
- - thermal_printer_legacy = Printers with firmware version before 2.64.
30
+
31
+ * thermal_printer = The latest printers with firmware version 2.68+
32
+ * thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
33
+ * thermal_printer_legacy = Printers with firmware version before 2.64.
33
34
34
35
* Author(s): Tony DiCola
35
36
"""
@@ -128,7 +129,9 @@ def feed(self, lines):
128
129
129
130
def has_paper (self ):
130
131
"""Return a boolean indicating if the printer has paper. You MUST have
131
- the serial RX line hooked up for this to work. NOTE: be VERY CAREFUL
132
+ the serial RX line hooked up for this to work.
133
+
134
+ .. note:: be VERY CAREFUL
132
135
to ensure your board can handle a 5V serial input before hooking up
133
136
the RX line!
134
137
"""
You can’t perform that action at this time.
0 commit comments