Thermal printers: Difference between revisions
(→Python) |
|||
Line 7: | Line 7: | ||
[[File:Epson-tm20III-at-xpub.jpg|thumb|right]] | [[File:Epson-tm20III-at-xpub.jpg|thumb|right]] | ||
===Python=== | ===Python, using the network=== | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> |
Revision as of 12:41, 6 November 2023
a.k.a. receipt printers
We have the following thermal printers at XPUB:
Epson TM20III
Python, using the network
from escpos.printer import Network
kitchen = Network("145.24.131.103")
#EPSON Receipt Printer. Printer IP Address will be spit out when plugged
From: User:Ohjian/XPUB_1#Code:_Good_Bye_Aymeric,_Hello_Epson_Printer