spejstore-labelmaker/README.md

404 B

spejstore-labelmaker

bundle install
bundle exec ruby main.rb

try it out:

GET http://localhost:4567/api/2/preview.pdf?id=abcdef&name=ItemName&owner=OptionalOwner POST http://localhost:4567/api/2/print?id=abcdef&name=ItemName&owner=OptionalOwner

Make sure to pass either LABELMAKER_LOCAL_PRINTER_NAME or LABELMAKER_IPP_PRINTER_URL. See top of main.rb for all env variables available.