2023-08-16 22:26:55 +00:00
|
|
|
Index: scan.py
|
|
|
|
--- scan.py.orig
|
|
|
|
+++ scan.py
|
2023-10-01 03:21:04 +00:00
|
|
|
@@ -1943,7 +1943,7 @@ try:
|
2023-08-16 22:26:55 +00:00
|
|
|
elif d == 'print':
|
|
|
|
hp_print = utils.which("hp-print", True)
|
|
|
|
if not hp_print:
|
|
|
|
- hp_print = 'python ./print.py'
|
|
|
|
+ hp_print = '${MODPY_BIN} ./print.py'
|
|
|
|
|
|
|
|
if dest_printer is not None:
|
|
|
|
cmd = '%s -p %s %s &' % (hp_print, dest_printer, output)
|