point-of-sale

Drive a POS printer via USB in c# [closed]

无人久伴 提交于 2019-11-29 09:53:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Any ideas how i can best drive a USB POS printer from c#. POS printers are usually serial, TCP/IP or USB based. I know how to accomplish serial and TCP/IP but have no idea about communications through USB in C#. I know that there is a layer available from Microsoft called POS.NET, but I want to try and avoid

Start program on a second monitor?

久未见 提交于 2019-11-28 18:47:24
Is there a way to specify which monitor a application appears on in Delphi or C++Builder? I am developing a simple program for a customer, which displays kitchen orders on a secondary monitor, generated by a hospitality system. Currently they need to manually drag the window onto the second monitor after it starts. Save the window position before program shutdown and restore them on startup. Multimonitor displays just increase the size of the desktop; other monitor surfaces just have a different section of the same X/Y plane with its origin at the top-left of the primary monitor. This can be

Where can I find a “ESC/POS” Epson Barcode Test Program?

此生再无相见时 提交于 2019-11-28 05:34:16
I am struggling to get an Epson "ESC/POS" printer to print barcodes (Using Delphi) and want to test if the printer is not faulty. Do you know where I can find a program to print a barcode in "ESC/POS"? I suppose as a last resort an OPOS program will also be OK. Also, a demo Delphi Program that works will also be fine. All the Delphi snippets I have so far is not working. The printer I am using is an Epson TM-L60II I Have a full tests program written in Delphi 5 for the TMT88's but the source is abit big for here so here is the barcode bits Please note that as its snippets from the full object

How to print from the Thermal Printer in Android?

非 Y 不嫁゛ 提交于 2019-11-28 03:34:52
I am working on an application for an Android device that will have a built in line printer. I have to interact with this printer and use it to print the details on receipt and then with cutter cut that receipt automatically. I have seen some ESC commands in it, but I don't know how to execute these ESC commands. I have three main issues regarding the Casio Device Printer : 1.I have used the printing code for Build in printer, but after printing the cutter is not activated BuildinEx840 ex840 = new BuildinEx840(); int response = ex840.open(); System.out.println("ex840 open:" + response); byte[]

Start program on a second monitor?

£可爱£侵袭症+ 提交于 2019-11-27 11:39:29
问题 Is there a way to specify which monitor a application appears on in Delphi or C++Builder? I am developing a simple program for a customer, which displays kitchen orders on a secondary monitor, generated by a hospitality system. Currently they need to manually drag the window onto the second monitor after it starts. 回答1: Save the window position before program shutdown and restore them on startup. Multimonitor displays just increase the size of the desktop; other monitor surfaces just have a

Getting position of mouse click in a QLabel

好久不见. 提交于 2019-11-27 08:48:50
问题 What is the best (as in simplest) way to obtain the pos of a mousePressedEvent in a QLabel? (Or basically just obtain the location of a mouse click relative to a QLabel widget) EDIT I tried what Frank suggested in this way: bool MainWindow::eventFilter(QObject *someOb, QEvent *ev) { if(someOb == ui->label && ev->type() == QEvent::MouseButtonPress) { QMouseEvent *me = static_cast<QMouseEvent *>(ev); QPoint coordinates = me->pos(); //do stuff return true; } else return false; } However, I

How to print from the Thermal Printer in Android?

删除回忆录丶 提交于 2019-11-27 05:10:44
问题 I am working on an application for an Android device that will have a built in line printer. I have to interact with this printer and use it to print the details on receipt and then with cutter cut that receipt automatically. I have seen some ESC commands in it, but I don't know how to execute these ESC commands. I have three main issues regarding the Casio Device Printer : 1.I have used the printing code for Build in printer, but after printing the cutter is not activated BuildinEx840 ex840