473,396 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Bar Code

Ali Rizwan
925 512MB
Hi all,
I want to make a programe which reads a bar code and also create bar codes(Optional).
Input is taken from bar code scanner and may be the simple scanner.
In case of simple scanner programe has to crop the bar code area automatically or take that area without cropping that.

Thanx

>>> ALI <<<
Jan 8 '08 #1
6 1473
werks
220 100+
Hi all,
I want to make a programe which reads a bar code and also create bar codes(Optional).
Input is taken from bar code scanner and may be the simple scanner.
In case of simple scanner programe has to crop the bar code area automatically or take that area without cropping that.

Thanx

>>> ALI <<<
I alos want to know how barcode works.. Hope somebody will post


Better Than Yesterday (-.-)
Jan 9 '08 #2
Killer42
8,435 Expert 8TB
I thought the driver software for a barcode reader normally just passes in a number, as though the user typed the number.

As for creating them, that has been covered here before - try the search box. But I think you have to buy a barcode font.
Jan 9 '08 #3
debasisdas
8,127 Expert 4TB
To create barcode, you must have barcode fonts.

Try to use C39 or C 128 to generate the code.

Since these accept only string parameters you have to convert numbers to string before passing.
Jan 9 '08 #4
lotus18
866 512MB
You can also create barcode fonts in CorelDraw. : )

Rey Sean
Jan 9 '08 #5
Killer42
8,435 Expert 8TB
To create barcode, you must have barcode fonts.
Try to use C39 or C 128 to generate the code.
Since these accept only string parameters you have to convert numbers to string before passing.
Can you explain what you mean about passing parameters to a font? I wasn't aware you could execute them at all.
Jan 10 '08 #6
Can you explain what you mean about passing parameters to a font? I wasn't aware you could execute them at all.
You can not simply apply the font to the data that you would like to barcode. The data must be formatted specifically (called 'encoding') to meet the requirements set forth by the standards organizations that produce the specifications for each barcode type (called a 'symbology'). This formatting includes the addition of start and stop characters to the data, the calculation and appendage of a check digit to the data, and proper formatting of the data itself. The start and stop characters are necessary so that barcode scanner does not try to scan from an arbitrary point in the barcode. The check digit allows the scanner to ensure that it has read the data correctly. And, the data needs to be formatted to ensure unique bar space patterns for each character and, in some cases, compress the data.
Feb 20 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

51
by: Mudge | last post by:
Please, someone, tell me why OO in PHP is better than procedural.
9
by: bigoxygen | last post by:
Hi. I'm using a 3 tier FrontController Design for my web application right now. The problem is that I'm finding to have to duplicate a lot of code for similar functions; for example, listing...
4
by: jason | last post by:
Hello. Newbie on SQL and suffering through this. I have two tables created as such: drop table table1; go drop table table2; go
16
by: Dario de Judicibus | last post by:
I'm getting crazy. Look at this code: #include <string.h> #include <stdio.h> #include <iostream.h> using namespace std ; char ini_code = {0xFF, 0xFE} ; char line_sep = {0x20, 0x28} ;
109
by: Andrew Thompson | last post by:
It seems most people get there JS off web sites, which is entirely logical. But it is also a great pity since most of that code is of such poor quality. I was looking through the JS FAQ for any...
5
by: ED | last post by:
I currently have vba code that ranks employees based on their average job time ordered by their region, zone, and job code. I currently have vba code that will cycle through a query and ranks each...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Guys, Today we are going to look at Code Access Security. Code access security is a feature of .NET that manages code depending on its trust level. If the CLS trusts the code enough to...
18
by: Joe Fallon | last post by:
I have some complex logic which is fairly simply to build up into a string. I needed a way to Eval this string and return a Boolean result. This code works fine to achieve that goal. My...
37
by: Alan Silver | last post by:
Hello, Newbie here, so please forgive what is probably a basic question ... I see a lot of discussion about "code behind", which if I have understood correctly, means that the script code goes...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.