Liebe Leute, ich war ungenau. Mein Script verhält sich _exakt_ so wie xsane: während das Script druckt (man beachte das Datum für Patchlevel 0): ******************************************************************************** #!/bin/sh # make copy from flatbed-scanner device # needs patching if other scanners should be in use # # Patchlevel 0 26.06.99 # Patchlevel 1 07.11.99 # Patchlevel 2 21.11.00: use lpr rather than lp # Patchlevel 3 20.01.01: scanimage has been moved # Patchlevel 4 07.07.01: pnmtops in /usr/bin/, not more in /usr/bin/X11 # 17.07.01: not tested before scanimage moved, too # Patchlevel 5 19.07.01: ask for the number of copies and copy this ofte # Patchlevel 6 17.12.01: change width, change programs in use, better qu # Patchlevel 7 12.12.04: scanimage back to /usr/bin, scanner not specifi # PRINTER not specified any more # Patchlevel 8 30.12.04: remove the loop to print, simply print to # the printer and give -n $NUMCOPIES as parameter # Patchlevel 9 08.02.05: several tests / modifications due to issues # with stability on SuSE 9.2 # Patchlevel 10 24.07.05: introduce debugging options. No problems at the # first test. # Patchlevel 11 13.08.05: return to pnm-format / use pnmtops. Do not # delete generated files in case of debugging. # Patchlevel 12 28.07.10: specify target printer to lpr. # SCANNERPROGRAM=/usr/bin/scanimage SCANNEROPTIONS="--mode Gray --resolution 150" # SCANNEROPTIONS="--mode Lineart --resolution 300" if [ "$1" != "" ]; then SCANNERPROGRAM="${SCANNERPROGRAM} -d $1" fi # This refers to the usage of pnmtops: CONVPROGRAM=/usr/bin/pnmtops CONVPROGOPTIONS="-scale 0.46" PRINTPRG="lpr" PRINTERNAME=`/usr/sbin/lpc status | sed '/^[ \t]/d; s/:$//g'` PRINTPRGOPTS="-P ${PRINTERNAME} -o raw -#" TEMPFILE=/tmp/scannerinput.pnm.$$ NUMCOPIES=1 VALID=0 DEBUG=0 if [ "${1}" != "" ]; then DEBUG="TRUE" echo "We do not print - this is for testing only!" fi while [ ${VALID} = "0" ]; do echo -n "Geben Sie die Anzahl der zu erstellenden Kopien ein! (weiter echo -ne "1"'\b' read NUMCOPIES if test -z "${NUMCOPIES}"; then NUMCOPIES=1 fi if test ${NUMCOPIES} -gt 0 2>/dev/null; then VALID=1 else echo "Der Wert ${NUMCOPIES} ist keine gültige Zahl!" fi done echo -n "Anzahl Kopie(n): ${NUMCOPIES}" ${SCANNERPROGRAM} ${SCANNEROPTIONS} > ${TEMPFILE} ${CONVPROGRAM} ${CONVPROGOPTIONS} ${TEMPFILE} > ${TEMPFILE}.ps # only print if we do not debug! if [ "${DEBUG}" != "TRUE" ]; then ${PRINTPRG} ${PRINTPRGOPTS} ${NUMCOPIES} ${TEMPFILE}.ps rm ${TEMPFILE} rm ${TEMPFILE}.ps fi ******************************************************************************** ist der Scanner nicht mehr benutzbar. Das war seit weiland SUSE Linux (ja, SUSE, nicht openSUSE !) noch nie der Fall. Und zwar mit _genau_ dem Script, die einzigen Änderungen sind dann passiert, wenn sich beispielsweise Pfade geändert haben sollten. Während also der Scan zu Ende ist und ich einen neuen Scan starten will, kann ich weder mit scanimage noch mit xsane auf den Scanner zugreifen, er ist dann blockiert. Frage: kann das an dem HP-Print-Manager liegen, den ich aktiviert habe? Vielen Dank! Bis bald mal Dieter -- ----------------------------------------------------------- | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org