Thermal printers: Difference between revisions

From XPUB & Lens-Based wiki
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 13:41, 6 November 2023

a.k.a. receipt printers

We have the following thermal printers at XPUB:

Epson TM20III

Epson-tm20III-at-xpub.jpg

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