diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-07-01 22:15:36 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-07-01 22:15:36 +0200 |
commit | 2bacaec5c41bc6688411fe44d3100a927901f4ab (patch) | |
tree | f828a3213ad4bbbac7447ebe0cfc159e01dedec4 /.local | |
parent | c5243c577686aff0f4225940fdca8784ae65184c (diff) |
lps: Just make it as stupid as possible
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/lps | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/.local/bin/lps b/.local/bin/lps index 2df4126..91e4219 100755 --- a/.local/bin/lps +++ b/.local/bin/lps @@ -1,9 +1,3 @@ -#!/usr/local/bin/andy +#!/bin/sh -set flags -m color -if test $#args -ge 2 { - set flags $flags --area=0,0,$args[1],$args[1] -} - -set uri `lpoptions -p $PRINTER | sed -E 's/.*device-uri=hp:([^ ]+).*/hpaio:\1/' -chronic hp-scan -d $uri $flags +chronic hp-scan $@ |