Bartosz Blimke
Bartosz Blimke
+1
@nbubna Thank you! I didn't know about `clear` 👍
@nbubna I get `ns1.clear is not a function`. Am I using outdated version?
Hi @mike42 I have ended up generating QR codes as images and then adding them as images. Here is an example of escpos file with QR code: [qr_code.escpos.gz](https://github.com/receipt-print-hq/escpos-tools/files/2983612/qr_code.escpos.gz)
@gelinger777 QR is not supported and I don't remember how to distinguish them. I ended up producing escpos files with images of QR codes instead of QR codes.
@ioquatix if that's possible, it sounds like a great idea.
@ioquatix thank you for spending time on this! There was a project which tried doing something similar https://github.com/rdsubhas/webmock-server I believe the goal behind the proxy idea is to prevent monkey-patching...
One thing to consider is that WebMock needs to cover all the popular ruby http clients, therefore we would need to make sure that the same is possible across all...
> A server side solution should be client agnostic Do you know how to achieve that? How to intercept the request and proxy it to appropriate local server and at...
I assume this is something that would only work for URI's with hostname and not for URIs with IP address? Could you please point me to some docs or example...