ryanmitchell Yep as its stands it only changes status if there is something to print so that will cause an issue for you. I’ll change how it works and make a new release (hopefully this weekend).
breaksecurity @ryanmitchell Also if I have multiple order at the same time to be printed may I have concurrency problems? Whit an IP printer? Or the extension try to print one order at the time?
breaksecurity Can you give me an hint on where i can find the snippet of code in charge of changing the status?
ryanmitchell Multiple orders are handled fine by the autoprint scripts - it shouldn’t cause concurrency issues
breaksecurity https://github.com/BreakSecurity/ti-printers-proxy @ryanmitchell Also a small contribution to handle multiple printers 😉 Also the extension do not allow to print with the button from order page if the printer permission is not granted. Would be best to differentiate it so stuff can only print without being able to modify printers settings
ryanmitchell breaksecurity thanks. I’ve pushed a new update which should fix the chain issue. will look at permissions at some point and revisit that.
ryanmitchell breaksecurity Thanks for the multiple printers code, im sure that’ll be useful for others! I’ll add it to the readme if thats ok?
ryanmitchell I have updated the Print Proxy application to handle multiple printers, allow auto starting of printers on load, as well as having a new layout to make it a bit easier to use. Check out the v1.1.0 release here: https://github.com/thoughtco/ti-print-proxy/releases/tag/v1.1.0
breaksecurity @ryanmitchell Would be possible to have notification sound? A lot of thermal printer have it but with this extension it do NOT work…
ryanmitchell This is something you control through the printer software - there is often a setting to play a sound on print
breaksecurity Strange because with old sw it is working but NOT with extension and I really didn’t change anything on printer SW Whit old sw I mean the program on cashregister
ryanmitchell There is an ESC/POS command to do it but support isnt universal, best to let the printer software handle it
breaksecurity So in my case I am dealing with a rebranded printer and I am not able to find the sw. How should I do?
ryanmitchell You need to search for the specific command for your printer - the beep command is different per model as its non standard. Some don’t support the command at all. You would then add it to the bytes array in the escprint js file sendText function.