[OS X TeX] pdfinfo and calculating in an engine

Friedrich Vosberg fvosberg at mac.com
Wed Mar 21 19:18:43 CET 2007

Am 21.03.2007 um 14.40 schrieb Peter Dyballa:
> Am 21.03.2007 um 11:16 schrieb Friedrich Vosberg:
>>   lp -P $FIRST_HALF -t engineprintout.pdf "${basefname}.pdf"
> Definitely not this way! The UNIX utilities lp or lpr cannot count  
> PDF or PS pages. [...]

Hmm, ...

   lp -P 2 example.pdf

... prints exactly what I've expected: The second page of the  
document example.pdf. So I think lp *can* count PDF pages.

Kind regards, Friedrich

»The day Microsoft makes something that doesn't suck is probably the  
day they start making vacuum cleaners.« (Ernest Jan Plugge)
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the macostex-archives mailing list