point-of-sale

Why does Honeywell POS4NET fire the same event for two different scanners?

橙三吉。 提交于 2021-02-10 15:11:59
问题 I want to read input from two Honeywell scanners, namely Voyager 1202g and Orbit 7190g . For some business requirements, both devices need to be used from the same machine. Both scanners use the Honeywell POS4NET driver. I need to know, which scanner is delivering the data. The Scanner objcts are created as follows // This code is only for illustrating how my application works // and may therefore be incomplete. Microsoft.PointOfService.PosExplorer posExp = new PosExplorer(this);

Dynamic paper height with .NET PrintDocument

天大地大妈咪最大 提交于 2020-06-24 22:21:11
问题 I ran into a problem with sizing pages on a thermal printer. I have started from this answer: https://stackoverflow.com/a/27165167/1030464 and now I have the code I pasted below. This works nicely, however altough I calculate and set the size of the page, it seems to print a full A4 sized page each time. (I am testing on a Sam4s Ellix II and Microsoft PDF Printer) - It is a big problem, as it's needed to often print 5-6 line long text snippets. I need to support multiple thermal printers and

POS for .NET | Differentiate between (barcode) scanner and keyboard input

≯℡__Kan透↙ 提交于 2020-01-29 02:31:09
问题 I want to differentiate between (barcode) scanner and keyboard input in an WPF application. What I need is an event which occurs whenever my scanner is providing data. In my application there is a special field which will be filled with the input from the scanner. So, if the user has focused an other field I don't want to insert the scanned code in that, but my special field. First of all I switch the input mode of my scanner (connected by USB) from "keyboard emulation" to "raw". But what do

Odoo 10 - Javascript Query to a Model

纵然是瞬间 提交于 2020-01-15 09:24:08
问题 I'm doing: var callback = new $.Deferred(); new Model('pos.order').query(['invoice_id']).filter([['id', '=', '100']]) .first().then(function (order) { if (order) { callback.resolve(order); } else { callback.reject({code:400, message:'Missing Order', data:{}}); } }); It works fine, and returns an Order object. But my issue is that i want to access the relation objects (many2many, many2one), but the order object has only the ID's of his relations. For example if i want to access the company or

Open Cash Drawer

烂漫一生 提交于 2020-01-06 14:17:17
问题 I need to open Cash Drawer in my WPF application, this is the first time I deal with Cash Drawer, after some search I have knew that I'll use Microsoft Point of Services. So I have installed POSforDotNet V1.14 and start new project and added the reference, I have found this example : CashDrawer myCashDrawer; PosExplorer explorer; public MainWindow() { InitializeComponent(); this.Loaded += MainWindow_Loaded; } void MainWindow_Loaded(object sender, RoutedEventArgs e) { explorer = new

Handling input from a keyboard wedge

僤鯓⒐⒋嵵緔 提交于 2020-01-06 07:05:31
问题 Following on from the question asked by Mykroft Best way to handle input from a keyboard “wedge” Best way to handle input from a keyboard "wedge". I need to write a class that intercepts key strokes, if the input is determined to be from the keyboard wedge (as described in the above post) the data will be directed to POS classes to handle, otherwise they keystrokes must be passed on to be handled in windows in the normal manner. This raises two questions How can I intercept key strokes when

Best way to handle input from a keyboard “wedge”

冷暖自知 提交于 2020-01-01 05:33:08
问题 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

Best Practice for Writing a POS System

偶尔善良 提交于 2020-01-01 04:12:25
问题 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

How to print connected character in verifone vx520?

ⅰ亾dé卋堺 提交于 2019-12-25 05:12:12
问题 I want to draw a line in printed paper like _____ and the picture below is my font bitmap and I use this code to download and select my font to printer and print characters #include <stdlib.h> #include <stdio.h> #include <string.h> #include <svc.h> #include <printer.h> int main() { int retVal; int handle; open_block_t parm; int h_font_file; char print[32] = {43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43}; handle

Point of Sale Application Architecture

你。 提交于 2019-12-24 15:32:27
问题 I have been asked to build a POS Application for a Restaurant. I have experience creating POS application in VB6.0 and have always wanted to create one with UX. I am looking to create one with WPF as front end. I pretty much have the process picture in mind and also screens. Said so much, I am not sure how to Architecture one. Few Major questions that come to my mind are : Should I use Composite Application Guidance for WPF - Prism. If the answer is yes will performance reduce as in POS