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:manpage "sane-template" ; name of manpage (if it exists) 16:url "http://www.luser.com/temp/" ; backend's web page 17:url "http://www.luser.com/b/" ; another backend webpage 18:comment "This backend supports only the USB and SCSI models" 19 ; comment about the backend 20 21:devicetype :scanner ; start of a list of devices.... 22 ; other types: :stillcam, :vidcam, 23 ; :meta, :api 24 25:mfg "TemPlate" ; name a manufacturer 26:url "http://www.template.com/" ; manufacturer's URL 27:url "http://www.template.de/" ; another manufacturer URL 28:comment "TemPlate scanners are sometimes labeled \"TMP\"" 29 ; comment about the manufacturer 30 31:model "Templ Z" ; name models for above-specified mfg. 32:status :untested ; :minimal, :basic, :good, :complete 33 ; :untested, or :unsupported 34:interface "SCSI" ; interface type of the device: 35 ; "SCSI", "USB", "Parport (EPP)", 36 ; "Parport (SPP)", "Parport (ECP)", 37 ; "Serial port", "IEEE-1394", "JetDirect", 38 ; or "Proprietary". 39:usbid "0x1234" "0x4321" ; Vendor and product ids of an USB device 40:url "http://www.tmp.com/z.html" ; model's URL 41:comment "With Z-Axis scrolling" ; comment about the model 42 43:model "Templ ZS" 44:interface "USB" 45:usbid "0x1234" "0x4322" 46:status :unsupported 47:comment "No support yet, but we have docs." 48 49:model "Templ ZQ" 50:interface "USB" 51:usbid "0x1234" "0x4323" 52:status :minimal 53 54:model "Templ ZY" 55:interface "SCSI" 56:status :basic 57 58:model "Templ ZZ" 59:interface "SCSI" 60:status :good 61 62:mfg "ArmorPlate" ; another manufacturer... 63:url "http://www.armorplate.com/" 64 65:model "AmplScan II" 66:interface "SCSI" 67:status :complete 68:comment "AmplScan *II*, not AmplScan!" 69 70:devicetype :api ; specify a different type 71:desc "Interface to FrObYz API" ; describe a non-hardware device 72:comment "Only FrObYz version 2.0 is supported!" 73 74; :comment and :url specifiers are optional after :mfg, :model, :desc, 75; and at the top-level. 76 77; :status specifier is optional after :model and at the top-level 78