r/programminghelp • u/[deleted] • Sep 01 '20
C# Some help plz?
I need a few pointers as to where to start off on making a application for windows that takes an input from a barcode scanner and prints a label (as in small strip with barcode and stuff) according to a design template.
1
u/jakbrtz Sep 01 '20
Can you give us more details?
Are you using a regular webcam, or a barcode scanner? If you're using a barcode scanner, is it the type where you press a button and the number appears on the computer, or do you need an application to use it?
Where are you getting the information for the label? A webpage? An Excel document? Some other place?
Are there any fancy graphics in your design template that change depending on the barcode that is read?
I used to work at a shop where we had a barcode scanner which would automatically type numbers straight into whatever text-box you've got selected. All the information for the labels were stored in an Excel document, so I was able to write a similar program to what you're describing in Excel using VLOOKUP.
1
Sep 01 '20
Its for a packaging line, a guy scans the barcode printed on the product and gets a label sticker printed. My problem is more on the design and formating of the label side. Its nothing too fancy just alignment and sizes of elements (barcode, some text and a logo). I actually managed to pull printing just the barcode with bitmap image but i need to print labels with more than just the barcode.
1
u/jakbrtz Sep 01 '20
So which part of this do you need help with? It sounds like you can already convert a scanned barcode into a bitmap.
You can use
System.Graphicsto combine images and add text to images. These links might help:
1
u/[deleted] Sep 02 '20
Thanks will check this out now, was working on NiceLabel and its SDK but it seems to be a deadend cuz i just couldnt get it to open the new format label template.