lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining paper size of PDF via command-line tools?


From: David Kastrup
Subject: Re: Determining paper size of PDF via command-line tools?
Date: Tue, 21 Jan 2014 20:27:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Jim Long <address@hidden> writes:

> I have been lax in enforcing a paper size in my engraved files.
> This has been invisible to me, since apparently XPDF prints A4
> files on a US letter-sized printer without complaint.
>
> But some folks that I send PDFs to have noticed (and indeed I've
> noticed it sometimes when I print in an unfamiliar environment).
>
> Rather than re-engrave *everything*, I'd like to use a
> grep/awk/whatever command pipe to determine the paper size of
> certain PDF files.  I'll then re-engrave only those which are
> identified as A4.  Is this possible, and if so, can anyone please
> provide me a suitable UNIX command line that can identify the
> paper size referenced by a given PDF filename?

pdfinfo is a good bet.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]