Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: How can I open the print dialog

Reply
Thread Tools

Re: How can I open the print dialog

 
 
Vidar Petursson
Guest
Posts: n/a
 
      07-05-2003
Hi

http://msdn.microsoft.com/library/de...afterprint.asp

You can also use CSS to state what should be printed
http://msdn.microsoft.com/library/de...es/media_1.asp

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Mike John" <> wrote in message
news:0a0f01c34271$3e395bf0$...
> I want to open print dialog in modual mode ,so the next
> line of code will not execute until the print dialog
> window is close.
>
> I have used the following systax in vb,js:
>
> document.window.print()
> alert("Done print")
>
> Yes, the print dialog window opens, but the second line of
> code got executed, even thou the print dialog window is
> still open
>
> The reason of why I want to do that, is because I want
> hide some controls before printing then appearing them
> again after the print dialog window is close
>
> Sincerly yours
>
>
> Mike John
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem - I want to print Current Output of Pdf file and should print once.I get print dialog box but it is not working keto Java 0 05-30-2007 11:27 AM
How can i print from the broweser without displaying the dialog print ? Tamer Ibrahim ASP .Net 3 01-29-2007 10:52 AM
display print preview dialog, not print dialog Matt Javascript 1 11-20-2004 01:18 AM
Cannot press OK in Windows Print Dialog / How can i print in Windows ? mzo Python 0 01-13-2004 04:55 PM
Re: How can I open the print dialog David Waz... ASP .Net 0 07-04-2003 11:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57