point-of-sale

Best way to handle input from a keyboard “wedge”

天大地大妈咪最大 提交于 2019-12-03 14:29:48
I'm writing a C# POS (point of sale) system that takes input from a keyboard wedge magcard reader. This means that any data it reads off of a mag stripe is entered as if it were typed on the keyboard very quickly. Currently I'm handling this by attaching to the KeyPress event and looking for a series of very fast key presses that contain the card swipe sentinel characters. Is there a better way to deal with this sort of input? Edit: The device does simply present the data as keystrokes and doesn't interface through some other driver. Also We use a wide range of these types of devices so

Best Practice for Writing a POS System

淺唱寂寞╮ 提交于 2019-12-03 10:42:35
I'm putting together a basic Point of Sale (POS) system in C# that needs to print to a receipt printer and open a cash drawer. Do I have to use the Microsoft Point of Service SDK? I've been playing around with printing to my Samsung printer using the Windows driver that came with it, and it seems to work great. I assume though that other printers may not come with Windows drivers and then I would be stuck? Or would I be able to simply use the Generic/Text Driver to print to any printer that supports it? For the cash drawer I would need to send codes directly to the COM port which is fine with

Point of Sale and Inventory database schema

对着背影说爱祢 提交于 2019-12-03 01:13:54
问题 I’m trying to create a basic Point of Sale and Inventory management system. Some things to take into account: The products are always the same (same ID) through the whole system, but inventory (available units for sale per product) is unique per location. Location Y and Z may both have for sale units of product X, but if, for example, two units are sold from location Y, location Z’s inventory should not be affected. Its stocked units are still intact. Selling one (1) unit of product X from

How to print from web application to receipt printer?

♀尐吖头ヾ 提交于 2019-12-02 23:14:05
I was asked by my client to print receipts on an Epson TM U220 ( http://pos.epson.com/products/TM-U220.htm ) from my web application. I have no idea how to do that. Are there any java applets or something else that I can use for printing? Should i use JasperReports? (Does JasperReports help to cope with this problem?) If there are flash apps that could be used, I have no objection to using that. I am using Grails for my web apps. You don't need an applet, from a grails controller you may use any Java library. Use the Java printing services available to the runtime in javax.print. This is

Point of Sale and Inventory database schema

ε祈祈猫儿з 提交于 2019-12-02 16:32:04
I’m trying to create a basic Point of Sale and Inventory management system. Some things to take into account: The products are always the same (same ID) through the whole system, but inventory (available units for sale per product) is unique per location. Location Y and Z may both have for sale units of product X, but if, for example, two units are sold from location Y, location Z’s inventory should not be affected. Its stocked units are still intact. Selling one (1) unit of product X from location Y, means inventory of location Y should subtract one unit from its inventory. From that, I

Webusb: Access Denied trying to open printer on Windows

本小妞迷上赌 提交于 2019-12-01 10:40:36
I am trying to allow a POS web app to print directly to a StarMicronics (or any receipt printer, for that matter) using the Chrome webusb API. I am using the example here almost exactly except I have modified the vendorId filter to the Vendor ID of StarMicronics. I have also tried it with a completely empty filter. It works great on the Mac computers I have tested it on, but the problem is on Windows. When I click the print button, Chrome opens up the connection window, my device is listed and I can select it and click Connect. So navigator.usb.getDevices() is working great. When I refresh the

Webusb: Access Denied trying to open printer on Windows

試著忘記壹切 提交于 2019-12-01 08:25:38
问题 I am trying to allow a POS web app to print directly to a StarMicronics (or any receipt printer, for that matter) using the Chrome webusb API. I am using the example here almost exactly except I have modified the vendorId filter to the Vendor ID of StarMicronics. I have also tried it with a completely empty filter. It works great on the Mac computers I have tested it on, but the problem is on Windows. When I click the print button, Chrome opens up the connection window, my device is listed

how to set logo on verifone vx520 internal printer

时光总嘲笑我的痴心妄想 提交于 2019-12-01 08:20:34
I want to set a logo on printed paper in verifone vx520 should i change the <*PTRLGO> value? and how can i change the <*PTRLGO>? and how can i download this logo to the printer? how should i call the logo on program? I have written my program with c. here is my code but it's wrong. i used GP command to print a logo. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <svc.h> char myLOGO[]="testlogo.bmp"; char buf[200]=""; void main () { int i,t; char logo[]="*PTRLGO"; char buf[500] = ""; int prt_handle,prt_com; prt_handle = open(DEV_CONSOLE, 0); prt_com = open(DEV_COM4, 0); put

how to set logo on verifone vx520 internal printer

我们两清 提交于 2019-12-01 06:37:31
问题 I want to set a logo on printed paper in verifone vx520 should i change the <*PTRLGO> value? and how can i change the <*PTRLGO>? and how can i download this logo to the printer? how should i call the logo on program? I have written my program with c. here is my code but it's wrong. i used GP command to print a logo. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <svc.h> char myLOGO[]="testlogo.bmp"; char buf[200]=""; void main () { int i,t; char logo[]="*PTRLGO"; char buf

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

回眸只為那壹抹淺笑 提交于 2019-11-30 07:50:23
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 using this. Any ideas or any C# libraries that people can recomend would be really appreciated. Thanks You should really consider using POS for .NET and OPOS or .NET service objects (Epson, for example provides both). POS for .NET conforms to the UnifiedPOS industry standard for