summaryrefslogtreecommitdiffstats
path: root/tdeprint/filters/psnup.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/filters/psnup.xml')
-rw-r--r--tdeprint/filters/psnup.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/tdeprint/filters/psnup.xml b/tdeprint/filters/psnup.xml
new file mode 100644
index 000000000..54b71531f
--- /dev/null
+++ b/tdeprint/filters/psnup.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<kprintfilter name="psnup">
+ <filtercommand data="psnup -p%psl %filterargs %filterinput %filteroutput" />
+ <filterargs>
+ <filterarg name="nup" description="Pages per sheet" format="-%value" type="list" default="1" persistent="1">
+ <value name="1" description="1" />
+ <value name="2" description="2" />
+ <value name="4" description="4" />
+ <value name="8" description="8" />
+ <value name="16" description="16" />
+ </filterarg>
+ <filterarg name="box" description="Border line width" format="-d%value" type="int" min="0" max="20" default="0" />
+ <filterarg name="margin" description="Additional margin" format="-b%value" type="int" min="0" max="100" default="0" />
+ <filterarg name="orientation" description="Orientation" format="%value" type="list" default="">
+ <value name="" description="Normal" />
+ <value name="-l" description="Landscape" />
+ <value name="-r" description="Seascape" />
+ </filterarg>
+ <filterarg name="layout" description="Layout" format="%value" type="list" default="">
+ <value name="" description="Row-Major" />
+ <value name="-c" description="Column-Major" />
+ </filterarg>
+ </filterargs>
+ <filterinput>
+ <filterarg name="file" format="%in" />
+ <filterarg name="pipe" format="" />
+ </filterinput>
+ <filteroutput>
+ <filterarg name="file" format="> %out" />
+ <filterarg name="pipe" format="" />
+ </filteroutput>
+</kprintfilter>