1141cc406Sopenharmony_ci;
2141cc406Sopenharmony_ci; SANE Backend specification file
3141cc406Sopenharmony_ci;
4141cc406Sopenharmony_ci; It's basically emacs-lisp --- so ";" indicates comment to end of line.
5141cc406Sopenharmony_ci; All syntactic elements are keyword tokens, followed by a string or
6141cc406Sopenharmony_ci;  keyword argument, as specified.
7141cc406Sopenharmony_ci;
8141cc406Sopenharmony_ci; ":backend" *must* be specified.
9141cc406Sopenharmony_ci; All other information is optional (but what good is the file without it?).
10141cc406Sopenharmony_ci;
11141cc406Sopenharmony_ci; See doc/descriptions.txt for details.
12141cc406Sopenharmony_ci
13141cc406Sopenharmony_ci:backend "template"               ; name of backend
14141cc406Sopenharmony_ci:version "0.42"                   ; version of backend (or "unmaintained")
15141cc406Sopenharmony_ci:manpage "sane-template"          ; name of manpage (if it exists)
16141cc406Sopenharmony_ci:url "http://www.luser.com/temp/" ; backend's web page
17141cc406Sopenharmony_ci:url "http://www.luser.com/b/"    ; another backend webpage
18141cc406Sopenharmony_ci:comment "This backend supports only the USB and SCSI models"
19141cc406Sopenharmony_ci                                  ; comment about the backend
20141cc406Sopenharmony_ci
21141cc406Sopenharmony_ci:devicetype :scanner              ; start of a list of devices....
22141cc406Sopenharmony_ci                                  ; other types:  :stillcam, :vidcam,
23141cc406Sopenharmony_ci                                  ;               :meta, :api
24141cc406Sopenharmony_ci
25141cc406Sopenharmony_ci:mfg "TemPlate"                   ; name a manufacturer
26141cc406Sopenharmony_ci:url "http://www.template.com/"   ; manufacturer's URL
27141cc406Sopenharmony_ci:url "http://www.template.de/"    ; another manufacturer URL
28141cc406Sopenharmony_ci:comment "TemPlate scanners are sometimes labeled \"TMP\""
29141cc406Sopenharmony_ci                                  ; comment about the manufacturer
30141cc406Sopenharmony_ci
31141cc406Sopenharmony_ci:model "Templ Z"                  ; name models for above-specified mfg.
32141cc406Sopenharmony_ci:status :untested                 ; :minimal, :basic, :good, :complete
33141cc406Sopenharmony_ci                                  ; :untested, or :unsupported
34141cc406Sopenharmony_ci:interface "SCSI"                 ; interface type of the device:
35141cc406Sopenharmony_ci                                  ; "SCSI", "USB", "Parport (EPP)",
36141cc406Sopenharmony_ci                                  ; "Parport (SPP)", "Parport (ECP)",
37141cc406Sopenharmony_ci                                  ; "Serial port", "IEEE-1394", "JetDirect",
38141cc406Sopenharmony_ci                                  ; or "Proprietary".
39141cc406Sopenharmony_ci:usbid "0x1234" "0x4321"          ; Vendor and product ids of an USB device
40141cc406Sopenharmony_ci:url "http://www.tmp.com/z.html"  ; model's URL
41141cc406Sopenharmony_ci:comment "With Z-Axis scrolling"  ; comment about the model
42141cc406Sopenharmony_ci
43141cc406Sopenharmony_ci:model "Templ ZS"
44141cc406Sopenharmony_ci:interface "USB"
45141cc406Sopenharmony_ci:usbid "0x1234" "0x4322"
46141cc406Sopenharmony_ci:status :unsupported
47141cc406Sopenharmony_ci:comment "No support yet, but we have docs."
48141cc406Sopenharmony_ci
49141cc406Sopenharmony_ci:model "Templ ZQ"
50141cc406Sopenharmony_ci:interface "USB"
51141cc406Sopenharmony_ci:usbid "0x1234" "0x4323"
52141cc406Sopenharmony_ci:status :minimal
53141cc406Sopenharmony_ci
54141cc406Sopenharmony_ci:model "Templ ZY"
55141cc406Sopenharmony_ci:interface "SCSI"
56141cc406Sopenharmony_ci:status :basic
57141cc406Sopenharmony_ci
58141cc406Sopenharmony_ci:model "Templ ZZ"
59141cc406Sopenharmony_ci:interface "SCSI"
60141cc406Sopenharmony_ci:status :good
61141cc406Sopenharmony_ci
62141cc406Sopenharmony_ci:mfg "ArmorPlate"                 ; another manufacturer...
63141cc406Sopenharmony_ci:url "http://www.armorplate.com/"
64141cc406Sopenharmony_ci
65141cc406Sopenharmony_ci:model "AmplScan II"
66141cc406Sopenharmony_ci:interface "SCSI"
67141cc406Sopenharmony_ci:status :complete
68141cc406Sopenharmony_ci:comment "AmplScan *II*, not AmplScan!"
69141cc406Sopenharmony_ci
70141cc406Sopenharmony_ci:devicetype :api                  ; specify a different type
71141cc406Sopenharmony_ci:desc "Interface to FrObYz API"   ; describe a non-hardware device
72141cc406Sopenharmony_ci:comment "Only FrObYz version 2.0 is supported!"
73141cc406Sopenharmony_ci
74141cc406Sopenharmony_ci; :comment and :url specifiers are optional after :mfg, :model, :desc,
75141cc406Sopenharmony_ci;  and at the top-level.
76141cc406Sopenharmony_ci
77141cc406Sopenharmony_ci; :status specifier is optional after :model and at the top-level
78