We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Add 2D Barcode in PDF document as Stamp or Watermark using Aspose.PDF for .NET

I have an existing PDF that I need to add a small DataMatrix barcode to and print. Is there a way to overlay the barcode as I am printing? Or do I need to open the PDF, add the barcode, save, and then print using facades?

Is there a way to print directly from the document?

Thank you

Karl

karl@geekclan.com:
Is there a way to overlay the barcode as I am printing? Or do I need to open the PDF, add the barcode, save, and then print using facades?

Hello Karl,

Thanks for contacting support.

As per your understanding, first you need to open the existing PDF document, add Barcode image, save the updated document and then use PdfViewer to print the document. However once the Barcode is applied, you may consider saving the output in Stream Object and load the same Stream Object into PdfViewer object. Please visit the following link for information on


In case you face any problem or you have any further query, please feel free to contact. We are sorry for your inconvenience.