• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (c) 2015, 2017-2018 Samuel Thibault <samuel.thibault@ens-lyon.org>
3//
4// Permission is hereby granted, free of charge, to any person obtaining a copy
5// of this software and associated documentation files (the "Software"), to deal
6// in the Software without restriction, including without limitation the rights
7// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8// copies of the Software, and to permit persons to whom the Software is
9// furnished to do so, subject to the following conditions:
10//
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15//
16// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
19// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22// THE SOFTWARE.
23//
24
25#include <media.defs>
26#include <media-braille.defs>
27#include <liblouis.defs>
28#include <imagemagick.defs>
29#include <braille.defs>
30#include <index.defs>
31
32#po fr "fr-braille.po"
33
34Manufacturer "Index"
35Version 1.0
36
37Filter application/vnd.cups-paged-brf 0 textbrftoindexv4
38Filter image/vnd.cups-ubrl 0 imageubrltoindexv4
39
40//
41// Common options
42//
43
44HWMargins 5mm 5mm 5mm 5mm
45VariablePaperSize true
46MinSize 1in 1in
47
48Group "Index/Index support"
49  Option "IndexFirmwareVersion/Installed firmware version" PickOne AnySetup 10
50  Choice "102000/10.20 or above" ""
51  *Choice "103000/10.30 or above" ""
52  // Provides DBT but we just use transparent mode
53  //Choice "110210/11.02.1 or above" ""
54
55Group "Braille"
56  Option "IndexTable/Firmware Braille Table" PickOne AnySetup 10
57  Choice "5/American computer 6 dots" ""
58  Choice "6/American computer 8 dots" ""
59  Choice "7/English computer 8 dots" ""
60  Choice "8/English literal without capital" ""
61  Choice "9/IBM 437 computer 6 dots" ""
62  Choice "10/IBM 437 computer 8 dots" ""
63  Choice "11/IBM 850 computer 8 dots" ""
64  Choice "12/German computer 8 dots" ""
65  Choice "13/Italian literal with capital" ""
66  Choice "14/Italian literal without capital" ""
67  Choice "15/Portuguese literal with capital" ""
68  Choice "16/Spanish computer 6 dots" ""
69  Choice "17/Spanish computer 8 dots" ""
70  Choice "18/Spanish user defined 3 ANSI" ""
71  Choice "19/Spanish user defined 4 ASCII" ""
72  Choice "20/Swedish literal without capital" ""
73  Choice "21/Polish computer 6 dots" ""
74  Choice "22/Polish literal with capital" ""
75  Choice "23/Polish own table 03" ""
76  Choice "24/Polish own table 04" ""
77  Choice "25/Dutch computer 6 dots" ""
78  Choice "26/Dutch own table 02" ""
79
80
81//
82// Basic-D
83//
84{
85  ModelName "Basic-D V4/V5"
86  PCFileName "ibasicd4.ppd"
87
88  MaxSize 325mm 10m
89
90  Group "General/General"
91  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10
92    Choice "DuplexNoTumble/Long Edge (Standard)" ""
93    *Choice "None/Off" ""
94
95  Group "Index"
96    Option "ZFolding/Z-Folding" Boolean AnySetup 10
97    Choice "True/Yes" ""
98    *Choice "False/No" ""
99
100    Option "Sideways/Sideways Folding" Boolean AnySetup 10
101    Choice "True/Yes" ""
102    *Choice "False/No" ""
103
104  UIConstraints "*ZFolding True *Sideways True"
105}
106
107
108//
109// Basic-S
110//
111{
112  ModelName "Basic-S V4/V5"
113  PCFileName "ibasics4.ppd"
114
115  MaxSize 325mm 10m
116}
117
118
119//
120// Everest-D
121//
122{
123  ModelName "Everest-D V4/V5"
124  PCFileName "ieveres4.ppd"
125
126  MaxSize 297mm 10m
127
128  Group "General/General"
129  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10
130    Choice "DuplexNoTumble/Long Edge (Standard)" ""
131    *Choice "None/Off" ""
132
133  Group "Index"
134    Option "SaddleStitch/Saddle Stitch 4 pages" Boolean AnySetup 10
135    Choice "True/Yes" ""
136    *Choice "False/No" ""
137}
138
139
140//
141// Braille Box
142//
143{
144  ModelName "Braille Box V4/V5"
145  PCFileName "ibrlbox4.ppd"
146
147  MaxSize 297mm 10m
148
149  Group "General/General"
150  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10
151    Choice "DuplexNoTumble/Long Edge (Standard)" ""
152    *Choice "None/Off" ""
153
154  Group "Index"
155    Option "SaddleStitch/Saddle Stitch 4 pages" Boolean AnySetup 10
156    Choice "True/Yes" ""
157    *Choice "False/No" ""
158}
159