You have to play with serial or usb or whatever port, I mean physical device connected to PC where the browser on dolibarr is displayed, web browsers do not have this capabibliities to play with physical external device (may be with hand made specifics browser plugin), as well as web server like apache is not designe to do that. Use tricks like write a file that is read by deamon or crontab task each seconds, or API xml or REST, that interact with some material... you always need an communication layer, like driver and some executable that can play with your physical device. Take care to the architecture, if your webserver is the caskdesk it can work, but it's not smart(stolre your caskdesk, you lost all your data...), you should deploy a server in your back office and only have a browser with printer as cashdesk.

Regards

Florian Henry
+33 6 03 76 48 07
florian.he...@open-concept.pro
http://www.open-concept.pro
Twitter : @_Open_Concept_
Google+ : https://www.google.com/+Open-conceptPro

Le 08/01/2015 10:25, Doursenaud, Raphaël a écrit :
Yup, but you still need to have a communication layer for the EPT and another communication layer between whatever you use on the Pi and Dolibarr.

2015-01-08 10:19 GMT+01:00 Olivier Geffroy <j...@jeffinfo.com <mailto:j...@jeffinfo.com>>:

    Use rasberry pi is an excellent Idea

    Envoyé de mon iPhone

    Le 8 janv. 2015 à 10:09, "charles...@benke.fr
    <mailto:charles...@benke.fr>" <charles...@benke.fr
    <mailto:charles...@benke.fr>> a écrit :

    Think the good way is to pass by standalone minipc like raspberry
    pi where the tpe was connected and an appli send payement info to
    Dolibarr with xml

    This functionality must be use too for printing problems too

    Bien cordialement,

    Charles-François BENKE

    http://www.benke.fr - 0637056117 <tel:0637056117>

    *De :*dolibarr-dev-bounces+charles.fr=benke...@nongnu.org
    <mailto:dolibarr-dev-bounces+charles.fr=benke...@nongnu.org>
    [mailto:dolibarr-dev-bounces+charles.fr=benke...@nongnu.org] *De
    la part de* Doursenaud, Raphaël
    *Envoyé :* jeudi 8 janvier 2015 09:54
    *À :* Posts about Dolibarr ERP & CRM development and coding
    *Objet :* Re: [Dolibarr-dev] TPE

    I remember looking into it some years ago and the solution was,
    indeed, to use a Java lib borked into PHP with some abstraction
    layer.

    It was a lot of hassle for very little benefit so our client made
    the decision to not go that way.

    I can get to the archive and retrieve my research from that time
    if you're really dedicated ;)

    Cheers,

    Le 7 janvier 2015 21:09, Olivier Geffroy <j...@jeffinfo.com
    <mailto:j...@jeffinfo.com>> a écrit :

    Hi Hodei

    You will find nothing in PHP to connect TPE, look for java and I
    think they have no dolibarr module to communicate with a TPE,
    perhaps with POS dev (2Byte or ATM)

    Le 7 janvier 2015 21:05, Hodei-Dev <d...@hodei.net
    <mailto:d...@hodei.net>> a écrit :

    bonjour à tous

    bonjour

    je souhaite connecter un TPE (Terminal de Paiement Electronique
    pour carte bleue) à dolibarr; j'ai vu qu'il n'existait rien sur
    dolistore mais connaissez-vous un module php permettant de
    dialoguer avec un TPE

    merci

    translate in english :

    I want to connect a TPE (Electronic Payment Terminal for credit
    card) to dolibarr; I find nothing on DoliStore but do you know a
    php module to communicate with a TPE ?

    thanks

--
*Raphaël Doursenaud*
Directeur technique (CTO)
Expert certifié en déploiement Google Apps <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

<http://gpcsolutions.fr>
http://gpcsolutions.fr
Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921
<http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>


_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à