summaryrefslogtreecommitdiffstats
path: root/pdftool.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pdftool.pl')
-rwxr-xr-xpdftool.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdftool.pl b/pdftool.pl
index f8562eb..ca9f2a5 100755
--- a/pdftool.pl
+++ b/pdftool.pl
@@ -181,8 +181,7 @@ on your screen.
=item B<--ps>
By default, B<PDFTool> outputs a PDF document; use this flag if
-you want a PostScript instead e.g., to pipe the output into C<lpr> (not
-possible with a PDF since reading requires random access to the data).
+you want a PostScript instead.
Note that due to a L<known limitation|http://www.ghostscript.com/doc/current/Issues.htm#Known_Limitations> of C<gs> with
the C<pswrite> device, the PostScript output might not be suitable for uses other than printing.
@@ -217,7 +216,7 @@ The following comand can be used to remotely crop a PDF file, convert it
to A4 paper, and rearrange the pages to locally print a (PostScript)
booklet with custom margins:
-C<< ssh remote pdftool.pl -cpA4 --book -2 -b2cm -m-1cm --ps --auto-rotate < in.pdf |
+C<< ssh remote pdftool.pl -cpA4 --book -2 -b2cm -m-1cm --auto-rotate < in.pdf |
lpr -o Duplex=DumplexTumble >>
=head1 REQUIREMENTS
@@ -533,6 +532,7 @@ sub pdftops {
# Convert to PS
# TODO: use gs & pswrite the day it'll handle fonts properly
+ # (the flag `-origpagesizes' seems not to be portable)
my @cmd = ('pdftops', '-origpagesizes', $infile, '-');
push @cmd, '-f', $first if defined $first;
push @cmd, '-l', $last if defined $last;