[OS X TeX] pdfinfo and calculating in an engine

Victor Ivrii vivrii at gmail.com
Wed Mar 21 14:22:38 EDT 2007


On 3/21/07, Friedrich Vosberg <fvosberg at mac.com> wrote:
> 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

-p actually; -P is for the printername
>
> ... prints exactly what I've expected: The second page of the
> document example.pdf. So I think lp *can* count PDF pages.

In certain sense yes. But it will  *NOT* tell you

>
> 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/
>
>
>


-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

------------------------- 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 MacOSX-TeX mailing list