Java Jive
2024-03-10 16:54:46 UTC
After a decade or more of cursing my Canon PIXMA iP4000 inkjet printer
any time I needed to print anything because the nozzles had become
blocked since I last used it, I've now bought a rather large and very
heavy Xerox C315 laser multi-function printer/scanner/copier/fax
connected via ethernet. I've spent the last 3 days setting it up,
including:
+ 2 x W7, 1 x W10 laptops can now both print & scan from it via Web
Services for Devices (WSD).
[Aside: I have seen it claimed that, if needed, my two XP laptops, which
are 32-bit, could print to it by sharing it from one of the others which
are all 64-bit, but I don't believe that because there still would be
the 32/64 bit drivers issue - when I tried to share the Canon via XP,
I could not print to it from W7 for the same reason as I could not
connect it directly to the W7 PC in the first place, because I had no
64-bit drivers for it, which was one of the two reasons why I still
needed XP, to print, and is now removed anyway. The other was likewise
my old HP Scanjet, which I still might need occasionally to use, as it's
the only scanner from which I can completely remove the lid to scan
large documents piecemeal and stitch the results together.]
+ It can now scan to a share on my QNAP NAS.
+ Likewise to an email attachment.
+ After installing the Debian driver ...
https://www.support.xerox.com/en-gb/product/xerox-c315-multifunction-printer/content/146849
... I can print from Ubuntu 18, but can NOT scan from it, and this
problem, which has consumed a large proportion of the three days since
delivery, is the subject of the rest of this post ...
Apparently this is quite a common problem with these MFP's, regardless
of make. I have been reading posts over the last 5-10 years of others
outlining similar problems with makes including HP, Samsung, etc. Here
are some examples of what I've been trawling through:
https://askubuntu.com/questions/1100908/xerox-workcenter-3215-scanner-isnt-recognized-on-18-04
https://unix.stackexchange.com/questions/71849/can-a-linux-computer-receive-scanned-images-from-a-scanner-using-wsd-web-servic
https://askubuntu.com/questions/1262946/ubuntu-20-04-network-printer-works-but-scanner-not-detected
This is a summary of what I've tried so far:
I wondered if the firewall was preventing communication with the MFP, at
least as far as TCP/IP ports used for scanning were concerned, but
disabling it with ...
ufw disable
... made no difference, the MFP scanner still couldn't be found.
I've tried installing libusb-0.1-4 as described in the first post above,
but it made no difference. Indeed, superficially at least, why would
it, when my MFP is connected via the ethernet, not USB as was his? But
I thought I might as well try it anyway.
Also from that post, the debug environment setting SANE_DLL_DEBUG=5
doesn't seem to make any difference, for example I don't seem to get
anything extra, let alone useful, out of the test command mentioned in
some of the posts that I've read. The output from ...
SANE_DLL_DEBUG=5 scanimage -L
... is exactly the same as from ...
scanimage -L
... ie nada/zilch found.
Both the next two posts describe editing a file in /etc/sane.d,
epkowa.conf in the first, and xerox_mfg.conf in the second, to add lines
of the form ...
# Xerox (R) C315 MFP
tcp <ip-address> [<port>]
... as per ...
http://www.sane-project.org/man/sane-xerox_mfp.5.html
... which I have done, trying both without and with several specific
port numbers, all with the firewall still disabled and rebooting after
each edit, but nothing has worked.
The MFP's IP address is fixed by the router, is displayed on the
printer's interface, and pinging it from Ubuntu gets the expected
response, so there is no possibility of that being wrong, which just
leaves the question of which port(s) to try ...
Searching this site ...
https://www.speedguide.net/ports.php
... for ports mentioning Xerox gets 9 hits, of which only one, 2157,
looked likely, but that didn't work.
Searching the firewall rules on a W7 machine which is able to scan from
the MFP finds ports 3702, 5357, & 5358 are involved in WSD
communications, but none of those worked either.
Printing out the settings from the MFP &/or loading them via its web
interface reveals that there is the setting ...
Settings, Network/Ports, Scan to PC Port Range: 9751:12000
... but 9751 did work either. Moreover, it seems to disagree with ...
Settings, Network/Ports, TCP/IP, TCP/IP Port Access
... which lists the port status, open or closed, of a number of ports on
the MFP, but the above range is not listed as being in either state.
However, that same list also reveals that the following are open ...
TCP 65001 WS-Discovery
TCP 65004 WSD Scan Service
... but neither of those worked either.
Apart from this one significant problem, the machine seems to be very
good, but I'm grinding my teeth about this issue. Can anyone help?
TIA
any time I needed to print anything because the nozzles had become
blocked since I last used it, I've now bought a rather large and very
heavy Xerox C315 laser multi-function printer/scanner/copier/fax
connected via ethernet. I've spent the last 3 days setting it up,
including:
+ 2 x W7, 1 x W10 laptops can now both print & scan from it via Web
Services for Devices (WSD).
[Aside: I have seen it claimed that, if needed, my two XP laptops, which
are 32-bit, could print to it by sharing it from one of the others which
are all 64-bit, but I don't believe that because there still would be
the 32/64 bit drivers issue - when I tried to share the Canon via XP,
I could not print to it from W7 for the same reason as I could not
connect it directly to the W7 PC in the first place, because I had no
64-bit drivers for it, which was one of the two reasons why I still
needed XP, to print, and is now removed anyway. The other was likewise
my old HP Scanjet, which I still might need occasionally to use, as it's
the only scanner from which I can completely remove the lid to scan
large documents piecemeal and stitch the results together.]
+ It can now scan to a share on my QNAP NAS.
+ Likewise to an email attachment.
+ After installing the Debian driver ...
https://www.support.xerox.com/en-gb/product/xerox-c315-multifunction-printer/content/146849
... I can print from Ubuntu 18, but can NOT scan from it, and this
problem, which has consumed a large proportion of the three days since
delivery, is the subject of the rest of this post ...
Apparently this is quite a common problem with these MFP's, regardless
of make. I have been reading posts over the last 5-10 years of others
outlining similar problems with makes including HP, Samsung, etc. Here
are some examples of what I've been trawling through:
https://askubuntu.com/questions/1100908/xerox-workcenter-3215-scanner-isnt-recognized-on-18-04
https://unix.stackexchange.com/questions/71849/can-a-linux-computer-receive-scanned-images-from-a-scanner-using-wsd-web-servic
https://askubuntu.com/questions/1262946/ubuntu-20-04-network-printer-works-but-scanner-not-detected
This is a summary of what I've tried so far:
I wondered if the firewall was preventing communication with the MFP, at
least as far as TCP/IP ports used for scanning were concerned, but
disabling it with ...
ufw disable
... made no difference, the MFP scanner still couldn't be found.
I've tried installing libusb-0.1-4 as described in the first post above,
but it made no difference. Indeed, superficially at least, why would
it, when my MFP is connected via the ethernet, not USB as was his? But
I thought I might as well try it anyway.
Also from that post, the debug environment setting SANE_DLL_DEBUG=5
doesn't seem to make any difference, for example I don't seem to get
anything extra, let alone useful, out of the test command mentioned in
some of the posts that I've read. The output from ...
SANE_DLL_DEBUG=5 scanimage -L
... is exactly the same as from ...
scanimage -L
... ie nada/zilch found.
Both the next two posts describe editing a file in /etc/sane.d,
epkowa.conf in the first, and xerox_mfg.conf in the second, to add lines
of the form ...
# Xerox (R) C315 MFP
tcp <ip-address> [<port>]
... as per ...
http://www.sane-project.org/man/sane-xerox_mfp.5.html
... which I have done, trying both without and with several specific
port numbers, all with the firewall still disabled and rebooting after
each edit, but nothing has worked.
The MFP's IP address is fixed by the router, is displayed on the
printer's interface, and pinging it from Ubuntu gets the expected
response, so there is no possibility of that being wrong, which just
leaves the question of which port(s) to try ...
Searching this site ...
https://www.speedguide.net/ports.php
... for ports mentioning Xerox gets 9 hits, of which only one, 2157,
looked likely, but that didn't work.
Searching the firewall rules on a W7 machine which is able to scan from
the MFP finds ports 3702, 5357, & 5358 are involved in WSD
communications, but none of those worked either.
Printing out the settings from the MFP &/or loading them via its web
interface reveals that there is the setting ...
Settings, Network/Ports, Scan to PC Port Range: 9751:12000
... but 9751 did work either. Moreover, it seems to disagree with ...
Settings, Network/Ports, TCP/IP, TCP/IP Port Access
... which lists the port status, open or closed, of a number of ports on
the MFP, but the above range is not listed as being in either state.
However, that same list also reveals that the following are open ...
TCP 65001 WS-Discovery
TCP 65004 WSD Scan Service
... but neither of those worked either.
Apart from this one significant problem, the machine seems to be very
good, but I'm grinding my teeth about this issue. Can anyone help?
TIA
--
Fake news kills!
I may be contacted via the contact address given on my website:
www.macfh.co.uk
Fake news kills!
I may be contacted via the contact address given on my website:
www.macfh.co.uk