Menu

Printing receipts

MZI
2015-11-18
2022-03-04
  • MZI

    MZI - 2015-11-18
    Hello,
    
    in my scenario to print receipt to customer I have to use fiscal receipt printer. There is defined protocol how to communicate with this fiscal printer. The problem is the whole communication is over parallel-USB conversion driver.
    
    Do you have any experience in this area or is there in SmartPOS a technical sollution for this? I mean I must be able to send some sequences to a local parralel port on a client machine and listen for a answer. All sollutions I have found were difficult to setup and maintain.
    
    Thank you 
    Michal
    
     
  • pedrorozo

    pedrorozo - 2015-11-18

    Hi.. within SmartPOS 2.x (OBBOS based) you are using the internal report engine, where you can generate paralel reports (xml reports or other formar) at the same time that you create the normal PDF ticket. But each country have different fiscal/invoice format, so it is not an automatic or end user feature. It requires programming, checking invoice requirements and so on .

    In SmartPOS 3. 1 (OSGI web based ), is is also possibel to generate parallel reports , but again you would need a programmer to do that customization for your location and requirements.

    Then it is now an out-of-the-box feature ...but havign in mind that all the source code is available for borth smartpos 2.x (client server+rabbitMQ+Idempiere) and SmartPOS 3.x-4x (OSgi-web based), it sound like a viable customization if you ahve clearly defined the format and additioanl requirement for that project.

    Regards,

    Pedro R

     
  • MZI

    MZI - 2015-11-20

    Hi ,
    thank you for your answer. And I am sorry I was not clear enough.
    We did it in OBPOS , that was ok.

    Now I am looking for a best sollution for web based POS.
    Until now I found this, as most sutable sollution.
    https://github.com/johnlauer/serial-port-json-server

    Just now I am at the stage of researching all possibilities.
    As I saw your presentation in Krefeld about OSGI web based POS I am curious what is your opinion.
    Once I decide what is a best way, I can develop and share it as a plugin

    Best Regards
    Michal

     
  • pedrorozo

    pedrorozo - 2015-11-21

    Hi ...please elaborate a bit more:

    1. what si precisely what you are looking for in SmartPOS Web ?
    2. what is the scope of your previous development in OBPOS...

    So far you description is too high level, If you are more precise and clear, perhaps we can give you better feedback.

    Regards

    Pedro R

     
  • MZI

    MZI - 2015-11-24

    Hi,
    Ok I will try my best.
    For me, the idea of web based POS is a way I would like to go. Just forget the OBPOS.

    Now to be able to implement it, I must be able to communicate with fiscal printer over RS232 port/USB.

    AFIAK there is no possibility to open connection from ajax to comm port.
    And at this moment my problem is how to do it. How to solve webclient <-> rs232 communication.
    I was curious, what is your oppinion/experience

    Best Regards

    Michal

    .

     
  • pedrorozo

    pedrorozo - 2015-11-24

    good summary ..:) ... As you have already mentioned a browser can not access local resoutces by default :

    My two scenarios and potentital solutions:

    1. Browser Local ports: (SmartPOS running from a remote server in a local web browser) an small applet that already support rs-232 communication, and it is not diifcul to create &integrates
    2. server side serial ports : Just sue normal RS-232 java support

    Regards,

    Pedro R

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.