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

How to detect if thermal printer has been disconnected from com port?

I'm trying to print with a thermal printer which uses a com port. And I would like to detect whether the printer is connected or not. I was assuming that if I try to run the codes which tries to print without connecting the printer, I would get…
Trax
  • 341
  • 4
  • 17
0
votes
1 answer

Unable to print formatted text using Bluetooth printer

I can able to print the text, Arabic characters but i am unable to print the formatted text like align center, bold text etc I am using this plugin to print data https://github.com/don/BluetoothSerial below are the commands for align center and bold…
0
votes
1 answer

ESCPOS GS C commands

Can you please explain to me what aL, aH, bL, bH stands for
ThunderHorn
  • 1,975
  • 1
  • 20
  • 42
0
votes
2 answers

PHP mike42/escpos-php print from iPhone (remote website) to localhost printer

I have a website (on a remote server)and this is viewed by the user on the iPhone (Safari). I'm trying to achieve the user being able to print a text file from that site to a POS Printer (REGO Thermal Printer, RG-MTP58B). This printer does not…
Mr.Web
  • 6,992
  • 8
  • 51
  • 86
0
votes
1 answer

Print QrCode from php escpos Toshiba compatible

I'm trying to print with a Toshiba 4610-1nr, compatible with escpos, emulating Epson TM-T88II a receipt. All works but not the QR code. I tried some code but none works I'm able to print everything, but not the QR code, the barcode works... but…
pette
  • 67
  • 2
  • 13
0
votes
0 answers

Using use keyword based on if condition

I am Working with EscPos thermal printing. need to include windowsprintconnector or networkprintconnector based on condition. I tried to use IF($conntyp == 'WINDOWS') use Mike42\Escpos\PrintConnectors\WindowsPrintConnector; else use…
Jain
  • 33
  • 1
  • 9
0
votes
2 answers

Node Escpos print image on second try

Hello i am creating an express service that prints to a pos printer at http request. The problem is that my solution does not print images on the first print but it does at the second and so on. I am using…
gogibogi4
  • 263
  • 4
  • 15
0
votes
1 answer

interpreting individual bits from ESC/POS status code

I admit, that this project I am working on, is not exactly a textbook example on how to make first steps with Python, but here I am. The setup an ESC/POS printer, locally connected (ethernet, socket) with RaspberryPi, that is remotely receiving…
Tomaski
  • 487
  • 3
  • 15
0
votes
1 answer

ESC/POS Long String Barcode Not Scanable

I'm working on Chinese Bluetooth thermal printer Model:SCAN-X, Problem is barcodes for long strings are not scannable: 0123456789 -- printed & scannable abcdefghijklmno -- printed & not scannable INV-1-48 -- printed & scannable INW-0001-0000000047…
Zulqurnain Jutt
  • 298
  • 3
  • 20
0
votes
1 answer

Print raw data to label printer (QRCode) - ESC/P with PHP

I'm trying to print QRCode-labels on a Brother QL580 label printer directly with PHP (Version 5.6). The function i'm calling to print a QRCode returns: return chr(27) . 'iQ32000020' . $this->dataString . chr(92) . chr(92) . chr(92); This works only…
powlwoq
  • 1
  • 3
0
votes
1 answer

How to read an escpos guide?

For instance, Epson's TM-T88V esc/pos manual is like I need to supply my printer with a buffer that contains the FS C code to change the code page. # doesnt work, the actual code page number just gets interpreted literally \x1C \x43 0 \x1C…
Daniel Lizik
  • 3,058
  • 2
  • 20
  • 42
0
votes
1 answer

cordova-plugin-datecs-printer Can't print image

I use ionic3 to make the mobile app , and install cordova-plugin-datecs-printer When I use the sample code to print image, can't print image here is my code: function printMyImage() { var image = new Image(); image.onload = function()…
uokivan
  • 1
  • 2
0
votes
0 answers

Print CODE128 barcode Epson/IBM OKI thermal

printer : oki ml3320, emulation IBM I can't print this barcode... Now I took 22. example from https://files.support.epson.com/pdf/general/escp2ref.pdf My last try looking that final char[] x = {0x1B, 0x28, 0x42, 0x10, 0x00, 0x06, 0x02, 0x00, 0x7D,…
KanekiSenpai
  • 122
  • 10
0
votes
1 answer

How to generate copies in ESC / POS

You want to print two copies of a voucher in ESC / POS language, but I can not find the function in the documentation to do it just as there is a command to cut the paper $ printer-> cut (); just as there is a command to feed the paper $ printer->…
Bodega Pangal
  • 141
  • 3
  • 15
0
votes
2 answers

How to get ResultCodeExtended OPOS?

I am trying to print an image on Epson TM-T20II. Here is my code: string path = @"test.bmp"; if (File.Exists(path)) { Console.WriteLine("exists"); OPOSHelper.printer.ErrorEvent += Printer_ErrorEvent; // Do I have to configure this? …
Fernando Santiago
  • 2,128
  • 10
  • 44
  • 75