ocopus
Posts: 14
Joined: Fri Aug 17, 2012 3:10 pm

POS Software?

Sun Aug 26, 2012 7:28 pm

Anybody know of point of sale software for the pi (or am I the only person who's seen its potential in retail?)

broo0ose
Posts: 318
Joined: Wed Dec 14, 2011 3:59 pm
Location: Wirral, UK

Re: POS Software?

Wed Aug 29, 2012 7:26 pm

Is this the sort of thing ..

http://lemonpos.org/

http://www.ghacks.net/2010/01/03/lemonp ... t-of-sale/

no idea if it will work on the Pi.

SlikRick
Posts: 1
Joined: Thu Oct 11, 2012 2:57 pm

Re: POS Software?

Thu Oct 11, 2012 3:10 pm

I am really interested in doing this with Floreant POS its a linux POS software. I have yet to try it out but would love to know if anyone has had any success with something like this?

radio_davio
Posts: 2
Joined: Mon Sep 24, 2012 1:35 pm

Re: POS Software?

Mon Oct 15, 2012 6:53 pm

I don't program POS, however, do use a lot of barcode scanners. So I'll be watching this too. Thanks.

gurro
Posts: 1
Joined: Tue Oct 16, 2012 7:04 am

Re: POS Software?

Tue Oct 16, 2012 7:27 am

I have been trying to install Openbravo POS since I got my pi. Yesterday I found simple instructions how to install JDK (Oracle Java SE Development Kit 7u6) that is needed to run Openbravo. Before I tried run it with open jdk, but couldn't make it work.

Finally Openbravo is running on my pi. I'm planning to use ipad with VNC client as a screen and to type in orders, receipt printer will be connected to pi. I haven't had time to try the printer with pi.

Overall It was pretty simple to install JDK and setup the database needed.

gworks
Posts: 2
Joined: Fri Oct 26, 2012 11:42 am

Re: POS Software?

Fri Oct 26, 2012 11:44 am

I'm also interested in getting openbravo installed, where did you find those jdk instructions?

also, anyone know of any pos solutions that would support credit card processing?

User avatar
savageautomate
Posts: 228
Joined: Thu Aug 16, 2012 3:20 pm
Location: USA
Contact: Website

Re: POS Software?

Fri Oct 26, 2012 1:53 pm

gworks wrote:I'm also interested in getting openbravo installed, where did you find those jdk instructions?
Not sure which instructions *gurro* used, but here is a link to the set of instructions that I posted on how to install the Oracle JDK 7 (Oracle Java SE Development Kit 7u6) on the Raspberry Pi.

http://www.savagehomeautomation.com/pro ... -170u.html
Robert Savage | Follow me @savageautomate
http://www.pi4j.com | http://www.pislices.com
http://www.savagehomeautomation.com

dan3008
Posts: 1172
Joined: Wed Aug 15, 2012 1:05 pm

Re: POS Software?

Mon Oct 29, 2012 11:43 pm

I've been working on some POS software in python, but its not my strong point in programing. but I can really see the potential for the pi in this and stock control :D
dan3008 wrote:Pays your money, takes your choice

embeddedsys
Posts: 7
Joined: Tue Nov 06, 2012 8:36 pm

Re: POS Software?

Wed Nov 07, 2012 7:38 pm

This seem intresting. Please post jpg or video of you setup and some screenshots of pos view in ipad

qassoom
Posts: 10
Joined: Wed Oct 31, 2012 9:39 am

Re: POS Software?

Fri Dec 14, 2012 10:04 am

I am really interested in this too! Looking forward updates on this page!!!

User avatar
Shawty
Posts: 59
Joined: Fri Nov 16, 2012 1:22 am
Location: North East UK
Contact: Website

Re: POS Software?

Fri Dec 14, 2012 10:19 am

Would I be correct in assuming there's scope here to write some code for reading a chip & pin EMV card?

I have several chunks of code already in C#, all I would need is to figure out how to port them to another card reading system.

Essentially all I would need to change would be the calls to the underlying USB Card reader library.

or

Alternatively I could do an article on reading EMV on my blog then let folks translate it to a language of their own.
still crazy (Even since the days of my BBC Model B) BEST and only way to be ;-)

