pkgsrc-Users archive

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

Re: printer page source for evince



On Wed, 03 Dec 2008 23:06:36 -0500
"Jared D. McNeill" <jmcneill%invisible.ca@localhost> wrote:

> Steven M. Bellovin wrote:
> > print/evince always comes up expecting to print on A4 paper.  Since
> > I live in a part of the planet that (alas) has not adopted the
> > metric system, I'd like to be able to change the default to letter
> > paper.  Is there any way to do that?  I don't run gnome, so a pure
> > gnomish solution isn't help much, though I can always tweak a
> > config file as needed.  (Googling has shown other queries about the
> > same problem, but no clear solutions, at least not that I could
> > find.)
> 
> Set PAPERSIZE as described in pkgsrc/mk/defaults/mk.conf and rebuild 
> your poppler packages.
> 
I assume you mean poppler and poppler-glib; I don't have any other
poppler-related packages installed on my system.  Setting PAPERSIZE
turns out to make no difference whatsoever.  The string PAPERSIZE
doesn't occur anywhere in a fully-built poppler-glib tree.  It does
occur in print/poppler/Makefile, where it sets an option -- but when I
build it, every file comes out identical except for file timestamps and
the like -- I built it twice, once with A4 and once with Letter, and
there were no differences.  Perhaps PAPERSIZE did once affect that
package; it doesn't seem to now, so the code should probably be removed
from the Makefile.


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index