Generate Image

Nov 22, 2012 at 5:48 PM

Thanks for this amazing library, it has made my work a lot easier

Now if you could please help me, i'm trying to create an image from the barcode label, i have searched on how to create an image from the array

page.AddRange(ZPLCommands.BarCodeWrite(5,5,30,ElementDrawRotation.NO_ROTATION,bcode,false,"Test"));
 imgBarCode.Image = genBarCode(page.ToArray());

 

I have tried many different ways to convert that array, but all of them throw the same error message  "Invalid Parameter"

 

Can anyone help me on this?

Coordinator
Nov 25, 2012 at 7:44 PM

There's no way to generate a barcode image from the library.  The library only sends an ASCII command to the printer, all the barcode graphics are handled by the printer itself.