An auto print sample created with nwjs. It supports Windows XP (also nwjs supports osx and linux but not tested)
Starts the application silently (in the tray). The main window will be opened in 2 secs. Then it will try to find printers and It will print the textarea#payload element with the first printer automatically.
install Nodejs
install npm
npm install nw-builder -g
install brew (optional to build windows exe with macosx)
brew install wine (optional to build windows exe with macosx)
Download nwjs sdk and extract main folder. and use this command
npm run start
npm run build
npm run bw