File: epsonds-usb.c

package info (click to toggle)
sane-backends 1.0.27-3.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,176 kB
  • sloc: ansic: 435,221; sh: 12,794; makefile: 1,511; java: 1,412; awk: 83; sed: 16
file content (33 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * epsonds-usb.c - Epson ESC/I-2 driver, USB device list.
 *
 * Copyright (C) 2015 Tower Technologies
 * Author: Alessandro Zummo <a.zummo@towertech.it>
 *
 * This file is part of the SANE package.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, version 2.
 */

#include "epsonds-usb.h"

SANE_Word epsonds_usb_product_ids[] = {
	0x0145,		/* DS-5500, DS-6500, DS-7500 */
	0x0146,		/* DS-50000, DS-60000, DS-70000 */
	0x014c,		/* DS-510 */
	0x014d,		/* DS-560 */
	0x0150,		/* DS-40 */
	0x0152,		/* DS-760, DS-860 */
	0x0154,		/* DS-520 */
	0x08bc,		/* PX-M7050 Series, WF-8510/8590 Series */
	0x08cc,		/* PX-M7050FX Series, WF-R8590 Series */
	0		/* last entry - this is used for devices that are specified
			   in the config file as "usb <vendor> <product>" */
};

int epsonds_get_number_of_ids(void)
{
	return sizeof (epsonds_usb_product_ids) / sizeof (SANE_Word);
}