0
0
check the sample codes on
drawing code 128 in c#:
REImage reImage = REFile.OpenImageFile(
"c:/Sample.png",
new PNGDecoder());
Linear barcode =
new Linear();
//create a barcodebarcode.Type = RasterEdge.Imaging.Barcode.Creator.BarcodeType.CODE128;
//select barcode typebarcode.Data =
"123456789";
//set barcode databarcode.X = 1.0F;
//set xbarcode.Y = 60.0F;
//set ybarcode.Resolution = 96;
//set resolutionbarcode.Rotate = Rotate.Rotate0;
//set rotatebarcode.DrawBarcode(reImage, 300, 450);
//draw barcode on REImage with location x and yREFile.SaveImageFile(reImage,
"c:/code128.png",
new PNGEncoder());
0
First , you need figure out which app. you want to use?
For instance,
generate code128 in asp.net:
- Install ASP.NET Barcode Control;
- Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
- Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
- Drag and drop the WebLinearBarcode control into the Forms;
- Run the website and you will see a barcode image generated;
- More Code 128 Setting see below.
Then, you just copy the C# to your peoject to decode it!
Hope it helps!
0
You need to add the DLL to your VS 2010 toolbox as a common control, then drag and drop it to form to generate Code 128. Here is sample of
generating Code 128 in Winforms apps. Hope do help to you.
0
0
Hi
Are you trying to print the barcode on a specific printer?
Barcode Labels printers have barcodes on-board you just need to send the correct parameters down i.e. x y cordinates, barcode type, density etc.
Regards
Rob
Barcolde Label Answers