Re: [sane-devel] /etc/sane.d/saned.conf vs /etc/saned.conf?

2018-01-30 Thread ToddAndMargo

On 01/29/2018 12:33 PM, ToddAndMargo wrote:

On 01/27/2018 03:18 AM, Olaf Meeuwissen wrote:

Hi,

ToddAndMargo writes:


Hi All,

When configuring saned, what is the difference between the access
list in

/etc/sane.d/saned.conf

and

/etc/saned.conf


By default, saned looks for saned.conf in the directory that was
specified at build time.  For most Linux distributions this will be
/etc/sane.d, the result of passing a --configdir=/etc option to the
configure script (which tags the /sane.d part on by itself).

Using the *normal* build and install procedures that are part of
sane-backends, there is *no* way you would get an /etc/saned.conf.
Any chance you put this there yourself?

If you really want to use /etc/saned.conf, you need to use

   SANE_CONFIG_DIR=/etc saned ...

As far as file contents is concerned, both are processed in the same
way.  It only a matter of which one is used and, as said, the default
is to use the first.

Hope this helps,


Hi Olaf,

What is this comment inside /etc/sane.d/saned.conf?

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).

Why would I need both to get the saned daemon to work?

-T


Anyone?


--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] How can I help with Canon Maxify MB2000 series testing?

2018-01-30 Thread Louis Lagendijk
On Mon, 2018-01-29 at 20:35 +, Patrick Roncagliolo wrote:
> Yes, --button-controlled=yes has no effect on the scanner: nothing
> happens, scanimage just hangs while the scanner seems to not have
> understood the command, the display do not change page nor shows a
> prompt or some sign that an operation is pending. I do not know if
> this feature should be supported on the MB2350, I never saw such a
> feature even on Windows when configuring/using my scanner. Could you
> tell me where to check if MB2350 supports the button-controlled mode
> or if you know some windows software that can show me how it works so
> that I can understand what should be the expected behaviour on Linux,
> if any?
> 
> Il giorno lun 29 gen 2018 alle ore 20:40 Louis Lagendijk  t.net> ha scritto:
> > On Sun, 2018-01-28 at 14:26 +, Patrick Roncagliolo wrote:
> > > Hi Rolf,
> > > 
> > > I tested scanimage with different options today. In particular, I
> > > tested all the combinations of connection/resolution/color
> > > available with flatbed mode:
> > > 
> > >  --Connection: usb/net
> > >  --Resolution: 75/150/300/600/1200
> > >  --Color: color/gray/lineart
> > > 
> > > ...for a total of 30 tests. I can confirm that all the
> > > combinations work, I have a folder with all the scans and a
> > > script, so I can replicate the operation while collecting debug
> > > info by setting SANE_DEBUG_PIXMA if necessary, and share all the
> > > results somewhere (eg. Google Drive). 
> > > 
> > > But ADF _do not_ work for me using scanimage or scanadf. Here's a
> > > sample output (SANE_DEBUG_PIXMA=3 PIXMA_EXPERIMENT=1):
> > 
> > This sounds the same as the status on my MB5050. You may also want
> > to test the button support: that probably does not work either.
> > 
> > BR, Louis

Hi Patrick
Buttons can be used in xsane (button controlled scan option in standard
options), but are more relevant with scanbd (scan button daemon). It
did not work with my MB5050 but I scan so seldom that I never got
around fixing the isues I found when I started adaption of the pixma
backend.

BR, Louis-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

[sane-devel] Driverless IPP Scanning with SANE

2018-01-30 Thread Till Kamppeter

Hi,

the Printing Working Group (http://www.pwg.org/) has developed several 
standards for printers and multi-function devices (print, scan, copy, 
fax) to allow its use without hardware-model-specific software or data 
(aka driver).


There are already all standards needed for driverless printing and they 
are actually implemented in printers on the market. The PWG's own 
driverless printing standard is IPP Everywhere, but AirPrint, Wi-Fi 
Direct, and Mopria us also a lot of the PWG's standards. All of these 
standards use the PWG's Internet Printing Protocol (IPP) and DNS-SD but 
different standardized formats for the print jobs. Wi-Fi Direct adds a 
printer-internal Wi-Fi server for wireless printing without Wi-Fi 
router. Via IPP-over-USB also devices connected to USB are supported 
(Linux support via ippusbxd, https://github.com/OpenPrinting/ippusbxd).


These driverless printing standards are fully supported in Linux, from 
Ubuntu 17.10 on and continuously improved.


The PWG has recently also developed an IPP scanning standard, which 
provides a standard protocol for communicating with scanners in IPP 
multi-function devices (via network or IPP-over-USB):


http://ftp.pwg.org/pub/pwg/candidates/cs-ippscan10-20140918-5100.17.pdf

The best way to access this class of scanners from Linux would be to 
create a SANE backend for IPP Scan.


Therefore I have opened a project for the Google Summer of Code 2018:

https://wiki.linuxfoundation.org/gsoc/google-summer-code-2018-openprinting-projects#sane-module-for-ipp-driverless-scanning

--

SANE module for IPP driverless scanning
---

Version 2.0 and newer of the Internet Printing Protocol (IPP) support 
polling the full set of capabilities of a printer and if the printer 
supports a known Page Description Language (PDL), like PWG Raster, Apple 
Raster, PCLm, or PDF, it is possible to print without 
printer-model-specific software (driver) or data (PPD file), so-called 
“driverless” printing. This concept was introduced for printing from 
smartphones and IoT devices which do not hold a large collection of 
printer drivers. Driverless printing is already fully supported under 
Linux. Standards following this scheme are IPP Everwhere, Apple 
AirPrint, Mopria, and Wi-Fi Direct Print.


As there are many multi-function devices (printer/scanner/copier 
all-in-one) which use the IPP, the Printing Working Group (PWG) has also 
worked out a standard for IPP-based scanning, “driverless” scanning, to 
also allow scanning from a wide range of client devices, independent of 
which operating systems they are running.


Conventional scanners are supported under Linux via the SANE (Scanner 
Access Now Easy) system and require drivers specific to the different 
scanner models. Most of them are written based on reverse-engineering 
due to lack of support by the scanner manufacturers. To get driverless 
scanning working with the software the users are used to the best 
solution is to write a SANE module for driverless IPP scanning. This 
module will then automatically support all IPP scanners, thousands of 
scanners where many of them do not yet exist.


The student's task is to write this SANE module for IPP driverless 
scanning and so make Linux ready for the future of driverless devices.


Mentors: Till Kamppeter, Project Leader OpenPrinting (till at linux dot 
com), SANE upstream developers TBD


Desired knowledge: C programming, DNS-SD, IPP

Code license: GPL 2+

--

I want to ask whether someone of you would (together with me) mentor a 
student to do this project.


The SANE project does not need to be mentoring organization at the GSoC 
for that. Mentoring organization will be the Linux Foundation.


Thank you very much in advance

   Till


--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-requ...@lists.alioth.debian.org