Есть необходимость печати ценников, документов и других возможных документов компании? С компонентом "Документы" это возможно! - вам нужно просто установить данный компонент (доступен для установки бесплатно!
Установить компонент
How to change the height of the barcode in the price tag template?
Now I'm setting up the template and it turns out to change the size of the barcode only by changing its width. It doesn't respond to height settings.
Is there a way to set its height?
the barcode is very high. Takes up a lot of space.
[file]15383[/file]
How to change the height of the barcode in the price tag template? Now I'm setting up the template and it turns out to change the size of the barcode only by changing its width. It doesn't respond to height settings. Is there a way to set its height? the barcode is very high. Takes up a lot of space.
Hello! Most likely, you added some tag in the barcode itself (when you created the template), which now interferes or blocks the height change. If you can fix the html code of the barcode template itself, go to the template and click on the source code. Or you can contact integrators, they will be able to help you in this matter https://1b.app/en/partner/search/?tags[]=3
Hello!
Most likely, you added some tag in the barcode itself (when you created the template), which now interferes or blocks the height change.
If you can fix the html code of the barcode template itself, go to the template and click on the source code.
Or you can contact integrators, they will be able to help you in this matter https://1b.app/en/partner/search/?tags[]=3
Luts Bogdan Alexandrovich OneBox CORP wrote: Hello! Most likely, you added some tag in the barcode itself (when you created the template), which now interferes or blocks the height change. If you can fix the html code of the barcode template itself, go to the template and click on the source code. Or you can contact integrators, they will be able to help you in this matter https://1b.app/en/partner/search/?tags[]=3
Here is the code. And the code from view
[quote]
Luts Bogdan Alexandrovich
OneBox CORP wrote:
Hello!
Most likely, you added some tag in the barcode itself (when you created the template), which now interferes or blocks the height change.
If you can fix the html code of the barcode template itself, go to the template and click on the source code.
Or you can contact integrators, they will be able to help you in this matter https://1b.app/en/partner/search/?tags[]=3
[/quote]
Here is the code.
And the code from view
[file]15391[/file]
[file]15392[/file]
To resize an image, you can add the following code: <!DOCTYPE html> <html> <head> <style type="text/css"> img { width: 140% height: 10%; align:center; } </style> </head> at the beginning of the code, replacing your tags with these. And with the width and height parameters you change the percentage.
To resize an image, you can add the following code:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
img {
width: 140%
height: 10%;
align:center;
}
</style>
</head>
at the beginning of the code, replacing your [file]15393[/file] tags with these.
And with the width and height parameters you change the percentage.
Luts Bogdan Alexandrovich OneBox CORP wrote: To resize an image, you can add the following code: <!DOCTYPE html> <html> <head> <style type="text/css"> img { width: 140% height: 10%; align:center; } </style> </head> at the beginning of the code, replacing your tags with these. And with the width and height parameters you change the percentage.
This is for changing the image, the variable is {barcodeimageinternalean13} I already did, but in this case, the quality of barcode and font printing is poor. I want to use {barcodeimageinternal13svg} so that the barcode is in svg format In this case, it is not possible to change the size through the style. I tried to prescribe through styles, but it does not work.
[quote]
Luts Bogdan Alexandrovich
OneBox CORP wrote:
To resize an image, you can add the following code:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
img {
width: 140%
height: 10%;
align:center;
}
</style>
</head>
at the beginning of the code, replacing your [file]15393[/file] tags with these.
And with the width and height parameters you change the percentage.
[/quote]
This is for changing the image, the variable is {barcodeimageinternalean13}
I already did, but in this case, the quality of barcode and font printing is poor.
I want to use {barcodeimageinternal13svg} so that the barcode is in svg format
In this case, it is not possible to change the size through the style.
I tried to prescribe through styles, but it does not work.
[file]15394[/file]
The topic is relevant. I ask One Box employees to give advice. The barcode in png is printed in poor quality. In other topics they write that you need to use the svg format, but it can not be reduced to the desired size. It doesn't fit on the label. Please tell me how to reduce it to the right size
The topic is relevant.
I ask One Box employees to give advice.
The barcode in png is printed in poor quality.
In other topics they write that you need to use the svg format, but it can not be reduced to the desired size.
It doesn't fit on the label.
Please tell me how to reduce it to the right size
You don’t change, but you need to cut it, because the wines will increase in proportion. try writing in the style of the element itself, it may have the highest priority: axis butt of heavily cropped barcode: <div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;"> <img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;"> </div>
You don’t change, but you need to cut it, because the wines will increase in proportion.
try writing in the style of the element itself, it may have the highest priority:
axis butt of heavily cropped barcode:
<div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;">
<img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;">
</div>
[file]15440[/file]
Yarina integrator wrote: You don’t change, but you need to cut it, because the wines will increase in proportion. try writing in the style of the element itself, it may have the highest priority: axis butt of heavily cropped barcode: <div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;"> <img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;"> </div>
Does the scanner read the cut barcode? As long as you go out, cut only the bottom, the top is left without a code.
[quote]
Yarina
integrator wrote:
You don’t change, but you need to cut it, because the wines will increase in proportion.
try writing in the style of the element itself, it may have the highest priority:
axis butt of heavily cropped barcode:
<div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;">
<img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;">
</div>
[file]15440[/file]
[/quote]
Does the scanner read the cut barcode?
As long as you go out, cut only the bottom, the top is left without a code.
Andrey wrote: Does the scanner read the cut barcode?
I think it’s enough to finish the height of 1 cm, so that the scanner can read it instantly. Vіn yet, not the numbers are read, but the spouses. a better try on a real scanner.
[quote]
Andrey wrote:
Does the scanner read the cut barcode?
[/quote]
I think it’s enough to finish the height of 1 cm, so that the scanner can read it instantly. Vіn yet, not the numbers are read, but the spouses.
a better try on a real scanner.
This code change didn't help :( To change the size of the image, you can add the following code: <!DOCTYPE html> <html> <head> <style type="text/css"> img { width: 140%; height: 10%; align: center; } </style> </head> at the beginning of the code, replacing your tags with these. And with the width and height parameters, you change the number of percentages. I did not quite understand where to write this code and is it suitable for me? <div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;"> <img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;"> </div>
This code change didn't help :(
To change the size of the image, you can add the following code:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
img {
width: 140%;
height: 10%;
align: center;
}
</style>
</head>
at the beginning of the code, replacing your tags with these.
And with the width and height parameters, you change the number of percentages.
I did not quite understand where to write this code and is it suitable for me?
<div style="width: 50%; height: 15px; overflow: hidden; margin: 0 auto;">
<img src="/media//productbarcode/product40502internal.png?1654513096" style="width: 100%;">
</div>
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up