Possible to port a P.O.S. to FPC/JVM? lazarus / 56-Android-JVM ---------------------------------------------------------------------- Ozz_Nixon · 2017-12-18 16:22 Hey guys,    I was asked to port my Point of Sale software to droid for a customer. Before I run and trip, I figured I would ask is it possible to do the following via FPC/JVM? (using DOS terms): Open LPT1 and print 80 chrs or less per line? Send ^G (#7) to LPT1 during print to open cash drawer? Interface with Credit Card reader from the headphone jack, like Square does? Interface with a USB Bar Code Reader, and Interface with a USB rewards card reader/Credit Card - if not using the headphone jack concept Ozz ---------------------------------------------------------------------- zeljkoc · 2017-12-19 09:02 Print to Android with BlueTooth Pandroid unit: https://github.com/zeljkoc/pandroid/tree/master/units/AZCBlueTooth.pas example: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i var  print: AZCBlueToothPrint; begin   print:= AZCBlueToothPrint.Create(Self);   print.OpenDevice;   if not print.write(JLString(' Kupac: ')) then begin end; end; ---------------------------------------------------------------------- Ozz_Nixon · 2017-12-19 20:41 Thank you! So that gets Printing out of the way, now I just have to read from card readers and bar code scanners - and I will be ready to start the port! Thanks! Ozz ---------------------------------------------------------------------- zeljkoc · 2017-12-20 07:00 Example Popis work read barcode http://forum.lazarus.freepascal.org/index.php/topic,32727.0.html https://github.com/zeljkoc/pandroid/tree/master/project/Popis