diff options
author | cos <cos> | 2015-01-25 22:13:20 +0100 |
---|---|---|
committer | cos <cos> | 2015-01-25 22:13:20 +0100 |
commit | 209586b679ddf939d77ffa3238e2e8831667d854 (patch) | |
tree | 3cb366f7155044e319ff57e532dd3560cf81916e | |
parent | 927d4675325c119aa3f8f2eef5f65fb6b1127408 (diff) | |
download | mat-209586b679ddf939d77ffa3238e2e8831667d854.zip |
Rearrange printer limit values a little.
-rwxr-xr-x | mat | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -269,13 +269,12 @@ sub print_label { my $fontname = "/usr/share/fonts/truetype/freefont/FreeSans.ttf"; my $fontsize = 15; - my $x_border = 35; # Obtained with papersize.sh - my $y_border = 18; - my $x_limit = 307; - my $y_limit = 324; - my $x_max = 307-35; - my $y_max = 324-18; - my $y_offset = 75; + my $x_border = 18; # Obtained with papersize.sh + my $y_border = 35; + my $x_limit = 324; + my $y_limit = 307; + my $x_max = $x_limit-$x_border; + my $y_max = $y_limit-$y_border; my $qr_border = 4; |