Free Support Forum - aspose.com

Aspose.Pdf.Kit and Web Application - Printing functionality

I am using Aspose.Pdf.Kit in a windows application. Here is the code.

Dim bytes() As Byte

bytes = wsPrint.BatchPrintInvoices(lstInvoiceID.ToArray())

If Not bytes Is Nothing Then

Dim pdfStream As New MemoryStream(bytes)

pdfViewer.OpenPdfFile(pdfStream)

pdfViewer.PrintDocumentWithSetup()

pdfViewer.ClosePdfFile()

pdfStream.Close()

End If

bytes has all invoices. It works fine.

Will this work from a web pge as well???

Thanks in advance.

Aarti

Hi,

Thank you for considering Aspose.

I don't think that there is any problem to use in Web Page as well. If you have any problem related to it, please feel free to ask.

Thanks.