[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SOLVED Re: USB printer CUPS stalls on "Sending data to printer"



Brian <ad44@cityscape.co.uk> writes:

> Similarily glad but recording for the
> archives that foomatic-db-compressed-ppds is
> not required to set up and use a print queue
> with printer-driver-foo2zjs.

Right, the turn of events was this line

    foo2zjs:0/ppd/foo2zjs/HP-LaserJet_Pro_P1102w.ppd

which I found with

    $ lpinfo -m | grep 1102w

But I can't find it on the disk and my
functions to track it can't find it either!
Perhaps not a real file but some abstraction
foo2zjs uses...

file-to-pack () {
    apt-file update > /dev/null
    apt-file search $@
}

pack-to-file () {
    local pack=$1
    local -a files
    files=("${(@f)$(dpkg --listfiles $pack)}")
    for f in $files; do
        if [[ -f $f ]]; then echo $f; fi
    done
}

-- 
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: