On Wed, Mar 27, 2013 at 12:03 PM, Carlos Zuniga <carlos....@gmail.com> wrote:
> Package: webkit2pdf
> Version: 0.2-4
> Severity: minor
>
> Dear Maintainer,
>
> I'm trying to use webkit2pdf to print a pdf with an a6 size but when I use the
> -s option it returns with an error:
>
>     $ webkit2pdf -s a6 http://pastebin.com/raw.php?i=CqN54gSJ
>     no paper matches 'a6'
>
> `paperconf -a` shows it in the list, and trying other sizes results in the 
> same
> error.
>
> I've also tried changing the default paper size in /etc/papersize and using 
> the
> environment variable PAPERSIZE instead of -s and neither work, it just
> generates the pdf in an a4 size.
>

I just found through that `webkit2pdf -s help` shows the names for the
paper sizes, so a6 is actually iso_a6 (don't know if the paper sizes
are hardcoded inside webkit2pdf or it takes them from somewhere else).

I was mislead by the man page showing "/etc/papersize: Default paper
size to use" and to see also papersize(5).

So I've fixed my problem, but can the manpage be updated to show that
the option `-s help` lists the possible paper sizes to use? there are
also other options (-j and -b) that don't appear on the man page at
all.

Cheers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to