Client-Side print
-
Not sure this is what you want or not....just using the js window.print() method... << >>
-
Not sure this is what you want or not....just using the js window.print() method... << >>
-
I have tryed window.print() method but how can print from client-side, from Server-side i can print fine. i use print function in java but that just call me the printing window. Regrads
seferi wrote:
from Server-side i can print fine
What do you do at server-side?
seferi wrote:
but that just call me the printing window.
Sure, becoz the IE will do it for you... << >>
-
seferi wrote:
from Server-side i can print fine
What do you do at server-side?
seferi wrote:
but that just call me the printing window.
Sure, becoz the IE will do it for you... << >>
Server side printing i use is: using CrystalDecisions.CrystalReport.Enegine; using CrystalDecisions.Shared; . . . . . ReportDocument dok = new ReportDocument(); dok.load(server.MapPath("CrystalReport.rpt")); dok.PrinterSettings.Printername = 'HP LaserJet 2200 Series PCL'; dok.PrintToPrinter(1,false,0,0); Response.Write("alert('Printing report has done!')"); Client-Side still don't get know how??? :(
-
Server side printing i use is: using CrystalDecisions.CrystalReport.Enegine; using CrystalDecisions.Shared; . . . . . ReportDocument dok = new ReportDocument(); dok.load(server.MapPath("CrystalReport.rpt")); dok.PrinterSettings.Printername = 'HP LaserJet 2200 Series PCL'; dok.PrintToPrinter(1,false,0,0); Response.Write("alert('Printing report has done!')"); Client-Side still don't get know how??? :(
At the client-side, you dont need to do anything, just call window.print() method and Internet Explorer will do the rest for you.... So it'll pop up an printing dialog like when you click on Print icon ... << >>
-
At the client-side, you dont need to do anything, just call window.print() method and Internet Explorer will do the rest for you.... So it'll pop up an printing dialog like when you click on Print icon ... << >>