Cambio formato stampa barcode

This commit is contained in:
Beppe 2020-10-12 16:02:10 +02:00
parent c16050ec2d
commit 6e29a4e248
1 changed files with 2 additions and 7 deletions

View File

@ -31,16 +31,11 @@ echo '<style>
}
</style>';
$width_factor = 0.33 * 110;
$height_factor = 25.93;
$size = $settings['width'] / $width_factor;
$height = $settings['height'] / $height_factor / $size;
$number = 1; // 32
for ($i = 0; $i < $number; ++$i) {
echo '
<div class="barcode-cell">
<barcode code="'.$articolo->barcode.'" type="EAN13" height="'.$height.'" size="'.$size.'" class="barcode" />
<barcode code="'.$articolo->barcode.'" type="C39" height="2" size="0.65" class="barcode" />
<p><b>'.$articolo->barcode.'</b></p>
</div>';
}