added print function
parent
edf4d28c2f
commit
883add4872
@ -0,0 +1,7 @@
|
|||||||
|
from escpos.printer import Usb
|
||||||
|
|
||||||
|
p = Usb(0x483, 0x811e, in_ep=0x81, out_ep=0x02, profile="POS-5890")
|
||||||
|
p.text("A card-browser game: The player gets a card and inserts the keyword appearing on the front of this card in the browser. The browser returns a literal interpretation of the card's function, a text related to the feminist concept connected to that function, and a printed sentence with a command for the player to execute. In this way, the player becomes a feminist server. There is also the possibility to play further with the cards in a one-on-one (or mulit-player) game with open rules.")
|
||||||
|
p.qr("https://xpub.nl", size=8, center=True)
|
||||||
|
p.image("call.png", center=True) #width should be 384px if it's too long it might crash
|
||||||
|
p.textln("") #this creates an empty line
|
Loading…
Reference in New Issue