Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-23-2005, 05:13 PM   PM User | #1
CstAn
Regular Coder

 
Join Date: Nov 2005
Posts: 148
Thanks: 1
Thanked 0 Times in 0 Posts
CstAn is an unknown quantity at this point
how to done the function for the printing the document?

isnt possible that create a button the able for user to click and print the particular document??

beside the php, what other programmign languag able to create it??javascript?
CstAn is offline   Reply With Quote
Old 12-23-2005, 05:43 PM   PM User | #2
swatisonee
Regular Coder

 
Join Date: Aug 2005
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
swatisonee is an unknown quantity at this point
add this to your script.

<p align="center"><input type=button value="Print Page for your records " onClick="print()"></p>
swatisonee is offline   Reply With Quote
Old 12-24-2005, 05:09 AM   PM User | #3
CstAn
Regular Coder

 
Join Date: Nov 2005
Posts: 148
Thanks: 1
Thanked 0 Times in 0 Posts
CstAn is an unknown quantity at this point
but if i want print certain part of the page with certain format leh??
CstAn is offline   Reply With Quote
Old 12-24-2005, 05:51 AM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Well you got the button part the other part can be taken care of in CSS, you can have a CSS file that is called only when the user prints. http://www.codingforums.com/showthread.php?t=75424
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


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

Forum Jump


All times are GMT +1. The time now is 09:10 AM.


Advertisement
Log in to turn off these ads.