2025-01-13 16:36:51 +00:00
2025-01-12 00:41:13 -06:00
2025-01-12 00:41:13 -06:00
2025-01-12 00:41:13 -06:00
2025-01-12 00:41:13 -06:00
2025-01-12 20:42:31 -06:00
2025-01-12 00:41:13 -06:00
2025-01-12 00:41:13 -06:00
2025-01-12 19:42:26 -06:00
2025-01-13 01:58:44 +00:00
2025-01-12 20:42:31 -06:00
2025-01-12 20:42:31 -06:00
2025-01-12 20:42:31 -06:00
2025-01-13 02:25:19 +00:00
2025-01-12 00:41:13 -06:00
2025-01-13 16:36:51 +00:00

Überbringer

Bringer of information

EPOS Network Printer via REST API

Just a fun little project to take a REST API input and generate an output to a network printer.

TO DO

  • Print Queue for incoming jobs (create background loop that checks queue)
  • Re-work API Data Input Format to slim it down for basic commands that don't need size/text input.

Example Usage:

curl --request POST \
  --url http://127.0.0.1:8080/api/v1/print \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidWJlcmJyaW5nZXIifQ.TWB3oK8fuoad7oP6FHTP7HhAQB7iRhZRtL1N71irVNc' \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: Insomnia/2023.5.5' \
  --data '{
    "data": [
        {
            "type": 6,
            "size": 1,
            "text": "B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2"
        },
        {
            "type": 6,
            "size": 1,
            "text": "2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020DAC4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4BF20202020202020202020202020202020202020202020B3202121212041434854554E47202121212020B320202020202020202020202020202020202020202020C0C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4D92020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020"
        },
        {
            "type": 6,
            "size": 1,
            "text": "B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2"
        },
        {
            "type": 6,
            "size": 1,
            "text": "202020202020202020202020202020205F0A2020202020202020202020202020207C455D0A202020202020202020202020202E2D7C3D3D3D3D3D2D2E0A202020202020202020202020207C207C206D61696C207C0A202020202020202020205F5F5F7C5F5F5F5F5F5F5F5F7C0A20202020202020202020202020202020207C7C0A20202020202020202020202020202020207C7C0A20202020202020202020202020202020207C7C2020207777770A202020202020202020202C3B2C202020207C7C202020295F282C3B3B3B2C0A202020202020202020203C5F3E20205C207C7C2020205C7C2F205C5F2F0A202020202020202020205C7C2F20205C5C7C7C20205C5C7C2020207C2F2F0A5F5F5F5F5F5F5F5F5F5F5C7C2F2F5F5C5C7C2F2F2F5F5C562F5F5C7C2F2F5F5F5F5F5F5F5F5F5F5F5F5F"
        },
        {
            "type": 5,
            "size": 3,
            "text": ""
        }
    ]
}'
Description
EPOS Network Printer via REST API
https://anomalous.dev
Readme 3.3 MiB
v0.1.2 Latest
2025-01-13 04:34:27 +00:00
Languages
Go 76.1%
Shell 23.9%