Hi,
I have one web application where I need to print QR code with some text using Brothers PT-9700 printer.Can you suggest any techniques for printing.I am using c# web api at server side and angular JS as front end technology.
thank you,
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Maen BadwanPosted Dec 21, 2017, 7:15 AM
https://stackoverflow.com/questions/2909033/using-javascript-to-print-images
However, if you mean you want to know how to create the QR barcodes on images before sending them to the printer, you can try using .NET Barcode engine from LEADTOOLS to write QR barcodes at the server side (Web-Service), return back the generated QR barcode Image to the client, and then print it as mentioned above.
The following online help topic contains sample code that shows how you can create QR barcodes using .NET LEADTOOLS classes:
https://www.leadtools.com/help/leadtools/v19/dh/ba/qrbarcodedata.html
You can use the same code in a Web-Service project that receives QR data from the client (JavaScript), create QR Barcode on images and then you can either send the QR Image directly to the printer at the server side, or pass the generated QR barcode image back to the client so that it can be printed locally.