[XeTeX] print pdf from command line
Mark Eli Kalderon
eli at markelikalderon.com
Tue Mar 4 00:17:46 CET 2008
On 3/3/2008, "Volker Jordan" <v_jordan at web.de> wrote:
>Am Donnerstag, den 28.02.2008, 15:34 +0100 schrieb Andreas Matthias:
>> Volker Jordan wrote:
>>
>> > maybe this is a little bit off topic, but how can I print a pdf from the
>> > command line, especially if I want only a range of pages?
>>
>> With pdftops (xpdf) or acroread you can convert your PDF to PS and
>> specify the page range (first and last page):
>>
>> # acroread -toPostScript -start 3 -end 5 -size a4 dummy.pdf
>>
>> # pdftops -f 3 -l 5 dummy.pdf
>>
>>
>The problem is, that converting a huge range of pages takes very long
>and is very cpu intensive.
Maybe I am missing something, but why convert to PostScript at all?
Can't you print PDFs directly with CUPS? To print a page range of 4 to
6:
lp -o page ranges=4-6 my.pdf
All the best, Mark
More information about the XeTeX
mailing list