sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-28 21:55:12 +00:00
parent 92bfff2b71
commit aa4256a8d0
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
65 changed files with 748 additions and 495 deletions

View file

@ -0,0 +1,15 @@
Index: ui/scrollprint.py
--- ui/scrollprint.py.orig
+++ ui/scrollprint.py
@@ -988,9 +988,9 @@ class ScrollPrintView(ScrollView):
if utils.which('lpr'):
if alt_nup:
- cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, '"']), '| lpr -P', self.cur_printer])
+ cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, '"']), '| ${LOCALBASE}/bin/lpr -P', self.cur_printer])
else:
- cmd = ' '.join(['lpr -P', self.cur_printer])
+ cmd = ' '.join(['${LOCALBASE}/bin/lpr -P', self.cur_printer])
if copies > 1:
cmd = ' '.join([cmd, '-#%d' % copies])