Thermal printers: Difference between revisions

From PrePostPrint
(Added WebUSB resources)
 
No edit summary
Line 2: Line 2:
You can print “directly” from the browser to a printer using WebUSB.
You can print “directly” from the browser to a printer using WebUSB.


Web compatibility: <nowiki>https://caniuse.com/webusb</nowiki>
Web compatibility: [https://caniuse.com/webusb caniuse.com/webusb]


WebUSB Documentation: <nowiki>https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API</nowiki>
WebUSB Documentation: [https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API developer.mozilla.org/en-US/docs/Web/API/WebUSB_API]


==== Tools and libraries ====
==== Tools and libraries ====
- <nowiki>https://cellivar.github.io/WebReceiptLinePrinter/demo/</nowiki>
- [https://cellivar.github.io/WebReceiptLinePrinter/demo/ cellivar.github.io/WebReceiptLinePrinter/demo/=]


- <nowiki>https://receiptline.github.io/designer/</nowiki>
- [https://receiptline.github.io/designer/ receiptline.github.io/designer/=]


- <nowiki>https://github.com/NielsLeenheer/WebUSBReceiptPrinter</nowiki> (and a [https://noti.st/nielsleenheer/zP0qdm/slides fantastic talk] on how it was built)
- [https://github.com/NielsLeenheer/WebUSBReceiptPrinter github.com/NielsLeenheer/WebUSBReceiptPrinter] (and a [https://noti.st/nielsleenheer/zP0qdm/slides fantastic talk] on how it was built)


DEMO (created in January 2024 in [[PPPrototypes workshop @ Césure]])&nbsp;: <nowiki>https://glitch.com/edit/#!/webusb2print</nowiki>
DEMO (created in January 2024 in [[PPPrototypes workshop @ Césure]])&nbsp;: <nowiki>https://glitch.com/edit/#!/webusb2print</nowiki>

Revision as of 08:49, 12 February 2024

Thermal printer with a Web Browser

You can print “directly” from the browser to a printer using WebUSB.

Web compatibility: caniuse.com/webusb

WebUSB Documentation: developer.mozilla.org/en-US/docs/Web/API/WebUSB_API

Tools and libraries

- cellivar.github.io/WebReceiptLinePrinter/demo/=

- receiptline.github.io/designer/=

- github.com/NielsLeenheer/WebUSBReceiptPrinter (and a fantastic talk on how it was built)

DEMO (created in January 2024 in PPPrototypes workshop @ Césure) : https://glitch.com/edit/#!/webusb2print