Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 859 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 859 Bytes

label-print-server

Print server for network-connected label printers.

Usage with Docker

The server is published on the GitHub container registry.

To make it run, you need a MongoDB instance accessible from the container, and setup the following environment variables:

  • NODE_ENV: Default: production.
  • LOG_LEVEL: Default: info.
  • MONGODB_URL: URL to the MongoDB instance.
  • MONGODB_DATABASE: Name of the MongoDB database to use.

Test scripts

Zebra

Get printer status

node scripts/zebra/getStatus.js <ip address>

IPP

Get all printer attributes

node scripts/ipp/getAttributes.js <ip address>

Get printer status (selected attributes)

node scripts/ipp/getStatus.js <ip address>