Thank you very much.
Chitta

On 12/1/06, Karl Heinz Kremer <k...@khk.net> wrote:
>
> The scanner does not support auto cropping. This feature would have to be
> implemented in a frontend.
>
> You can see all features offered by a scanner/backend by using the
> scanimage application with the --help parameter (see the man page
> http://www.sane-project.org/man/scanimage.1.html for more information).
>
>
> On 12/1/06, Chittananda Kulatilake <chittana...@gmail.com> wrote:
>
> > Hi All,
> >
> > I want to do auto cropping using Epson Expression 10000XL scanner. Does
> > this
> > scanner support for that? If so can pl send me C++ code snippets?
> >
> > Is there any software aviable to see the list fucntions supported by a
> > printer?
> >
> > Thank you in advance.
> >
> > Chitta
> > --
> > sane-devel mailing list: sane-devel@lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-requ...@lists.alioth.debian.org
> >
> >
>


-- 
Chitta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061205/fc5e51be/attachment.htm
From gerh...@gjaeger.de  Tue Dec  5 08:44:32 2006
From: gerh...@gjaeger.de (Gerhard Jaeger)
Date: Tue Dec  5 09:09:57 2006
Subject: [sane-devel] 3 minor problems with current (20061202) CVS code on
        OS/2
In-Reply-To: <20061204215935.00f27040@inspiron>
References: <20061202203106.48b3d8f4@inspiron>
        <200612041929.59347.gerh...@gjaeger.de>
        <20061204215935.00f27040@inspiron>
Message-ID: <200612050844.32692.gerh...@gjaeger.de>

On Monday 04 December 2006 21:59, Alessandro Zummo wrote:
> On Mon, 4 Dec 2006 19:28:43 +0100 (MET)
> Gerhard Jaeger <gerh...@gjaeger.de> wrote:
> 
> > > >
> > > > __le16_to_cpup(), __u16,, __le32_to_cpup(),
> > > > __u32,  __le32 or __cpu_to_le32()
> > > >
> > > > are defined on OS/2. What do you suggest?
> > >
> > >  mmm.. you should try to find similar macros we
> > >  can use/adapt in some OS/2 include file... I guess
> > >  endianness conversion is performed even on OS/2 ;)
> > >
> > Hmmm, I think you should not use these macros in userspace anyway!
> > They are not portable an I'm pretty sure building SANE on any
> > platform but Linux will fail.
> 
>  mm. right. So I need to find some portable macros or include
>  appropriate one in sane.
> 
>  any suggestion?

Well, __u16 and __u32 are not necessary anyway ;)
Before finding somw suitable macros, you should also think about 
handling such stuff on other platforms like PPC, where you won't
need the swapping stuff. Maybe some kind of online-detection
is necessary.
As there are only two places, where swapping is needed, you should
provide your own functions.

Gerhard

BTW: In the Plustek backend, I use this macro 
#define _SWAP(x,y)   { (x)^=(y); (x)^=((y)^=(x));}

with a run-time detection.


Reply via email to