Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi Friends,

I am going to create Windows application in C#.NET, and I want to Read Bar-code from my application, also I wanted to Generate Bar-code and also wanted to give facility to Print Bar-code.

I am thinking of using any Motorola Device so can any body suggest how can i generate bar-code which also support my Motorola device and using Motorola device how can i able to get bar-code information in my windows application.

Any Sample codes and Links to Integrate Hardware and API for same..please share..

Thanks In Advance
Posted
Updated 28-Sep-13 9:48am
v3
Comments
H.Brydon 23-Sep-13 2:53am    
You should get to know Google, and it will reward you with lots of documentation and examples of your choosing.

 
Share this answer
 
Comments
GauravThorat 23-Sep-13 3:12am    
Thanks the links are seems to be very good..I will go through these links..
[no name] 23-Sep-13 3:14am    
Sure..and if it is helpful then accept the solution so that it will be helpful for future reference..
What kind of barcode you want to encode, read & print? You know, there are so many symbologies out there! Anyway a complete, powerful, free & open source barcode generator & reader for .net is http://zxingnet.codeplex.com/[^]
 
Share this answer
 
Comments
GauravThorat 29-Sep-13 13:50pm    
I am going to use Motorola's Bar-code Device
Depending on your application scenario you don't need to write any barcode reading code. If user intervention is required for data introduction, the vast majority of current comercial barcode readers act as virtual keyboards that inject the read text (or code, or digits, or... etc.) as if it were just typed by one user (pulling the trigger is necessary in this case).

If you need to trigger the scanning from your program (something like a sensor that detects the marked object into the reading position, so you stop the conveyor and read the code), you'll also find readers supporting specific control APIs that can be controlled by serial or USB ports.

If you decide using artificial vision (cameras) for reading the barcode, wihch makes sense due to it's flexibility, you'll need to pay attention into how you control the illumination. We had lots of issues with it in the past when automating one machine (where one station was reading barcodes), even using 'good' industrial cameras. You can combine the OpenCV library for image capturing and pre-processing with the ZXing.Net library (mentioned in the previous solution).

For directly generating the content to print you could take a look a this article here: Simple Receipt Like Printing Using the C# Printing API[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900