Thank you. Glad I didnt spend more time trying to figure this out.
Anyway I can print receipts on client side from browser?
Are there any packages that allows that.
I have seen topics claiming that People can communicate with hardware (Receipt Printer) on client side from MeteorJS.
How to achieve that? Any pointers would be appreciated.
Apart from creating a pdf (client side) on the fly, I think there are a few browser based libraries out there that make it easy for you to print a target div and signal the browser to ignore page header and footer information.
Mind you, this is not fir accessing a pronter, this is for telling the browser that it should pront something.
Afaik, browsers don’t let you arbitrarily access system resources/hardware. There used to be plugin (flash/java) based alternatives in the past and they may still exist, especially java based ones but that would be a little less tasteful, more intrusiv than letting the browser handle it.