PC Review


Reply
Thread Tools Rate Thread

How can i print from the broweser without displaying the dialog print ?

 
 
Tamer Ibrahim
Guest
Posts: n/a
 
      28th Jan 2007
And to prevent the user from printing more than one copy of this .aspx
form, I want to make it disappear just after it has been printed.
Any help will be most appreciated.
tamer


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      29th Jan 2007
You'll need to look for some sort of speciaized printing ActiveX control that
can be installed via the browser. The browser printing function is
client-side, and the client gets to control it.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




"Tamer Ibrahim" wrote:

> And to prevent the user from printing more than one copy of this .aspx
> form, I want to make it disappear just after it has been printed.
> Any help will be most appreciated.
> tamer
>
>
>

 
Reply With Quote
 
remi
Guest
Posts: n/a
 
      29th Jan 2007

If you just want to use the print function of the browser, you can use
javascript print() function.

"Tamer Ibrahim" <(E-Mail Removed)> a écrit dans le message de
news:(E-Mail Removed)...
> And to prevent the user from printing more than one copy of this .aspx
> form, I want to make it disappear just after it has been printed.
> Any help will be most appreciated.
> tamer
>


 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      29th Jan 2007


On Jan 29, 1:10 am, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.com> wrote:
> You'll need to look for some sort of speciaized printing ActiveX control that
> can be installed via the browser. The browser printing function is
> client-side, and the client gets to control it.


I think that user always will be able to print as many copies as he/
she needed by using standard File-Print, or PrintScreen functions.

There some sort of tricks you may find useful like having custom style
for printing

<style media="print">
body {display:none}
</style>

to make the body invisible for the print function

For example, you can write a js which will change the style in XXX sec
and user will not be able to print with File-Print after that time.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Ctrl P prints automatically w/o displaying print dialog box elissa2007 Microsoft Word Document Management 3 6th Jan 2008 08:07 PM
Word Office 2007 beta. Opening print dialog box alters print size. =?Utf-8?B?SFRXQg==?= Microsoft Word Document Management 0 1st Jul 2006 09:20 PM
CTRL P causes delay in displaying print dialog box =?Utf-8?B?Q2hyaXN0aW5l?= Microsoft Word Document Management 0 23rd Aug 2005 06:30 PM
Displaying the print file dialog from within code Jonathan Blitz Microsoft Access Form Coding 1 23rd Jul 2004 07:07 PM
How to open Print property window of selected printer directly without Print Dialog Box =?Utf-8?B?U2FjaGlu?= Microsoft C# .NET 3 2nd Apr 2004 03:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 AM.