kopia lustrzana https://gitlab.com/sane-project/website
129 wiersze
4.5 KiB
HTML
129 wiersze
4.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: sane_start problem</TITLE>
|
|
<META NAME="Author" CONTENT="shailendra mehta (shailendra.mehta@tatainfotech.com)">
|
|
<META NAME="Subject" CONTENT="sane_start problem">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>sane_start problem</H1>
|
|
<!-- received="Mon May 28 22:54:48 2001" -->
|
|
<!-- isoreceived="20010529055448" -->
|
|
<!-- sent="Tue, 29 May 2001 11:30:47 +0530" -->
|
|
<!-- isosent="20010529060047" -->
|
|
<!-- name="shailendra mehta" -->
|
|
<!-- email="shailendra.mehta@tatainfotech.com" -->
|
|
<!-- subject="sane_start problem" -->
|
|
<!-- id="000001c0e804$b5484720$0c2c7aa3@TIL" -->
|
|
<STRONG>From:</STRONG> shailendra mehta (<A HREF="mailto:shailendra.mehta@tatainfotech.com?Subject=Re:%20sane_start%20problem&In-Reply-To=<000001c0e804$b5484720$0c2c7aa3@TIL>"><EM>shailendra.mehta@tatainfotech.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon May 28 2001 - 23:00:47 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0415.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0421.html">Henning Meier-Geinitz: "Re: sane_start problem"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#416">[ date ]</A>
|
|
<A HREF="index.html#416">[ thread ]</A>
|
|
<A HREF="subject.html#416">[ subject ]</A>
|
|
<A HREF="author.html#416">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi all,
|
|
<BR>
|
|
<P>I am using the default available pnm backend & I have modified source code
|
|
<BR>
|
|
of scanimage.c available in the frontend
|
|
<BR>
|
|
directory of sane-1.0.3.
|
|
<BR>
|
|
The input document set is a ppm file of size 1.9 MB
|
|
<BR>
|
|
It gives error at following place in the source code:
|
|
<BR>
|
|
<P>status = sane_start (device);
|
|
<BR>
|
|
if (status != SANE_STATUS_GOOD)
|
|
<BR>
|
|
{
|
|
<BR>
|
|
fprintf (stderr, "%s: sane_start: %s\n",
|
|
<BR>
|
|
prog_name, sane_strstatus (status));
|
|
<BR>
|
|
goto cleanup;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>& the error is
|
|
<BR>
|
|
prog_name: sane_start Invalid argument.
|
|
<BR>
|
|
<P>That means "status" value is unknown to sane_strstatus().
|
|
<BR>
|
|
If the input file is of lower sized(300 KB) it works well.
|
|
<BR>
|
|
But if I change it to new one with 1.9 MB then above problem occurs.
|
|
<BR>
|
|
<P>Can anybody tell why this happens?
|
|
<BR>
|
|
Is it bcos of the huge memory requirement? If so what r the limits?How to
|
|
<BR>
|
|
set those limits?
|
|
<BR>
|
|
& if this is only for pnm device , Can actual scanner(say hp5300 c) give a
|
|
<BR>
|
|
problem?
|
|
<BR>
|
|
<P><P>Thanks & Regards
|
|
<BR>
|
|
Shailendra S. Mehta,
|
|
<BR>
|
|
Senior Engineer(Design & Development),
|
|
<BR>
|
|
TATA Infotech Ltd,
|
|
<BR>
|
|
Mapusa-GOA.
|
|
<BR>
|
|
<P><P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20sane_start%20problem&In-Reply-To=<000001c0e804$b5484720$0c2c7aa3@TIL>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0415.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0417.html">Aristide Aragon: "Re: sane_start problem"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0421.html">Henning Meier-Geinitz: "Re: sane_start problem"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#416">[ date ]</A>
|
|
<A HREF="index.html#416">[ thread ]</A>
|
|
<A HREF="subject.html#416">[ subject ]</A>
|
|
<A HREF="author.html#416">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Mon May 28 2001 - 22:55:33 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|