Barcode Code128-Wide To Narrow Ratio hasn't any effect - barcode

Hi I have a Barcode tool that I use it to make barcodes in my Ms Access Reports.
I have found that the "Wide To Narrow Ratio" property hasn't any effect when I use Code128 barcodes. I tried another tool and I had the same... Why?
thanks

code128 is a fixed ratio barcode; it uses bar/space widths of 1x, 2x, 3x, and 4x. Narrow/wide bar ratios are used in symbols like code39 and code93.
A good reference for this type of information is: http://www.barcodeisland.com/symbolgy.phtml

Related

How to reduce size of the bar code. Zebra ZM600

I have a problem with bar codes on labels. I have two Zebra printers ZTC ZM600-200dpi ZPL(unreadable code) and ZTC ZT420-300dpi. The problem is that one of them prints for long barcodes, which then can not be scanned by a scanner (screen). What may be the problem, I tried to compare the settings. I changed to identical and nothing. How to change barcode size?
The problem is that one of them prints for long barcodes
Do you mean the barcode length is too long and getting cropped/cut-off and that is why it is not scannable?
What software is generating the ZPL? And what values are being set with ^BY, which controls the module width of barcodes? Since the 300dpi label is readable, it sounds like you need to reduce the module width set by ^BY for the 200dpi label.

ZPL - How can we control width of the barcode in zpl

I am working on conversion of pdf in to ZPL. I am using zebra programming language(zpl).
I am trying to control the barcode(any barcode) width using By command.
^By4 is giving lower width and ^By5 is going out of the box.
My use case is I want to achieve narrow bar width in float number(here 4.5). We can not pass float number in By command.
Please let me know if we can achieve this using some other method in ZPL.
You don't mention what barcode format you're using. Some of them, like 2of5, can also accept the ratio parameter for ^BY. The default is ^BY2,3, changing that to ^BY2,2 can make a smaller version:
^XA
^POI
^CFO,20
^BY5,3
^FO100,400
^BJN,100,Y,N
^FD200940^FS
^BY5,2
^FO100,700
^BJN,100,Y,N
^FD200940^FS
^XZ
This generates two barcodes in 2of5, one with the default ratio and one with a smaller ratio. The second one has a tighter barcode that uses less space. Valid values are 2.0-3.0 (although many round off to the same values) so there is some flexibility. Please note, this only works with barcode formats that are not fixed ratio formats.
You can check the manual page for ^BY in the ZPL programmers guide, p123, for the table that shows valid values and which ones round off to the same value (ie, 2.0 and 2.1 give the same results)

Difference between text as image and graphics as image

The question seems to be weird, but I need to ask this, since I am witnessing a quite interesting output when I compare text as image and graphics as image.
Ideally I am in process of identifying an tool, or algorithm to compare two pdfs, generate output which will highlight the difference between them.
There are possibilities in pdfs, which will have text as image format (legacy text on papers, are converted to pdfs).
and we are doing migration of those legacy pdfs, and finally we are comparing with legacy and converted pdf output.
I am evaluating couple of tools like Adobe dc pro, i-net pdfc and power pdf etc, for comparing two pdfs.
While evaluating, I am able to see graphic images are getting compared(not accurate either) on either side of the pdfs. Where as text as images are completely ignored, unanimously same results in all the tools.
But I am more interested in text as image, since we deal more of legacy text pdfs.
Below, is attached graphic image comparison result, where it could able to capture the differences between the images.
But when I compare text image, differences are not highlighted in the tool.
What I understand from this, text is not compared as image graphics, and tool is completely ignoring the comparison. I would like have clarification whether my assumption is correct.
Secondly, I would like to know how to compare text image in pdfs to generate the differences?.
I'm working for the company that is author of i-net PDFC so I'll answer your first question as well:
Your assumption is correct. i-net PDFC is able to compare images and shapes, but it cannot detect if some content completely changed it's meaning, e.G. a line shape that is used to draw a letter or in your case an image that has to be recognized as text. Recognizing ASCII art as image won't work for the same reason either. Such cases will always be detected as differences even though their visual appearance is similar.
On your second question: Using an OCR conversion tool for one or both documents is a common solution to this problem. A simple image comparison of the compared pages in unlikely to work due to the different font styles and line wrappings in the converted file.
Please note that most OCR applications will use the rendered page images for the recognition. This may lead to incorrect recognition results even if there are no images in the PDF file.
i-net Software is aware of this general issue and an OCR module is currently in development. It'll provide an option to apply the recognition solely to the images in the PDF files.

Cobas c311 not reading bar-code

I am developing a Java machine integration system to communicate with medical machines.
I have a problem reading code-128 bar-codes on a particular machine (Cobas c311), knowing that the same bar-code is working all other scanners and machines. I am using birt to generate these barcodes. I have tried to edit the font manually to make the bars longer and shorter with no effective result. I tried to use code-code-39as well, changed the bar-code printer and labels and still having the same issue.
How can I solve this problem?
We had the same problem with Cobas C311 machine, the problem was in the label type where we were using Matte labels, changing the label ribbon types to a glossy label type have solved the problem. Also make sure to use hugh quality ink and high quality printer since the barcode scanner in Cobas C311 is very sensitive

How to provide dpi/resolution parameter to ZXing Library?

I am trying to use ZXing to create code 128 based 1D barcodes.
I have a requirement to specify the resolution or dpi parameter to generate the 1D barcode.
But I am unable to find this param in the specification?
Is there any way to do so? What am I missing?
If ZXing does not provide this option, is there any other library which provides the same?
Thanks
Resolution has no meaning here, since nothing in the library is concerned with how large you will physically print or display the image. So, a DPI parameter would not make sense. Instead determine the size in pixels that you need and request that.

Resources