our @bigpaperpts = ();
our $fontname_num = 'Helvetica';
our $fontscale_num = 0.8;
-our $fontname = 'Courier';
+our $fontname = 'Helvetica';
our $gapratio = 1.5;
our $lineratio = 1;
our $blankratio = 1.0;
our @lp_fixed;
our $usage = <<END;
-usage: $us [<options>] <foo-mail-pregen> <foo-mail-pregen-opts>...
+usage: $us [<options>] <foo-mail-pregen>...
+
+examples:
+ $us -T2 evade-mail-pregen range 12+12 >page.ps
+ ssh chiark $us slimy-rot13-mail-pregen range 24+12 |gv -
+ ssh chiark $us slimy-rot13-mail-pregen -q range 36+12 |lpr
+
options:
-p<papersize> for libpaper, or "creditcard", default is $paperpts[0]
- -P<actual-papersize> center in this; default is not to center
+ -P<actual-papersize> centre in this; default is not to center
-f<bothfont> set both to same font name
-f[<numfont>[*<scale>]],[<addrfont>] default is $fontname_num*$fontscale_num,$fontname
-b<border>|-b<bx>x<by> all in mm
-T[<xtiles>x]<ytiles> default is $tiles[0]x$tiles[1]
- -g<gapratio> number-to-addr gap adjustment
- -l<lineratio> inter-line space ("leading") adjustment factor
- -B<blankratio> (blank space size) / (text size)
+ -g<gapratio> number-to-addr gap adjustment, default $gapratio
+ -l<lineratio> inter-line space ("leading") adjustment, def. $lineratio
+ -B<blankratio> (blank space size) / (text size), default $blankratio
-D debug
END
$gapratio = $1;
} elsif (s/^-B($dbl_re)$//o) {
$blankratio = $1;
- } elsif (s/^-T(?:(\d+)x)(\d+)?$//o) {
+ } elsif (s/^-T(?:(\d+)x)?(\d+)$//o) {
$tiles[0] = $1 || 1;
$tiles[1] = $2;
} elsif (s/^-D/-/) {