Python Forum
print a persian file by thermal printer and python-escpos mnodule
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print a persian file by thermal printer and python-escpos mnodule
#11
from escpos.printer import Usb
from escpos.magicencode import MagicEncoder
Just a typo.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#12
Did not test the entire thing, but as far as I can see you misspelled escpos --> ecspos
May be (hopefully) you found this error in the meantime.
Good luck
Reply
#13
This post is so old, originator probably won't see your post.
and your observation was pointed out by DeaD_EyE previously
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to send file to printer with no results. chob_thomas 2 3,362 Dec-21-2022, 07:12 AM
Last Post: Pedroski55
  Saving the print result in a text file Calli 8 1,784 Sep-25-2022, 06:38 PM
Last Post: snippsat
  How do you marshal the default printer setup to print? hammer 0 1,277 May-29-2022, 02:54 PM
Last Post: hammer
  Can you print a string variable to printer hammer 2 1,941 Apr-30-2022, 11:48 PM
Last Post: hammer
  failing to print not matched lines from second file tester_V 14 6,073 Apr-05-2022, 11:56 AM
Last Post: codinglearner
  Print to a New Line when Appending File DaveG 0 1,217 Mar-30-2022, 04:14 AM
Last Post: DaveG
Sad Want to Save Print output in csv file Rasedul 5 10,910 Jan-11-2022, 07:04 PM
Last Post: snippsat
  Convert legacy print file to XLSX file davidm 1 1,801 Oct-17-2021, 05:08 AM
Last Post: davidm
  Why it does not print(file.read()) Rejaul84 1 2,333 Jul-01-2021, 10:37 PM
Last Post: bowlofred
  get two characters, count and print from a .txt file Pleiades 9 3,356 Oct-05-2020, 09:22 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020