> It's possible, I have done it with a mixture Client & Serverside code. Of course you have, because you're using *client* code. Dean simply pointed out that you can't access client printers with *server* code, which is perfectly correct. There is a third-party component (from Meadco, I think) that allows you to change more settings. Peter
On 10/25/05, Arindam <[EMAIL PROTECTED]> wrote: > > My Dear Friend, > Don't be bold about your decession about printer accessing ... > It's possible, I have done it with a mixture Client & Serverside code. > which doesnot prompt for any dialog to be clicked by user. > > But the problem with my code is that there are some certain settings > changes to be done in browser by User. > > So i am just thinking if i can do something from code to handle the > situation. > > Let me know ..if U find the solution the way i am looking for. > > Thanks > Arindam > > > Dean Fiala <[EMAIL PROTECTED]> wrote: > 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 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 Links > > > > > > > > > > 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 > > > > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
