1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

Update examples/block_text.py

Co-authored-by: Benito López <belono@users.noreply.github.com>
This commit is contained in:
Patrick Kanzler
2024-08-25 00:50:54 +02:00
committed by GitHub
parent a831fd3cfa
commit 5894f0aeeb

View File

@@ -9,7 +9,7 @@ p = printer.Usb(0x04B8, 0x0E20)
for i in [20, 30, 40, 60]:
p.set_with_default(custom_size=True, width=3, height=3, underline=True)
p.textln("Blk-txt(%d col)" % i)
p.textln(f"Blk-txt({i} col)")
p.set_with_default()
p.block_text(txt, columns=i)