CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Print a page on Click

Print topic Send  topic

Author Message
bouvet

Posts: 24
Posted: 03/09/2004, 7:46 AM

Hy,
I would like to print a dynamic page on a click button.

If possible, it will be nice if the windowof the printer open directly. If not open in a new window.

Php

Philippe
_________________
Webdesign Hildesheim Hannover
http://www.actidesign.com
View profile  Send private message
DonB
Posted: 03/09/2004, 2:01 PM

You can try putting onclick='print();' into an <a> or other tag, or possibly
href='javascript:submit();' into the <a> to see how that works. Mind you,
older browsers like IE4 won't comprehend this, and you may find different
browser respond differently or not at all.

There are also CSS attributes that designate whether html elements are
printed or are "screen only". You may want to investigate that as well.

--
DonB

http://www.gotodon.com/ccbth


"bouvet" <bouvet@forum.codecharge> wrote in message
news:5404de6d3c5782@news.codecharge.com...
> Hy,
> I would like to print a dynamic page on a click button.
>
> If possible, it will be nice if the windowof the printer open directly. If
not open in a new window.
>
> Php
>
> Philippe
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.