• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;
2; SANE Backend specification file
3;
4; It's basically emacs-lisp --- so ";" indicates comment to end of line.
5; All syntactic elements are keyword tokens, followed by a string or
6;  keyword argument, as specified.
7;
8; ":backend" *must* be specified.
9; All other information is optional (but what good is the file without it?).
10;
11; See doc/descriptions.txt for details.
12
13:backend "template"               ; name of backend
14:version "0.42"                   ; version of backend (or "unmaintained")
15:new :yes                         ; Is the backend new to this SANE release?
16                                  ; :yes or :no
17:manpage "sane-template"          ; name of manpage (if it exists)
18:url "http://www.luser.com/temp/" ; backend's web page
19:url "http://www.luser.com/b/"    ; another backend webpage
20:comment "This backend supports only the USB and SCSI models"
21                                  ; comment about the backend
22
23:devicetype :scanner              ; start of a list of devices....
24                                  ; other types:  :stillcam, :vidcam,
25                                  ;               :meta, :api
26
27:mfg "TemPlate"                   ; name a manufacturer
28:url "http://www.template.com/"   ; manufacturer's URL
29:url "http://www.template.de/"    ; another manufacturer URL
30:comment "TemPlate scanners are sometimes labeled \"TMP\""
31                                  ; comment about the manufacturer
32
33:model "Templ Z"                  ; name models for above-specified mfg.
34:status :untested                 ; :minimal, :basic, :good, :complete
35                                  ; :untested, or :unsupported
36:interface "SCSI"                 ; interface type of the device:
37                                  ; "SCSI", "USB", "Parport (EPP)",
38                                  ; "Parport (SPP)", "Parport (ECP)",
39                                  ; "Serial port", "IEEE-1394", "JetDirect",
40                                  ; or "Proprietary".
41:usbid "0x1234" "0x4321"          ; Vendor and product ids of an USB device
42:url "http://www.tmp.com/z.html"  ; model's URL
43:comment "With Z-Axis scrolling"  ; comment about the model
44
45:model "Templ ZS"
46:interface "USB"
47:usbid "0x1234" "0x4322"
48:status :unsupported
49:comment "No support yet, but we have docs."
50
51:model "Templ ZQ"
52:interface "USB"
53:usbid "0x1234" "0x4323"
54:status :minimal
55
56:model "Templ ZY"
57:interface "SCSI"
58:status :basic
59
60:model "Templ ZZ"
61:interface "SCSI"
62:status :good
63
64:mfg "ArmorPlate"                 ; another manufacturer...
65:url "http://www.armorplate.com/"
66
67:model "AmplScan II"
68:interface "SCSI"
69:status :complete
70:comment "AmplScan *II*, not AmplScan!"
71
72:devicetype :api                  ; specify a different type
73:desc "Interface to FrObYz API"   ; describe a non-hardware device
74:comment "Only FrObYz version 2.0 is supported!"
75
76; :comment and :url specifiers are optional after :mfg, :model, :desc,
77;  and at the top-level.
78
79; :status specifier is optional after :model and at the top-level
80