-   Slackware (
-   -   Accessing scanner on Slackware from Windows 7 system (

wufo 10-07-2012 06:11 PM

Accessing scanner on Slackware from Windows 7 system
Is it possible to access a scanner (Brother DCP-7040 printer-scanner-copier) hooked to my Slackware from a Windows 7 system? I find plenty about sharing the printer.


dive 10-07-2012 06:21 PM

To share a scanner with sane you need to edit the following:


my net.conf:
localhost # also allows access from same machine

my saned.conf:
data_portrange = 10100 - 10110 # ports to use (also need setting in firewall etc) # ip address range to allow access from

my dll.conf:
net # network driver
hpaio # actual scanner driver (change to whatever your brother is using)

my inetd.conf:
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned

my services:
sane-port 6566/tcp # SANE network scanner daemon

Then restart /etc/rc.d/rc.inetd and it ought to work (I've no clue on the windows end though).

chrisretusn 10-07-2012 10:18 PM

Follow dive's advice.

All of my installs are Linux, makes this a whole lot easier. I do have have one installation with Windows, my laptop, I dual boot to it. Don't use it much, but I found that connecting to the saned is problematic from Windows. One program does that job though. SaneTwain

mostlyharmless 10-08-2012 04:08 PM

Agree with the above; note that if you want to access the scanner directly from a Windows program such as MS Word, using Alt I-P-S, that will not work. You have to import the images with SaneTwain, then import them into whatever program you want. The SANE advice above is only for the scanner part.

The printer part can be served up with samba, and will be recognized as a network printer by Windows. Make sure you are not using "Home Groups" or whatever Windows 7 calls them, use "Workgroups", which is the older Windows network sharing used by XP. There is extensive documentation for using samba everywhere, but I can post what I do if you want.

All times are GMT -5. The time now is 08:43 AM.