From 9810b281689d7261c718b881ed6840ab5695ba61 Mon Sep 17 00:00:00 2001 From: Thatkev Date: Wed, 7 Feb 2024 22:46:57 +0000 Subject: [PATCH] Update config.example.py added VC-500W related comments --- config.example.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.example.py b/config.example.py index 05ddfaa..e625fd6 100644 --- a/config.example.py +++ b/config.example.py @@ -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'