0 votes

hi , i would like to print labels with barcodes and some string data,
Im struggling to find a solution for it, is it best to create an asp page or can I use it in winforms, (ive tried and it doesnt show multiples)

thanks

Liam

by

1 Answer

0 votes

You should use standard WinForms printing infrastructure.

Use PrintDocument, PrintDialog and PrintPreviewDialog classes.

Subscribe to PrintDocument.PrintPage event and use BarcodeControl.Render or BaseBarcode.Render method.

You can find the sample in the download package /Ezamples/VSXXXX/WindowsFomsCS or WindowsFomsVB.

by (301k points)
...