Answered by:
How print barcode on receipt printer using asp.net

Question
-
User-712926555 posted
Hi,
I am creating simple retail sales application using asp.net. I am generating 3 inch bill for Billing Like as
Here i am generate bar code using
https://www.aspsnippets.com/Articles/Dynamically-Generate-and-Display-Barcode-Image-in-ASPNet.aspx
But, in this barcode I cannot read from scanner. I am printing on 3 inch roll paper, Not in Label.
How print barcode on receipt printer using asp.net
Wednesday, September 26, 2018 4:57 AM
Answers
-
User-893317190 posted
Hi Hisanth,
Maybe you need a third party library to help you.
You could go to their website to download.
https://www.neodynamic.com/products/printing/thermal-label/sdk-vb-net-csharp/download/
Here they have already written a project sample for you.
To learn more about the library , you could refer to
https://www.neodynamic.com/Products/Help/ThermalLabel8.0/articles/export-pdf.html
You could also refer to their articles about barcode.
https://www.neodynamic.com/products/barcode/sdk-vb-net-csharp/articles/
If you want to work in visual studio, you could also download the library using nuget.
To use it in visual studio, you should change configuration of visual studio.
Please go to Tools->Options->Projects and Solutions->Web Products and click the Use the 64 bit version of IIS Express For web sites ... and restart visual studio
Best regards,
Ackerly Xu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 27, 2018 7:19 AM
All replies
-
User-1952463932 posted
Did you remember to include the start and stop characters for the barcode?
Thursday, September 27, 2018 7:08 AM -
User-893317190 posted
Hi Hisanth,
Maybe you need a third party library to help you.
You could go to their website to download.
https://www.neodynamic.com/products/printing/thermal-label/sdk-vb-net-csharp/download/
Here they have already written a project sample for you.
To learn more about the library , you could refer to
https://www.neodynamic.com/Products/Help/ThermalLabel8.0/articles/export-pdf.html
You could also refer to their articles about barcode.
https://www.neodynamic.com/products/barcode/sdk-vb-net-csharp/articles/
If you want to work in visual studio, you could also download the library using nuget.
To use it in visual studio, you should change configuration of visual studio.
Please go to Tools->Options->Projects and Solutions->Web Products and click the Use the 64 bit version of IIS Express For web sites ... and restart visual studio
Best regards,
Ackerly Xu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 27, 2018 7:19 AM -
User465171450 posted
Keep in mind, you have zero control over where ASP.Net prints anything because the browser has no control. You can only open a print dialog from the browser and even then you can't tell it anything else about printing such as size, printer to print to, etc..
Friday, September 28, 2018 2:43 AM