Autosave: 20260522-022729

This commit is contained in:
Flatlogic Bot 2026-05-22 02:27:30 +00:00
parent 621d2a48d9
commit 603ef2ccb9
24 changed files with 12 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -66,7 +66,7 @@ if (empty($codes)) {
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
padding: 6mm 1mm 1mm 1mm; /* Aumentado de 4mm a 6mm para bajar más el contenido */ padding: 6mm 1mm 1mm 1mm; /* Regresado a 6mm para que no se corte el texto AFS y suba la posición */
border: 0.1mm solid #eee; /* Guía visual en pantalla */ border: 0.1mm solid #eee; /* Guía visual en pantalla */
} }
@ -82,7 +82,7 @@ if (empty($codes)) {
} }
.barcode-container svg { .barcode-container svg {
height: 11mm; /* Aumentado de 9mm a 11mm */ height: 11mm;
width: auto; width: auto;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
@ -137,8 +137,8 @@ if (empty($codes)) {
<div class="etiqueta"> <div class="etiqueta">
<div class="barcode-container"> <div class="barcode-container">
<?php <?php
// Altura aumentada a 88 para mayor facilidad de escaneo // Usando Code 128 Estándar Universal (Factor 1.0, sin reducción)
echo $generator->getBarcode($code, 1.0, 88, 'black', 0.25); echo $generator->getBarcode($code, 1.0, 100, 'black', 0);
?> ?>
</div> </div>
<div class="sku-text"><?php echo htmlspecialchars($code); ?></div> <div class="sku-text"><?php echo htmlspecialchars($code); ?></div>

View File

@ -61,7 +61,7 @@ $generator = new BarcodeGenerator();
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
padding: 6mm 1mm 1mm 1mm; /* Aumentado de 4mm a 6mm para bajar más el contenido */ padding: 6mm 1mm 1mm 1mm; /* Regresado a 6mm para que no se corte el texto AFS y suba la posición */
} }
.barcode-container { .barcode-container {
@ -76,7 +76,7 @@ $generator = new BarcodeGenerator();
} }
.barcode-container svg { .barcode-container svg {
height: 11mm; /* Aumentado de 9mm a 11mm */ height: 11mm;
width: auto; width: auto;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
@ -122,7 +122,7 @@ $generator = new BarcodeGenerator();
foreach ($skus as $sku) { foreach ($skus as $sku) {
echo '<div class="etiqueta"> echo '<div class="etiqueta">
<div class="barcode-container">' . $generator->getBarcode($sku, 1.0, 88, 'black', 0.25) . '</div> <div class="barcode-container">' . $generator->getBarcode($sku, 1.0, 100, 'black', 0) . '</div>
<div class="sku-text">' . $sku . '</div> <div class="sku-text">' . $sku . '</div>
</div>'; </div>';
} }
@ -130,13 +130,13 @@ $generator = new BarcodeGenerator();
</div> </div>
<div class="no-print" style="max-width: 600px; background: white; padding: 15px; border-radius: 8px; margin-top: 20px; font-size: 13px; line-height: 1.4; border: 1px solid #ddd;"> <div class="no-print" style="max-width: 600px; background: white; padding: 15px; border-radius: 8px; margin-top: 20px; font-size: 13px; line-height: 1.4; border: 1px solid #ddd;">
<p style="margin-top: 0;"><strong> Revertido a la versión estable:</strong></p> <p style="margin-top: 0;"><strong> Formato Estándar Universal:</strong></p>
<ul style="text-align: left; padding-left: 20px;"> <ul style="text-align: left; padding-left: 20px;">
<li>Se ha eliminado la optimización "Auto" que causaba errores de escaneo.</li> <li><b>Formato:</b> Code 128 (Estándar puro).</li>
<li>Se ha aplicado la <b>Opción 3 (Finas)</b> que confirmaste que funcionaba.</li> <li><b>Grosor:</b> Factor 1.0 (Sin engrosar ni adelgazar).</li>
<li>Las líneas son más delgadas y los espacios blancos más grandes para evitar que se "peguen".</li> <li><b>Reducción:</b> 0 (Barras estándar).</li>
</ul> </ul>
<p>Por favor, imprime esta prueba y confirma si vuelve a escanear correctamente.</p> <p>Este es el formato más universal posible. Por favor, imprime esta prueba y verifica si el escáner REDPOS lo reconoce ahora.</p>
</div> </div>
</body> </body>