blob: edf43716a8c89a6d36199080c8ba2a4f790f86cc (
plain)
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
34
35
36
37
38
|
<?xml version="1.0"?>
<kprintfilter name="enscript">
<filtercommand data="enscript -M %psu %filterargs %filteroutput %filterinput" />
<filterargs>
<filtergroup name="group1" description="Columns">
<filterarg name="columns" description="Number of columns" format="--columns=%value" type="int" min="1" max="10" default="1" />
<filterarg name="landscape" description="Landscape mode" format="-r" type="bool" default="false">
<value name="true" description="Yes" />
<value name="false" description="No" />
</filterarg>
</filtergroup>
<filtergroup name="group2" description="Header format">
<filterarg name="noheader" description="Disable header" format="-B" type="bool" default="false">
<value name="true" description="Yes" />
<value name="false" description="No" />
</filterarg>
<filterarg name="header" description="Header format" format="-b %value" type="string" default="" />
</filtergroup>
<filtergroup name="group3" description="Syntax">
<filterarg name="prettyprint" description="Syntax highlighting" format="-E" type="bool" default="false">
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg name="colormode" description="Use colors" format="--color" type="bool" default="false">
<value name="true" description="Yes" />
<value name="false" description="No" />
</filterarg>
</filtergroup>
</filterargs>
<filterinput>
<filterarg name="file" format="%in" />
<filterarg name="pipe" format="" />
</filterinput>
<filteroutput>
<filterarg name="file" format="-p %out" />
<filterarg name="pipe" format="-p -" />
</filteroutput>
</kprintfilter>
|