<?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>
