I want to print the session resume to printer in the PoS terminal. In the computer I only need to print the form and everything is ok, but in the POS (touchscreen) there is no keyboard to print the form.
I have the idea of put a new print button, next to validate button, that do an javascript action like "window.print();"
Well this seems easy at first, I've succeeded in putting the button, but can't find a way of associate the onclick event.
Any suggestion? Thanks