[CLOSED] How to Print PDF Document from web page?
Hi,
We need to implement print functionality from web page. The web page loads only PDF File as content. In page load event I have placed the following code...After loads the pdf file the default controls from Adobe for save, print, but I want to show print button on the form and if user clicks the PDF document should print automatically
Code:
pnlPDFLoad.AutoLoad.Url = Request.QueryString["URL"].ToString();
In html view the code ...
Code:
<TopBar>
<ext:Toolbar runat="server">
<Items>
<ext:Button id="btnPrint" runat="server" Text="Print" Icon="Printer"></ext:Button>
</Items>
</ext:Toolbar>
</TopBar>
<ext:Panel ID="pnlPDFLoad" runat="server" Region="Center">
<AutoLoad ReloadOnEvent="true" AutoDataBind="true" MonitorComplete="true">
</AutoLoad>
</ext:Panel>