IM: @shawty_ds on twitter
if you remember the Acorn and BBC days then I was "!Shawty! of DSPD" (Author of the BBC B Sound Tracker suite, and the Dreamscape demo)

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Fri Dec 14, 2012 4:59 pm

I haven't finished the compile yet, but so far it looks like I might have figured out a way to get Openbravo running on my pi.
This is what I've done so far
http://dbc-customs.com/?p=42

qassoom
Posts: 10
Joined: Wed Oct 31, 2012 9:39 am

Re: POS Software?

Fri Dec 14, 2012 6:46 pm

How good would it be to attach a receipt printer, a cash register, and maybe a bar-code scanner to RasPi? If possible this would do a lot...!

User avatar
Shawty
Posts: 59
Joined: Fri Nov 16, 2012 1:22 am
Location: North East UK
Contact: Website

Re: POS Software?

Sat Dec 15, 2012 12:09 am

Most bar code scanners emulate a keyboard, so no extra programming would be needed for those, you'd simply read the standard input stream, and should get a stream of digits followed by a carriage return.

Most receipt printers use a standard line printer control set (Anyone who remembers sending individual Epson control codes to the LPT ports using different combinations of ASCII below 32 and above 127 will know what I mean) all you would need would be to either interface a USB serial / parallel device, or write directly to a receipt printer via it's serial USB interface.

The cash register on the other hand would be a very different kettle of fish, most cash registers use a proprietary serial based protocol, and you would need the manufacturers documentation to do it.

The good part is that most cash registers are serial based (normally RS232) so a USB serial device would get you most of the way there, but you'd still need to identify the most commonly used cash registers and decode the serial protocols.
still crazy (Even since the days of my BBC Model B) BEST and only way to be ;-)

IM: @shawty_ds on twitter
if you remember the Acorn and BBC days then I was "!Shawty! of DSPD" (Author of the BBC B Sound Tracker suite, and the Dreamscape demo)

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Sun Dec 16, 2012 6:13 pm

I don't know if anyone has followed the walk through I posted, but my pi has crashed 2 times during the compile. I reniced the java process to 19 this time, and I think I know why it was crashing.

/home/pi/Openbravo-3.0MP17.1/src/build.xml:226: java.lang.OutOfMemoryError: Java heap space

I looks like the 512M on the pi just ins't enough. Does anyone have any thoughts on how to get around this?

Thanks.

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Tue Dec 18, 2012 2:50 am

I have found that the 512MB on the model B is not enough for Openbravo to successfully install. I haven’t confirmed if this change will correct that issue, but I found two settings in the build.xml file that have to do with the max memory. Once my compile is finished, I will update this article
Here is the diff:

diff modified_build.xml build.xml
173c173
< <condition property=”build.maxmemory” value=”256M” else=”128M”>

> <condition property=”build.maxmemory” value=”1024M” else=”512M”>
539c539
< <javadoc sourcepath=”${base.src}:${base.src.test}:${build.AD}:${base.src.core}/src:${base.src.gen}:build/javasqlc/src/:build/javasqlc/srcAD” Windowtitle=”${title}” access=”protected” Header=”${header}” Footer=”${footer}” destdir=”${build.docs}” linksource=”no” maxmemory=”256M”>

> <javadoc sourcepath=”${base.src}:${base.src.test}:${build.AD}:${base.src.core}/src:${base.src.gen}:build/javasqlc/src/:build/javasqlc/srcAD” Windowtitle=”${title}” access=”protected” Header=”${header}” Footer=”${footer}” destdir=”${build.docs}” linksource=”no” maxmemory=”1024M”>

If anyone knows more about java than I do, I would like to know if this sounds like a potential fix.
Thanks

schneidz
Posts: 22
Joined: Sat Sep 15, 2012 9:08 pm

Re: POS Software?

Mon Dec 24, 2012 2:47 pm

gworks wrote:...
also, anyone know of any pos solutions that would support credit card processing?
this is what i hacked together to use the card reader:

Code: Select all

