Files
escProxy/.env.example
2026-07-11 05:41:17 +02:00

23 lines
675 B
Plaintext

# 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