Questions tagged [escpos]

A proprietary POS printer command system from EPSON.

A proprietary POS printer command system from EPSON.

320 questions
17
votes
0 answers

Intermec PB51 says it has 864 dots across but it has only 832

I am printing images on an Intermec PB51 using ESC/P language. In the ESC V command specification, it says: After the printer receives this command, the printer dumps the binary data supplied directly to the printhead. Graphics printed with this …
esskar
  • 10,638
  • 3
  • 36
  • 57
8
votes
3 answers

How to send ESC/POS commands to thermal printer in Linux

I am trying to send ESC/POS commands on a thermal printer. But whenever i send them thermal printer prints them as a text instead of executing them as commands. I am writing these commands in a .prn file and whenever i executes lp command to print a…
user3860949
  • 115
  • 1
  • 1
  • 10
5
votes
2 answers

Setting character code table to print non-latin characters in ESC/POS printer

I have an Android app and I'm trying to print some texts with it that contain non-latin characters. I'm using this code to send ESC t n command to the printer: byte[] buf = new byte[]{0x1B, 0x74, (byte)2}; // 2 is the codetable for PC850:…
Alexandru Pufan
  • 1,842
  • 3
  • 26
  • 44
5
votes
1 answer

ESC POS command ESC* for printing bit image on printer

I want to print a bitmap logo file with ESC POS command ESC*. Following is the link for technical documentation of the command. https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=88 According to me, the printer requires the…
kvkhekale
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

How to send raw string to a dotmatrix printer using python in ubuntu?

I have a dot-matrix printer LX-300 connected to my computer through the network. How do I send a raw string with ESCP characters directly to my printer in Python? The computer is connected to the printer through another computer. I need to send a…
William Wino
  • 3,599
  • 7
  • 38
  • 61
5
votes
0 answers

How to send ESC/POS commands on phonegap

I am programming a Phonegap App that sends printing to a thermal printer using Bluetooth I am using phonegap-bluetooth-plugin and print normally But when using ESC commands, they are being printed with the text. I can print using the…
4
votes
3 answers

Print Thai language

I have an application which print the receipt to receipt printer using ESC/POS. It needs to support Thai language. When I tried to print Thai language, some of the characters are being separated like this photo: Here is my code: printMSG =…
Hannim Lee
  • 43
  • 1
  • 6
4
votes
2 answers

C# ESC/POS Print Vietnamese

I have an application which print the receipt to receipt printer using ESC/POS. It needs to support multi-languages. Currently, I've tested with Chinese characters (both traditional and simplified) and Thai language. They all are working…
Sam
  • 1,826
  • 26
  • 58
4
votes
2 answers

ESC/POS thermal printer, how to center a bitmap image in Android?

I'm writing a simple app in Android to print through a ESC/POS thermal printer. I've just a problem. The app generate a QR Code (with zxing library), convert it in a bitmap and send it to the printer. The printer print it, but I'm not able to center…
seb
  • 113
  • 2
  • 4
  • 13
4
votes
1 answer

How to define NV bit image in thermal printer ESC/POS

I have been looking for some sample for quite a long time now but did not find any. I want to feed the image to printer in its memory (or cache) and then print it out. I have the documentation of the command: FS q n [xL xH yL yH d1...dk]1...[xL xH…
Awais Shaikh
  • 531
  • 4
  • 15
4
votes
2 answers

How to use ESC/POS command Java

I'm trying to print on a printer POS for tickets. It's a EPSON TMU220PD. I can print, but I don't know how I can program printer for print with a font bigger and how I can to do for cut the paper automatically. I have reading a lot and there are…
Allanh
  • 465
  • 1
  • 7
  • 19
4
votes
1 answer

Print Arabic words from Python to ESC/POS printer?

I have an Odoo implementation, and I need to print Arabic words to an ESC/POS printer. The Odoo community has already developed a Python module that translates UTF-8 text to ESC/POS Code Page. The problem is that when I print Arabic text I'm getting…
Radwan S
  • 51
  • 1
  • 5
3
votes
1 answer

Drawing Arabic Characters to bitmap

i have been trying to print arabic characters using SPRT thermal printer with the python-escpos package, but i cant seem to find any solution at all, so i decided to draw the arabic characters to a bitmap and then print it. But that also doesn't…
Mido
  • 35
  • 3
3
votes
1 answer

how to print indian languages in ESC/POS printer? how to encoding?

I’m using Qz-tray ESC/POS printer. printer print the Tamil characters like ????????. Some people say I need to enable encoding the Indian character code page. How to find the Tamil language code page number? Sample code: this.get_dashes('\x2D', 48)…
Bot coder
  • 75
  • 4
3
votes
0 answers

iOS- Unable to get print response in ESC/POS compatible BLE Thermal Printer using Swift

I am trying to print something using Niyama BT-II Wireless Bluetooth Thermal Printer . I've integrated ESC/POS Printer Driver for Swift. Tried the example code given in the project. I can successfully connect to the device but when i'm printing…
1
2 3
21 22