Questions tagged [escpos]

A proprietary POS printer command system from EPSON.

A proprietary POS printer command system from EPSON.

320 questions
0
votes
1 answer

Print bitmap full page width using ESC/POS

I am currently implementing Android PrintService, that is able to print PDFs via thermal printers. I managed to convert PDF to bitmap using PDFRenderer and I am even able to print the document. The thing is, the document (bitmap) is not full page…
Filip Matys
  • 185
  • 3
  • 12
0
votes
1 answer

ESC/POS Bitmap Data to Image

We can convert an image to a byte array for sending to ESC/POS printer. I use the code here: https://stackoverflow.com/a/14099717/1853275 it works like charm. simple question: is it possible to convert this byte array back to original image? if…
XeeChaun
  • 57
  • 1
  • 7
0
votes
1 answer

Java - printing non-latin characters on Android app

I have an Android app and I'm trying to use a bluetooth printer to print some text. The problem is that I cannot print correctly any non-latin character. I have this code: public void printTaggedText() throws IOException { try { …
Alexandru Pufan
  • 1,842
  • 3
  • 26
  • 44
0
votes
1 answer

Permissions when using escpos in virtualenv

Using Debian, Install escpos, to be able to print on an Epson TM-T20II printer, and I have an application on python3. The problem I have is when I send to print it generates the following error: File…
jhon1946
  • 183
  • 10
0
votes
1 answer

How to add escpos-php in magento?

I am working with magento 1.9. I want to use the escpos-php driver to print our invoices to the usb thermal printer. I have kept the escpos-php libraries in the root directory of my magento installation. In a custom module of magento, I have…
0
votes
1 answer

Reverse Bit Order Python? ESC/POS DLE EOT Printer status escpos

I am having issues decoding DLE EOT 1 im thinking its the bit order and the lack of leading zeros import serial x = 1 while x: time.sleep(3) ser.write("\x10\x04\x01".encode()) bytesToRead = ser.inWaiting() data = ser.read(bytesToRead) …
0
votes
0 answers

How to print a converted text to image with thermal printer using ESC/POS in C#

I need to print a currency symbol with a thermal printer using ECS/POS. The currency symbol is not available in any of the printer's character tables. So, what I did was to convert the currency symbol and the amount text to an image which is…
Topa
  • 19
  • 5
0
votes
0 answers

ESC POS not printing whole text?

I am working on ESC-POS printing systems, I can print the message using below code but it's not printing entire text. NSMutableData* commandData = [[NSMutableData alloc] init]; [commandData appendBytes:"ESC" "@" length:0]; [commandData…
Thukaram
  • 1,085
  • 2
  • 13
  • 33
0
votes
0 answers

Does node JS support ESC POS printing?

With the help of Electron, I intend to build a cross platform desktop app using AngularJS and NodeJS as client side and server side frameworks respectively. There is a need to be able to print receipts to a standard POS printer and also product…
Ashish Koshy
  • 131
  • 1
  • 7
0
votes
0 answers

Difficulty implementing code 128 C rule

Code related to text encoding: const char* toCode128C( const char* texto ) { int tamanhoTexto = strlen( texto ); int tamanhoComando = strlen( "{C" ) + tamanhoTexto; char* printerCodBarras = new char[ tamanhoComando ]; memcpy(…
0
votes
1 answer

Word wrap in cordova-plugin-datecs-printer

I'm doing a mobile app using ionic 1, and for printing in thermal printers I'm using the cordova-plugin-datecs-printer plugin. Everything works ok except with the word wrapping. The printer cut words at the end of the line. Is there a way to adjust…
GalloPinto
  • 667
  • 2
  • 11
  • 25
0
votes
1 answer

cordova-plugin-datecs-printer

I'm trying to use a termic printer Leopardo A7, and I need to print an image and a text. I already printed an image and a text, but I can't print both side by side... can anybody help me ? I'm using: window.DatecsPrinter.printText() to print…
0
votes
0 answers

Save image to NV memory of Epson PosPrinter using ESC/POS commands in c#

I am currently working on a project that involves printing to an EPSON Thermal printer from within Xamarin.Forms targetting Android. I have bound the Epson Android SDK into a Java binding for forms and can print to the printer using that. However…
Mark Lowe
  • 1
  • 3
0
votes
1 answer

Errrno 32 Pipe error, escpos python2

I need to test an Epson POS printer, TM-U220PD. I have it connected by a Parallel converter to my laptop. It's completely installed, but when I test it with python escpos shows me the following error: Traceback (most recent call last): File…
RooYnnER
  • 23
  • 3
0
votes
1 answer

Unable to use ESC-POS in php

I have a TM-T88IV printer in my network. There are already 2 PCs connected to it and working fine. I added another PC to the network and added the printer on it with the 'generic/text only' driver. I used the following code to print to the printer…
Karan Gupta
  • 529
  • 2
  • 7
  • 21