-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) · 1018 Bytes
/
.env.example
File metadata and controls
40 lines (33 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Batch Label Printer configuration
#
# Standalone (Windows): copy to %LOCALAPPDATA%\batch-labels\.env
# e.g. C:\Users\<you>\AppData\Local\batch-labels\.env
#
# Standalone (macOS): ~/Library/Application Support/batch-labels/.env
# Standalone (Linux): ~/.local/share/batch-labels/.env
#
# Development: copy to .env in the project root (overrides the above)
# Printer
PRINTER_HOST=192.168.1.100
PRINTER_PORT=9100
# Label dimensions (mm)
LABEL_WIDTH=70
LABEL_HEIGHT=36
LABEL_DPI=203 # GK420D = 203
# Fonts: 0=scalable, A=9pt, B=11pt, D=18pt, E=28pt, F=26pt bold, G=60pt, H=21pt bold
SKU_LABEL_FONT=0
BATCH_LABEL_FONT=0
# Text size (mm)
SKU_CHAR_HEIGHT=28
SKU_CHAR_WIDTH=28
BATCH_CHAR_HEIGHT=6
BATCH_CHAR_WIDTH=6
# Padding (mm)
SKU_PADDING_LEFT=5
SKU_PADDING_TOP=5
BATCH_PADDING_BOTTOM=1
BATCH_PADDING_RIGHT=4
# Optional: path to CSV of valid SKUs for input validation
# SKU_LIST_FILE=skus.csv
# Auto-update: check GitHub releases and update the exe on startup (standalone only)
# UPDATE_ON_START=true