Public
Edited
Feb 29, 2024
Fork of Draw Me
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function createMessage(opts) {
fetch(
"https://thermalprinter.accrocch.io/v1/print/printer/ESCPOS_Printer_Giacomo",
{
method: "POST",
mode: "no-cors",
headers: new Headers({
Accept: "application/json",
"Content-Type": "application/json"
}),
body: JSON.stringify(opts)
}
)
.then(function (response) {
return response.status;
})
.then(function (data) {
console.log("Got response:", data);
});
}
Insert cell
Insert cell
Insert cell
<style>
canvas {
/* border: 1px solid; */
}
</style>
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more