The ABMPDFViewer component can be used to show and print a PDF from inside your WebApp. Be aware that for big PDF files it can take some time to download before it is presented!

This component can be particularly handy when used with the ABJasperReports library (a Donators exclusive).

Dim pdf As ABMPDFViewer
pdf.Initialize(page, "pdf", 800, "../PDF/1.pdf","")
pdf.PreparePrintingText = "Preparing to print..."
pdf.ReadDirection = ABM.PDF_READDIRECTION_LTR
pdf.AllowDownload = True
pdf.AllowOpen = False
pdf.AllowPrint = True
pdf.AllowSideBar = True
pdf.AllowViewBookmark = False
	
page.Cell(2,1).AddComponent(pdf)