summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@chalmers.se>2010-09-27 00:50:09 +0200
committerGuilhem Moulin <guilhem.moulin@chalmers.se>2010-09-27 00:50:09 +0200
commitaaf57f89dac01fdc1883c96276a22f094f65cf01 (patch)
tree5bf06b54f42732076296ae2056bb9b070f2f988f
parentd7ef7f306bde1e792f863601542861f4ccc25a7b (diff)
Adding section Examples
-rwxr-xr-xpdftool.pl7
-rwxr-xr-xpsresize2.pl2
2 files changed, 8 insertions, 1 deletions
diff --git a/pdftool.pl b/pdftool.pl
index 589aa8c..a85e331 100755
--- a/pdftool.pl
+++ b/pdftool.pl
@@ -128,6 +128,13 @@ Display the manual page.
=back
+=head1 EXAMPLES
+
+The following comand can be used to remotely crop a PDF file, convert it
+to A4 paper, and rearrange the pages for printing a booklet:
+
+ssh remote pdftool.pl -cpA4 -b2 < in.pdf > out.pdf
+
=head1 REQUIRE
Requires PSUtils installed and available in the command line
diff --git a/psresize2.pl b/psresize2.pl
index de42e0b..d373c18 100755
--- a/psresize2.pl
+++ b/psresize2.pl
@@ -112,7 +112,7 @@ Display the manual page.
=head1 EXAMPLES
The following comand can be used to remotely crop a PDF file, and
-convert it to A4 paper
+convert it to A4 paper:
pdftops in.pdf - | ssh remote psresize2.pl -cpA4 | ps2pdf - out.pdf