X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fautohandler;h=8ff09966b953143dfd474a4a0d43c66913f47c38;hp=f69ef55a53d92529c3a68f29d673e4238504d2ed;hb=HEAD;hpb=764f11c76036161975282b87c4cc4298be5d1088 diff --git a/yarrg/web/autohandler b/yarrg/web/autohandler index f69ef55..64e31fc 100644 --- a/yarrg/web/autohandler +++ b/yarrg/web/autohandler @@ -35,6 +35,8 @@ <%perl> +no warnings qw(exec); + use CommodsWeb; my $printable= printable($m); @@ -42,7 +44,8 @@ if ($printable =~ m/^pdf|^ps/) { my $output; my $got= $m->call_self(\$output); if ($got) { - my @htargs= qw(htmldoc --continuous --gray --size 210x279mm); + my @htargs= qw(htmldoc --continuous --gray --size 210x279mm + --left 1cm --right 1cm); $printable =~ m/^[a-z]+/; push @htargs, '-t',$&; if ($printable =~ m/2$/) {