render logs into images
This commit is contained in:
23
.env.example
Normal file
23
.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# ESC/POS print proxy configuration
|
||||
|
||||
# Host/port the proxy listens on for incoming print jobs
|
||||
LISTEN_HOST=0.0.0.0
|
||||
LISTEN_PORT=9100
|
||||
|
||||
# Target printer the raw bytes are forwarded to
|
||||
TARGET_HOST=10.10.10.24
|
||||
TARGET_PORT=9100
|
||||
|
||||
# Directory where job logs are written
|
||||
LOG_DIR=./logs
|
||||
|
||||
# ESC/POS cut command prefix (hex, space-separated). Default GS V = 1d 56
|
||||
# A job is delimited by this prefix followed by one mode byte.
|
||||
CUT_PREFIX=1d 56
|
||||
|
||||
# Keep bytes arriving after a cut as the start of the next job (true/false)
|
||||
KEEP_AFTER_CUT=true
|
||||
|
||||
# Forward received bytes to the target printer (true/false).
|
||||
# Set to false to only receive + log jobs without sending them anywhere.
|
||||
FORWARD=true
|
||||
Reference in New Issue
Block a user