updated text
This commit is contained in:
parent
9810b28168
commit
81adb9747b
|
@ -1,4 +1,3 @@
|
|||
|
||||
# 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
|
||||
API_ID = 11111
|
||||
|
@ -27,8 +26,8 @@ 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" #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
|
||||
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 uncomment
|
||||
|
||||
# Resize and process settings
|
||||
WIDTH_PX = 696
|
||||
|
|
Loading…
Reference in New Issue