Lines Matching refs:scan
82 UMAX_Handle scan;
94 0, /* Number of bytes returned per scan line: */
95 0, /* Number of pixels per scan line. */
96 0, /* Number of lines for the current scan. */
145 This option lets the user select the scan resolution. The UMAX
200 This option lets the user select a gray scale scan
206 SANE_I18N ("Grayscale scan"),
207 SANE_I18N ("Do a grayscale rather than color scan"),
272 res = UMAX_set_lamp_state (&scanner->scan, UMAX_LAMP_OFF);
290 This option controls the top-left-x corner of the scan
332 This option controls the top-left-y corner of the scan
374 This option controls the bot-right-x corner of the scan
417 This option controls the bot-right-y corner of the scan
527 UMAX_Handle scan;
550 status = UMAX_open_device (&scan, devicename);
560 dev->sane.model = UMAX_get_device_name (&scan);
562 UMAX_close_device (&scan);
722 status = UMAX_open_device (&scanner->scan, dev->sane.name);
775 UMAX_close_device (&scanner->scan);
845 res = UMAX_set_scan_parameters (&scanner->scan,
863 if (scanner->scan.model == ASTRA_1220U)
864 return UMAX_start_scan (&scanner->scan);
866 return UMAX_start_scan_2100U (&scanner->scan);
883 if (scanner->scan.done)
885 res = UMAX_finish_scan (&scanner->scan);
887 if (scanner->scan.model == ASTRA_1220U)
888 res = UMAX_park_head (&scanner->scan);
890 res = UMAX_park_head_2100U (&scanner->scan);
899 while (!scanner->scan.done && (max_length >= 3))
901 res = UMAX_get_rgb (&scanner->scan, rgb);
916 while (!scanner->scan.done && max_length)
918 res = UMAX_get_rgb (&scanner->scan, rgb);