The control you may be talking about is sold by MeadCo (
http://www.meadroid.com ). It is an ActiveX control, so it can't be used in
the page unless the user's settings allow ActiveX controls. Also, for
bypassing the print dialog, it requires that the user make it a trusted
site.
You can use the demo version which allows some control for free. We got by
with it for quite a while, until we needed to control the printer to which a
file was output. The full version costs something like $300 per 10 IP
addresses. That was worth it to us, but what wasn't worth it was the
constant irritation of the license file(every web server needed a different
one, preventing us from having a cookie-cutter install for a web server), so
we made our own in house control.
Of course all this only applies to IE on Windows.
Page breaks can be put in without any activeX control, just say
<DIV style='page-break-after:always>'><TABLE></TABLE></DIV> or something.
-Roy
-----Original Message-----
From: Walter Torres [mailto:walter@t...]
Sent: Tuesday, March 18, 2003 1:28 PM
To: javascript
Subject: [javascript] RE: Printer Friendly Button
Wow! tall order!
> give me the solution...
I hope this is just a grammatical error, or a "English a second language"
grammer slip, vs expecting/demanding a solution.
Anyway...
I've been looking for this solution for 3 years.
I can print a page, print a page in one frame from a button/link in another.
But I have only seen one thing that said it could let me programatilly
control all aspects of priting and it was a very expensive exteranl control
that was tied to your web server so they could control (and charge you for)
the nusers who use it.
I don't their name, sorry.
So, if *you* find a solution, would you please share it with the group?
Walter
> -----Original Message-----
> From: swapnil Deshmukh [mailto:swapnilsays@h...]
> Sent: Friday, March 14, 2003 10:34 AM
> To: javascript
> Subject: [javascript] Printer Friendly Button
>
>
> I want a print button on the Web which should print my page leaving the
> header and footer there should be a default Print Configuration for me
> to set programmatically. I should be able to add the Header and Footer
> Insert page break also i should have a print preview button
> Disable the File/Print option
>
> Can we do this if yes give me the solution or example of this