The printer is a client-side resource, it CANNOT be accessed by server-side code.
Hence, it must be accessed via client-side code, such as javascript. So ultimately, you must use window.print to print the contents of a web page to the user's printer. The user will also always be supplied with a dialog box. This is a security feature to prevent web pages from spewing out nonsense to a user's printer without permission. Again, The printer is a client-side resource, it CANNOT be accessed by server-side code. On 10/24/05, Arindam <[EMAIL PROTECTED]> wrote: > > Printing Issue > ============== > > From my web application i want to print some > documents on client's printer, means when user clicks > on "Print" button of web page, selected documents should get > printed on default cleint printer. > > > > (Dont tell me window.print()) > > > > I'll be really greatful if anyone can provide a > perfect solution with an example . > > > Thanks, > Arindam > > > > Arindam Chakraborty > Software Developer, > Mumbai, > India > > > > > > --------------------------------- > Yahoo! India Matrimony: Find your partner now. > > [Non-text portions of this message have been removed] > > > > > > Yahoo! Groups Links > > > > > > > -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
