Vielen Dank für eure Antworten!
Ich arbeite mit Bionic Beaver, Ubuntu 18/04 und versuche mit xsane einen Scan über das Netzwerk zu machen. Einem Windows-System im Netzwerk gelingt das und auch vom Drucker aus kann ich in die Dropbox scannen.
sudo sane-find-scanner -q
liefert keinerlei Output
scanimage --device lexmark_nscan:libnet/788C7770684C --format=pxm >~/tttest.pxm
martin@um8:~$ scanimage --device lexmark_nscan:libnet/788C7770684C --format=pxm >~/tttest.pxm
License Agreement
-----------------
Checking for License Agreement
FILE: /home/martin/.lexscan/LicenseAccepted
License Agreement has already been accepted as user. [ USER_FILE ]
/usr/lexscan/jre/bin/java -ms16m -mx64m -Duser.language=de -Duser.region=DE -Duser.locale=de_DE.UTF-8 -DDEBUG=TRUE -cp /usr/lexscan/lib/scan.jar com.lexmark.unix.drivers.jscan.scan.Scan "filename=/tmp/lexscan-scan-images/Scan_01scan.pxm#ip-address=192.168.178.62#user-name=current#profile-name=Scan_01#content-type=1#resolution=150#mode=0#original-size=0#orientation=0#bkgremoval=0#mirrorimage=0#negativeimage=0#scan-both-sides=0#brightness=5#colordropout=0#colordropoutthreshold=128#compression=2#type=3#text-mode=0#documentsource=0#sharpness=0#start-now=0#debug#json-profile={ "shortcutId": "NextAvailable", "name": "current:Scan_01", "ipAddress": "192.168.178.62", "tcpPort": 11111, "fileFormat": "PXM", "imageComposition": "BW1BIT", "compression": "ZLIB", "resolution": 150, "darkness": 5, "scanSource": 0, "mediaSize": "A4", "orientation": 0, "contrast": 0 }"
StdOut:
wlp4s0:192.168.178.69
StdErr:
StdOut:
/home/martin
StdErr:
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner:
sendRequest[SCANNER] :192.168.178.62
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner:
sendRequest[POST]: webservices/netscan/v1/info/scannersupport
StdOut:
/home/martin
StdErr:
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner:
OEM in properties file= [Lexmark]
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner:
Url = [192.168.178.62]
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals ==
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <!DOCTYPE html >
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <html lang="en">
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <head>
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <meta content="IE=edge" http-equiv="X-UA-Compatible"/>
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner: line is equals == <title>Lexmark MC3224dwe</title>
DEBUG: com.lexmark.unix.drivers.jscan.scan.CheckScanner:
TITLE FOUND
FAMILY ID=29 URL=http://192.168.178.62/netscan/post
DEBUG: com.lexmark.unix.drivers.jscan.scan.Scan: File deleted successfully
DEBUG: com.lexmark.unix.drivers.jscan.scan.ImageServer:
starting server socket on port 9751 ...
DEBUG: com.lexmark.unix.drivers.jscan.scan.ImageServer:
run():Listening... on port 9751
DEBUG: com.lexmark.unix.drivers.jscan.scan.ImageServer:
sendRequest[SCANNER] :192.168.178.62
DEBUG: com.lexmark.unix.drivers.jscan.scan.ImageServer:
sendRequest[POST]: SCANTYPE=2&TIME=15 Mar 2021 21:34:18 GMT&NAME=current:Scan_01&USERNAME=current&PROFILENAME=Scan_01&ADVCONTRAST=0&BACKGROUNDREMOVAL=0&SHADOWDETAIL=0&MIRRORIMAGE=0&EDGETOEDGE=0&NEGATIVEIMAGE=0&COLORDROPOUT=0&SHARPNESS=3&QUICKPROFILE=0&RESOLUTION=150&CONTRAST=Mixed&DARKNESS=5&COMPRESSION=Zlib&DEPTH=1&TYPE=PXM&SIZE=LETTER&ORIENTATION=PORTRAIT&DUPLEX=SINGLE&MULTIPLEUSE=TRUE&KEEPALIVE=TRUE&TCPPORT=9751&IPADDRESS=192.168.178.69
java.io.IOException: Server returned HTTP response code: 400 for URL: http://192.168.178.62/webservices/netscan/v1/profiles
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at com.lexmark.unix.drivers.jscan.scan.ImageServer.httpSendRequest(ImageServer.java:517)
at com.lexmark.unix.drivers.jscan.scan.ImageServer.StartServer(ImageServer.java:441)
at com.lexmark.unix.drivers.jscan.scan.Scan.submitJob(Scan.java:470)
at com.lexmark.unix.drivers.jscan.scan.Scan.init(Scan.java:188)
at com.lexmark.unix.drivers.jscan.scan.Scan.main(Scan.java:789)
DEBUG: com.lexmark.unix.drivers.jscan.scan.Scan:
Return value from Start Server: -1
DEBUG: com.lexmark.unix.drivers.jscan.scan.Scan:
Exiting: Problem Connecting to Scanner
ErrorCode: -1
scanimage: sane_start: Operation was cancelled
martin@um8:~$
Dabei erscheint das Java-Fenster des Druckertreibers und die Fehlermeldung "Das ausgewählte Profil wird bereits verwendet. Geben Sie einen anderen Profilnamen ein und versuchen Sie es erneut." (Das habe ich auch schon erfolglos bei xsane versucht)
sudo netstat -tulpen -a
martin@um8:~$ sudo netstat -tulpen -a
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name
tcp 0 0 127.0.0.1:17600 0.0.0.0:* LISTEN 1000 43736 2152/dropbox
tcp 0 0 127.0.0.1:17603 0.0.0.0:* LISTEN 1000 43737 2152/dropbox
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 21480 858/systemd-resolve
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 25388 967/cupsd
tcp 1 0 192.168.178.69:37614 52.203.155.34:443 CLOSE_WAIT 1000 40647 2152/dropbox
tcp 32 0 192.168.178.69:42084 162.125.35.135:443 CLOSE_WAIT 1000 37784 2152/dropbox
tcp 0 0 192.168.178.69:56346 91.189.92.38:443 VERBUNDEN 0 58679 980/snapd
tcp 0 0 192.168.178.69:58130 34.213.227.39:443 VERBUNDEN 1000 47439 2792/firefox
tcp 0 0 192.168.178.69:54758 162.125.19.131:443 VERBUNDEN 1000 40837 2152/dropbox
tcp 0 0 192.168.178.69:53318 192.168.178.26:80 VERBUNDEN 1000 60749 2060/nextcloud
tcp6 0 0 ::1:631 :::* LISTEN 0 25387 967/cupsd
tcp6 32 0 2001:16b8:6024:28:57752 2620:100:6022:3::a2:443 CLOSE_WAIT 1000 41351 2152/dropbox
tcp6 32 0 2001:16b8:6024:28:57774 2620:100:6022:3::a2:443 CLOSE_WAIT 1000 44607 2152/dropbox
tcp6 32 0 2001:16b8:6024:28:60644 2620:100:6022:7::a2:443 CLOSE_WAIT 1000 37875 2152/dropbox
tcp6 32 0 2001:16b8:6024:28:57758 2620:100:6022:3::a2:443 CLOSE_WAIT 1000 37789 2152/dropbox
tcp6 32 0 2001:16b8:6024:28:57754 2620:100:6022:3::a2:443 CLOSE_WAIT 1000 38604 2152/dropbox
udp 0 0 0.0.0.0:47605 0.0.0.0:* 111 23183 988/avahi-daemon: r
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 27067 1118/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 111 23181 988/avahi-daemon: r
udp 0 0 127.0.0.53:53 0.0.0.0:* 102 21479 858/systemd-resolve
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 32598 1713/dhclient
udp6 0 0 :::53925 :::* 111 23184 988/avahi-daemon: r
udp6 0 0 :::5353 :::* 111 23182 988/avahi-daemon: r