Re: USB printer CUPS stalls on "Sending data to printer"
Brian <ad44@cityscape.co.uk> writes:
> But it will give you something to do for the
> rest of the afternoon!
I wrote this to automatize it:
# try all PPDs on the system:
#
# $ test-ppd **/*.ppd
#
# and, in another pane:
#
# $ watch -t -n 0.1 lpstat -p
test-ppd () {
local -a ppds
ppds=($@)
local test_file=~/TEST-TEXT-FILE
local printer=laser
for p in $ppds; do
sudo lpadmin -p $printer -E -P $p
doprint $test_file
sleep 7
done
} # [1]
How does that differ from what you describe?
Is the above enough to find out?
[1] http://user.it.uu.se/~embe8573/conf/.zsh/printers
--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 55 Blogomatic articles -
Reply to: