]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Added a -buildpdf option for awstats_buildstaticpages.pl
authoreldy <>
Sun, 29 Jun 2003 21:05:21 +0000 (21:05 +0000)
committereldy <>
Sun, 29 Jun 2003 21:05:21 +0000 (21:05 +0000)
tools/awstats_buildstaticpages.pl

index 594236ae5cc1f64eb093a20cd12de2926615ae71..c87b2acf2340214e95838f12d0feb7b849d0b662 100644 (file)
@@ -206,7 +206,7 @@ for my $output (@OutputList) {
 # Build pdf file
 if ($QueryString =~ /(^|-|&)buildpdf/i) {
 #      my $pdffile=$pages[0]; $pdffile=~s/\.\w+$/\.pdf/;
-       my $command="\"$HtmlDoc\" -t pdf --quiet --webpage --no-title --textfont helvetica  --left 16 --bottom 8 --top 8 --browserwidth 800 --fontsize 7.0 @pages > awstats.$OutputSuffix.pdf\n";
+       my $command="\"$HtmlDoc\" -t pdf --quiet --webpage --no-title --textfont helvetica  --left 16 --bottom 8 --top 8 --browserwidth 800 --headfootsize 7.0 --fontsize 7.0 @pages > awstats.$OutputSuffix.pdf\n";
        print "Build PDF file : $command\n";
        $retour=`$command  2>&1`;
        my $res=$?>>8;