Questions tagged [python-escpos]

7 questions
0
votes
0 answers

Why does escpos hang when trying to connect to printer?

I have a SureMark 4610 printer that I'm trying to connect to, but for some reason it hangs when I connect. I've installed the necessary drivers for the printer. What could be the problem? I'm using Windows 10 if that is of any use to you all. Here's…
Lord of Grok
  • 323
  • 3
  • 12
0
votes
1 answer

Remove blank space at the end of the ticket: Python Escpos

I have a printer: the PRINTER TG2460HIII USB RS232 CUTTER EJECTOR (915CG040400300) I use Python Escpos I have a problem: The printed ticket has a lot of blank space at the end, about 5cm Is it possible to define the maximum size of the ticket? I…
macop
  • 1
  • 1
0
votes
1 answer

ESCPOS commands (ESW)

Does anyone know how to calculate print area on EPSON printer, using ESCW command? I don't know how can I calculate xL, xH, yL, yH, dxL, dxH,dyL e dyH. enter image description here I'm trying to configure a printer with 80mm paper for 58mm paper.
0
votes
0 answers

Windows print to default thermal printer

I'm developing a program to a shop. The program needs to print the receipt of the order using a termal printer. I discovered that the printer follows the ESC/POS standard and I found out that there is a package that helps me having an interface with…
0
votes
1 answer

How to get the paper status of my Thermal Printer using python-escpos?

Currently, I am developing an ordering system that uses a thermal printer. my code looks like this. from escpos.printer import Usb p = Usb(idVendor=0x471, idProduct= 0x55,in_ep=0x82, out_ep=0x02) try: p.text('Hello +\n') status =…
George Pamfilis
  • 1,397
  • 2
  • 19
  • 37
0
votes
1 answer

How to print Greek Characters with python-escpos

PART 1 I am currently trying to get my printer to properly output Greek and not GreekLish for my restaurant ordering system. I am using python-escpos. - My code looks like this. from escpos.printer import Usb p = Usb(0x471, 0x55, 0, 0x82,…
George Pamfilis
  • 1,397
  • 2
  • 19
  • 37
0
votes
1 answer

Access printer connected at Virtual Printer Port (USB001) using python-escpos on Windows 10

I have created a printing module, which work with printer connected at serial port using printer.Serial("COM5") interface provided by python-escpos. But now, I have to switch to USB printer rather than serial. My USB printer is connected at virtual…
Ahmad Raza
  • 1,923
  • 2
  • 14
  • 19