[schneidz@hyper temp]$ cat ./stuff/gcj/credit-card-read.c
#include "stdio.h"
main(int argc, char *argv[])
{
int i, c;
FILE * fstream;
fstream = fopen(argv[1], "r");
c = fgetc(fstream);
for(i=0; i < 4059; i++)
   fgetc(fstream);

for(i=0; i < 380; i++)
{
  if((i - 1) % 8 == 0)
printf("%c", c);
  c = fgetc(fstream);
}
fclose(fstream);
}

[schneidz@hyper temp]$ ./stuff/gcj/credit-card-read.x  /dev/usb/hiddev1
4853980024xxxxxx^VISA CARDHOLDER/^11110000000000

User avatar
Shawty
Posts: 59
Joined: Fri Nov 16, 2012 1:22 am
Location: North East UK
Contact: Website

Re: POS Software?

Mon Dec 24, 2012 3:23 pm

As I asked / Mentioned earlier. I have a ton of C# code for reading chip & pin / EMV, but it's all for windows and uses the PCSC Smart card interface, and only does chip & pin not magstripe, so you'll need a USB chip & pin enabled reader, plus the raspberry pi Linux smart card drivers & libs. Then you'll need to do some work to convert the PCSC calls to the calls needed to talk to the Linux implementation.

The higher level code however for selecting the payment application, getting the GPO/AFL objects etc then finally reading the EMV data objects is all there and all works wonderfully.

I'm actually in the process of updating the code to be more modern and easier to use, and turning it into a WPF based windows desktop analyzer application.
still crazy (Even since the days of my BBC Model B) BEST and only way to be ;-)

IM: @shawty_ds on twitter
if you remember the Acorn and BBC days then I was "!Shawty! of DSPD" (Author of the BBC B Sound Tracker suite, and the Dreamscape demo)

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Mon Dec 24, 2012 4:10 pm

Just to follow up with everyone. I was un-able to compile Openbravo on the pi. I was however successful with LemonPOS. I found the Ubuntu walk through for compiling Lemon POS was close enough for Wheezy. If anyone needs help with that, I will post a walk through shortly.

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Mon Dec 24, 2012 5:56 pm

Here is the walk through for LemonPOS http://dbc-customs.com/?p=77
Now we just need to figure out a cash drawer. From What I can tell, there are some barcode scanners, and thermal printers that will work with Linux already. For the thermal printer, we just need one that comes with a CUPS driver, and LemonPOS will integrate with that, and barcode scanners are more or less an input device like a keyboard, so it will just read the barcode, and type out the contents.

techwizard10
Posts: 1
Joined: Fri Aug 09, 2013 3:54 pm

Re: POS Software?

Fri Aug 09, 2013 4:13 pm

I just installed LemonPOS on my Pi, and I used this wish list on Amazon.co.uk to get all the stuff I needed.

http://www.amazon.co.uk/gp/registry/wis ... av_lists_1

dilleyboy
Posts: 7
Joined: Fri Dec 14, 2012 4:56 pm

Re: POS Software?

Fri Aug 09, 2013 9:35 pm

That's a great list! Do you have everything up and running now? Did you use my walk through to get LemonPOS installed, or have you found a more efficient method?
Thanks for sharing!

qassoom
Posts: 10
Joined: Wed Oct 31, 2012 9:39 am

Re: POS Software?

Sun Sep 01, 2013 7:35 am

A tutorial would be greatly appreciated!!!

Oakham
Posts: 366
Joined: Tue Aug 20, 2013 9:11 pm

Re: POS Software?

Sun Sep 01, 2013 8:09 am

This may give you a start of how to install from source:

http://dbc-customs.com/?p=77


http://sourceforge.net/apps/mediawiki/l ... sers_Guide
Searching is easy, most questions have been asked before !

qassoom
Posts: 10
Joined: Wed Oct 31, 2012 9:39 am

Re: POS Software?

Sun Sep 01, 2013 8:23 am

Oakham wrote:This may give you a start of how to install from source:

http://dbc-customs.com/?p=77


http://sourceforge.net/apps/mediawiki/l ... sers_Guide
Thanks man! Greatly appreciated!!!

Return to “General discussion”