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

Bug#410011: html2ps: Honour PAPERSIZE environment variable

Package: html2ps
Version: 1.0b5-1
Severity: wishlist

AFAICT, html2ps always generates pages of size letter, as this is what
is hard-coded in /etc/html2psrc.

The libpaper-utils package provides a mechanism for setting a
host-wide paper size (/etc/papersize), which can be overridden by
users using the PAPERSIZE environment variable.  The desired paper
size can be queried with `paperconf -n`.

It would be nice if these values were used rather where available, so
that my scripts do not need to add the arguments

    -S "@html2ps { paper { type: `paperconf -n` } }"

when invoking html2ps.

Reply to: