~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to scan/sane/ledmi.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-10-06 15:03:44 UTC
  • mfrom: (1.6.1) (20.1.16 quantal)
  • Revision ID: package-import@ubuntu.com-20121006150344-2p3xz26br0t3hu2q
Tags: 3.12.10-1
* New upstream release
  - Fixes "Network scanning fails (Closes: #683033)
* quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch
* Fix "error in clean build env" updated debian/rules (Closes: #687129)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
24
  Primary Author: Naga Samrat Chowdary, Narla
 
25
  Contributing Authors: Yashwant Kumar Sahu
25
26
 
26
27
\************************************************************************************/
27
28
 
32
33
# include "hpip.h"
33
34
# include "hpmud.h"
34
35
 
35
 
# define LEDM_CONTRAST_MIN -127
36
 
# define LEDM_CONTRAST_MAX 127
37
 
# define LEDM_CONTRAST_DEFAULT 0
 
36
# define LEDM_CONTRAST_MIN 0 /*According the LEDM spec*/
 
37
# define LEDM_CONTRAST_MAX 2000
 
38
# define LEDM_CONTRAST_DEFAULT 1000
38
39
 
39
40
# define MM_PER_INCH     25.4
40
41
 
146
147
 
147
148
  void *bb_session;
148
149
  /* Add new elements here. */
 
150
  int job_id;
 
151
  int page_id;
149
152
};
150
153
 
151
154
int bb_open(struct ledm_session*);
152
155
int bb_close(struct ledm_session*);
153
156
int bb_get_parameters(struct ledm_session*, SANE_Parameters*, int);
154
157
int bb_is_paper_in_adf();         /* 0 = no paper in adf, 1 = paper in adf, -1 = error */
155
 
int bb_start_scan(struct ledm_session*);
 
158
SANE_Status bb_start_scan(struct ledm_session*);
156
159
int bb_get_image_data(struct ledm_session*, int); 
157
160
int bb_end_page(struct ledm_session*, int);
158
161
int bb_end_scan(struct ledm_session* , int);