LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05:11 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

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, 05:21 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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 05:23 PM.
 
1 members found this post helpful.
Old 10-07-2012, 09:18 PM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
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 09:20 PM.
 
1 members found this post helpful.
Old 10-08-2012, 03:08 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

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



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 06:29 AM
Accessing shared folders on windows systems from my Fedora system man_msc Linux - Networking 1 08-08-2006 08:57 AM
windows system hangs while accessing SAMBA share emailssent Linux - Software 0 09-14-2004 07:53 AM
Accessing windows partition under Slackware linux... Frank Slackware 1 07-13-2003 10:54 AM
Accessing HP 4400c scanner fchdet Linux - Hardware 0 02-16-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration