summaryrefslogtreecommitdiffstats
path: root/kdeprint/filters/pdfwrite.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/filters/pdfwrite.xml')
-rw-r--r--kdeprint/filters/pdfwrite.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/kdeprint/filters/pdfwrite.xml b/kdeprint/filters/pdfwrite.xml
new file mode 100644
index 000000000..9ba166138
--- /dev/null
+++ b/kdeprint/filters/pdfwrite.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<kprintfilter name="pdfwrite">
+ <filtercommand data="gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sPAPERSIZE=%psl -sOutputFile=%filteroutput %filterargs -c save pop -f %filterinput" />
+ <filterargs>
+ </filterargs>
+ <filterinput>
+ <filterarg name="file" format="%in" />
+ <filterarg name="pipe" format="-" />
+ </filterinput>
+ <filteroutput>
+ <filterarg name="file" format="%out" />
+ <filterarg name="pipe" format="-" />
+ </filteroutput>
+</kprintfilter>