473,485 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

setting up a POS system... help with scanners?

Hi everyone,

Thanks in advance for reading this.

I'm not a novice, but I'm not a PHP pro, either, nor a programming
expert of any kind, so I'm kind of trying to find a solution that
works for a job that I'm working on.

I have this client that wants to be able to control their web and
retail inventory from one place (I mean, it's the same inventory).
That would require being able to have the "registers" be able to scan
bar coded items and remove them from the database once they are sold.
I've found lots of different scanners, which is fortunate; however,
I'm not sure how I would receive input from a USB/serial/etc barcode
scanner in a PHP web application. Any help? Even a link to a tutorial
or article on the topic would help. Google is turning up very little
except lots of products and software packages and I really would
rather do this myself (unless there's a somewhat professional option
out there that doesn't look like cat poo).

Thanks!

Feb 15 '07 #1
5 1495
On Feb 15, 7:36 pm, "simulacrakisma" <simulacran.h...@gmail.com>
wrote:
Hi everyone,

Thanks in advance for reading this.

I'm not a novice, but I'm not a PHP pro, either, nor a programming
expert of any kind, so I'm kind of trying to find a solution that
works for a job that I'm working on.

I have this client that wants to be able to control their web and
retail inventory from one place (I mean, it's the same inventory).
That would require being able to have the "registers" be able to scan
bar coded items and remove them from the database once they are sold.
I've found lots of different scanners, which is fortunate; however,
I'm not sure how I would receive input from a USB/serial/etc barcode
scanner in a PHP web application. Any help? Even a link to a tutorial
or article on the topic would help. Google is turning up very little
except lots of products and software packages and I really would
rather do this myself (unless there's a somewhat professional option
out there that doesn't look like cat poo).

Thanks!
Dear Simulacrakisma,

there are some extensions for the serial port:

http://www.weberdev.com/get_example-4347.html
http://www.mikrocontroller.net/artic..._benutzen_(PHP)

good luck
Martin

------------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at

Feb 15 '07 #2
simulacrakisma wrote:
Hi everyone,

Thanks in advance for reading this.

I'm not a novice, but I'm not a PHP pro, either, nor a programming
expert of any kind, so I'm kind of trying to find a solution that
works for a job that I'm working on.
A scanner just simulates entry from the keyboard. If the barcode is
'00113442' and they scan it, it will be like the user typed '00113442' at
the keyboard.

The trick is in designing the screen so that it can gracefully handle
situations where a person scans and the screen was not expecting it, stuff
like that.


--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Feb 15 '07 #3
Thanks!

I guess more what I'm asking is exactly what you've put forth - how
would I access that input in PHP? I use PHP for the web so I have no
idea what kind of array the info gathered from a USB device would be
stored in. Any clues?

On Feb 15, 2:30 pm, Kenneth Downs <knode.wants.t...@see.sigblock>
wrote:
simulacrakisma wrote:
Hi everyone,
Thanks in advance for reading this.
I'm not a novice, but I'm not a PHP pro, either, nor a programming
expert of any kind, so I'm kind of trying to find a solution that
works for a job that I'm working on.

A scanner just simulates entry from the keyboard. If the barcode is
'00113442' and they scan it, it will be like the user typed '00113442' at
the keyboard.

The trick is in designing the screen so that it can gracefully handle
situations where a person scans and the screen was not expecting it, stuff
like that.

--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)

Feb 21 '07 #4
Technically you would have a single text field input on your POS
system. you type and enter (or scan) something and then press return,
and process the data.

Depending on what is scanned or typed it does an action. (you can
also have button inputs, which can be used in addition to the text
field.

I.E. you scan a barcode on a package (the form POSTs it), the system
next determines it as it as a UPS code and then goes and checks the
inventory and adds the record into the session or whatever add it to
the tallying list.

Make a mistake, have a price change, etc., have a control code, like a
pre-printed scan for a cancel code, scan that to instruct your program
DB to cancel the next scanned item, then scan the barcode of the
canceled item, etc.

You will need to make a whole set of control codes for such things as
discounts returns, etc. as well as a system for processing the
collected data once you have the checkout complete.

That's about the basics of it.

Feb 22 '07 #5
Okay, so it treats the scanner like input from a keyboard?
If so, that's awesome and easy.

Thanks so much!

On Feb 21, 11:09 pm, l...@portcommodore.com wrote:
Technically you would have a single text field input on yourPOS
system. you type and enter (or scan) something and then press return,
and process the data.

Depending on what is scanned or typed it does an action. (you can
also have button inputs, which can be used in addition to the text
field.

I.E. you scan a barcode on a package (the form POSTs it), the system
next determines it as it as a UPS code and then goes and checks the
inventory and adds the record into the session or whatever add it to
the tallying list.

Make a mistake, have a price change, etc., have a control code, like a
pre-printed scan for a cancel code, scan that to instruct your program
DB to cancel the next scanned item, then scan the barcode of the
canceled item, etc.

You will need to make a whole set of control codes for such things as
discounts returns, etc. as well as a system for processing the
collected data once you have the checkout complete.

That's about the basics of it.

Feb 28 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6305
by: Scott A. Keen | last post by:
Hi, I'm getting tasked with writing an ASP application deployed throughout the company's intranet where all the workstations will be running Internet Explorer 6.0. It's a retail business, and...
1
14141
by: Chad | last post by:
Hello, I am working with a client who wants to integrate barcode scanning technology into a website I'm building for him (ASP and ASP.NET site). Specifically, he wants to use barcode scanning in...
29
3024
by: Joseph Haig | last post by:
I am trying to use descriptive lists, <DL>, as shown in <http://www.maths.man.ac.uk/~jhaig/tmp/test.html> with a style sheet at <http://www.maths.man.ac.uk/~jhaig/tmp/default-2.css>. With Mozilla...
0
1741
by: Shravan | last post by:
Hi, I have a Windows Forms Custom DataGrid, which is put in a usercontrol, which on setting DataSource is setting focus to grid. The call stack for setting the focus is as follows. This is not...
3
14329
by: Karel Vandenhove | last post by:
Hi, I get an error "cannot apply indexing with to an expression of type object" when I try to compile the code below. SSLScannerManager is a COM component. (Used to access fingerprint...
6
1872
by: Michael | last post by:
Program builds solution and setup projects with no reported errors. Building and deploying as loose uncompressed files works just fine. Debug Building and deploying as a setup file results in...
1
3577
by: Vinay Patel | last post by:
hi every one i need project with source code for virus scanner plz any one can help me in this case
0
2028
by: =?Utf-8?B?TGV0emRvXzF0?= | last post by:
I'd like to create a Macro that will sort some raw data, apprx 20k lines, remove some lines based upon a condition in a certain column. Then copy this data into a new spreadsheet and sort the ...
2
9933
by: nmrpa91290 | last post by:
Hi, I am in the design phase of building a database that will track the productivity of my warehouse. I am thinking of using a barcode scanner to assist me with this. Employees will hopefully...
0
7090
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6960
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7116
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6825
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7275
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5418
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4551
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1376
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
247
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.