Brian <a...@cityscape.co.uk> writes: > Shame! The result would have good to have > known. You don't fancy returning to the store > with your ARM device and persuading them to > let you do a quick test, do you?
You do that in the UK? :O Wonderful! But no, they wouldn't do that. > Any Debian package will provide its own PPDs. > lpadmin would be used with the "-m" option > after searching the output of "lpinfo -m". > Where is this PPD from? printer-driver-hpcups > has it. It is all from the repositories. $ lpinfo -m | grep 1102w drv:///hpijs.drv/hp-laserjet_professional_p_1102w-hpijs.ppd HP LaserJet Professional P 1102w hpijs, 3.14.6, requires proprietary plugin drv:///hpcups.drv/hp-laserjet_professional_p_1102w.ppd HP LaserJet Professional P 1102w, hpcups 3.14.6, requires proprietary plugin drv:///hpijs.drv/hp-laserjet_professional_p1102w-hpijs.ppd HP LaserJet Professional p1102w hpijs, 3.14.6, requires proprietary plugin drv:///hpcups.drv/hp-laserjet_professional_p1102w.ppd HP LaserJet Professional p1102w, hpcups 3.14.6, requires proprietary plugin $ sudo lpinfo -v | grep LaserJet direct hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W470T1FPR1a direct usb://HP/LaserJet%20Professional%20P%201102w?serial=000000000W470T1FPR1a This code tests all combinations (4*2 = 8) but the result is inconclusive. It says different things each time, for the same combinations. One thing is certain: no printout! test-all-printers () { local test_file=~/DO_THIS local test_printer for p in {1..8}; do test_printer=laser-$p echo "Testing $test_printer..." lpr -P $test_printer $test_file done } add-all-printers () { local -a devices devices=("${(@f)$(sudo lpinfo -v | \grep LaserJet | cut -d ' ' -f 2)}") local -a models models=("${(@f)$(sudo lpinfo -m | \grep 1102w | cut -d ' ' -f 1)}") local number=1 for m in $models; do for d in $devices; do sudo lpadmin \ -p laser-${number} \ -E \ -v $d \ -m $m number=$(( number + 1 )) done done } Source: 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 -