How to print a barcode using ASP.NET web application?
I am able to generate and display the barcode but unable to print the barcode.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shrimant TelgaveRank #623 · 3.8K reputationPosted Jul 25, 2018, 5:50 AM EDT
http://www.barcodelib.com/asp_net/barcode_aspnet_csharp.html
Jeeva SubburajRank #720 · 3.3K reputationPosted Jul 25, 2018, 5:47 AM EDT
Mohamed AbedallahRank #2,074 · 697 reputationPosted Aug 9, 2018, 4:40 AM EDT
However, if you are generating barcodes using barcode fonts and you don't want to rely on them, you can generate barcode as images at the server side using LEADTOOLS library which supports generating most types of 1D and 2D barcodes.
The server-side code will be similar to this:
Pravat KumarRank #2,456 · 573 reputationPosted Aug 9, 2018, 9:21 PM EDT