LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2012, 06:11 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 162

Rep: Reputation: 15
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.

tj
 
Old 10-07-2012, 06:21 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

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

/etc/sane.d/net.conf
/etc/sane.d/saned.conf
/etc/sane.d/dll.conf
/etc/inetd.conf
/etc/services

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)
192.168.1.0/24 # 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).

Last edited by dive; 10-07-2012 at 06:23 PM.
 
1 members found this post helpful.
Old 10-07-2012, 10:18 PM   #3
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 508

Rep: Reputation: Disabled
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

Last edited by chrisretusn; 10-07-2012 at 10:20 PM.
 
1 members found this post helpful.
Old 10-08-2012, 04:08 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure VNCserver for accessing linux machine in windows system akram Linux - Newbie 3 07-23-2009 07:29 AM
Accessing shared folders on windows systems from my Fedora system man_msc Linux - Networking 1 08-08-2006 09:57 AM
windows system hangs while accessing SAMBA share emailssent Linux - Software 0 09-14-2004 08:53 AM
Accessing windows partition under Slackware linux... Frank Slackware 1 07-13-2003 11:54 AM
Accessing HP 4400c scanner fchdet Linux - Hardware 0 02-16-2003 03:52 PM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration