From c71d2dcf0f4e70bcaf2d0685cf0e477cfbc7ca07 Mon Sep 17 00:00:00 2001 From: KyoungsueKim Date: Sat, 26 Nov 2022 17:57:42 +0900 Subject: [PATCH] change: change another printer driver (45453ZK) --- verbose-waffle/core/printers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verbose-waffle/core/printers.py b/verbose-waffle/core/printers.py index 7159275..ec9888e 100644 --- a/verbose-waffle/core/printers.py +++ b/verbose-waffle/core/printers.py @@ -16,7 +16,7 @@ def get_page_cnt(id: str): def __print_to_file(id: str): # Create Virtual Printer - subprocess.check_call(f'lpadmin -p {id} -v file:///root/{id}.prn -E -m CNRCUPSIRADV45253ZK.ppd'.split(' ')) + subprocess.check_call(f'lpadmin -p {id} -v file:///root/{id}.prn -E -m CNRCUPSIRADV45453ZK.ppd'.split(' ')) # Print pdf file via the virtual printer subprocess.check_call(f'lpr -P {id} -o ColorModel=KGray temp/{id}.pdf'.split(' '))