Niels Leenheer on Nostr: And this is what I've been spending my evenings on lately. A decoder for receipt ...
And this is what I've been spending my evenings on lately. A decoder for receipt printer protocols. You can take the bytes that get send to a receipt printer and inspect the commands that are inside of it. And... actually see a render of the receipt.
{
"id":"46985905575070b0987ceececfa82eab27e56d97e5ac4b5e7cda30eda58e33d3",
"pubkey":"6712dbf30ead8ae3fb151ed0b0f3f8a5f93866d16a16056139033c4a66811a86",
"created_at":1790343864,
"kind":1,
"tags": [
[
"imeta",
"url https://cdn.masto.host/frontendsocial/media_attachments/files/117/331/974/010/484/223/original/d99116b7bf73ecd7.mp4",
"m video/mp4"
],
[
"proxy",
"https://front-end.social/@html5test/117331975475812079",
"web"
],
[
"proxy",
"https://front-end.social/users/html5test/statuses/117331975475812079",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://front-end.social/users/html5test/statuses/117331975475812079",
"pink.momostr"
],
[
"-"
]
],
"content":"And this is what I've been spending my evenings on lately. A decoder for receipt printer protocols. You can take the bytes that get send to a receipt printer and inspect the commands that are inside of it. And... actually see a render of the receipt.\n\nOnly useful for a hand full of people. And me.\nhttps://cdn.masto.host/frontendsocial/media_attachments/files/117/331/974/010/484/223/original/d99116b7bf73ecd7.mp4\n",
"sig":"6053c8be98b83a27d368a3a20c3a3d30cbbcbe31f7be07bfede8e2cf7266ab98d6cadae4a632a8aad44d47a75198f774f28ccd3333617570c2f11b5178bd7f2a"
}