Update config.example.py

added VC-500W related comments
This commit is contained in:
Thatkev 2024-02-07 22:46:57 +00:00
parent 1ef773dd47
commit 9810b28168
1 changed files with 3 additions and 4 deletions

View File

@ -27,12 +27,11 @@ IMAGE_PATH = '/tmp/image.png'
CACHE_DIR = '/tmp/printercache'
# Remember to add your user to the "lp" group or this won't work!
PRINT_COMMAND = f"brother_ql -m QL-700 -b linux_kernel -p file:///dev/usb/lp0 print -l 62 {IMAGE_PATH} -d"
#PRINT_COMMAND = f"sh labelprinter.sh --host 192.168.5.5 --print-mode vivid --print-cut full --print-jpeg '{IMAGE_PATH}' #change IP to reflect your printer
PRINT_SUCCESS_COMMAND = None # "mpv --no-video success.wav" - this was used to play audio
PRINT_COMMAND = f"brother_ql -m QL-700 -b linux_kernel -p file:///dev/usb/lp0 print -l 62 {IMAGE_PATH} -d" #Comment this out when using a VC-500W
#PRINT_COMMAND = f"sh labelprinter.sh --host 192.168.5.5 --print-mode vivid --print-cut full --print-jpeg '{IMAGE_PATH}' #change IP to your printer's IP and uncuomment
# Resize and process settings
WIDTH_PX = 696
HEIGHT_PX = 9999 # This means "do not care about height"
GAMMA_CORRECTION = 1.8
GAMMA_CORRECTION = 1.8 #This isn't used when using a VC-500W
BACKGROUND_COLOR = 'white'