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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
good summary ..:) ... As you have already mentioned a browser can not access local resoutces by default :
My two scenarios and potentital solutions:
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
server side serial ports : Just sue normal RS-232 java support
Regards,
Pedro R
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Hi ...please elaborate a bit more:
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
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
.
good summary ..:) ... As you have already mentioned a browser can not access local resoutces by default :
My two scenarios and potentital solutions:
Regards,
Pedro R