1
0
Fork 0

updated text

This commit is contained in:
Thatkev 2024-07-11 10:16:04 +00:00
parent 9810b28168
commit 81adb9747b
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
# To get an API_ID and API_HASH, you need to sign up to be a Telegram Dev. # To get an API_ID and API_HASH, you need to sign up to be a Telegram Dev.
# Do it here: https://core.telegram.org/api/obtaining_api_id # Do it here: https://core.telegram.org/api/obtaining_api_id
API_ID = 11111 API_ID = 11111
@ -27,8 +26,8 @@ IMAGE_PATH = '/tmp/image.png'
CACHE_DIR = '/tmp/printercache' CACHE_DIR = '/tmp/printercache'
# Remember to add your user to the "lp" group or this won't work! # 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" #Comment this out when using a VC-500W 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 and see vc500.md
#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 #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 uncomment
# Resize and process settings # Resize and process settings
WIDTH_PX = 696 WIDTH_PX = 696