Webmaster Discussion Forum -  Revenue Sharing Forum  webmaster talk related topic
3000+ Free Tutorials, Read and learn from Picture and text
FREE Tutorials on Flash, Photoshop, PHP, 3DS, MySql and more.
Add your tutorials and get more traffic !

» Free SEO Tools
» Check Page Rank
» Check Page Rank multi datacenter
» Check Fake Page Rank
» Alexa Traffic Rank
» Bulk Page rank Check
» Link Popularity
» Check domain Instantly
» Short url
» MD5 Encrypt
» Meta Tags Extractor
» Surf using Proxy
» Keyword Density Analyzer
» Keyword Analyzer
» Welcome to WMH
Registration at WebmastersHome is completely FREE and takes only a few seconds. By registering you'll gain:
  • Full Posting Privileges.
  • Access to Private Messaging.
Register now
Partner

Text Link Ads
Web Hosting
Flash Tutorials
PHP Scripts
Web Hosting providers
Offshore Software Outsourcing
Web Directory
Software Directory
Your Text Link
Earn More
Simply Add a Post and view ad network advertisement on this post.


Go Back   Webmaster Discussion Forum - Revenue Sharing Forum webmaster talk related topic > Design and Programming Talk > Client & Server Side Scripting


Auto-Creating PDF Files

Client & Server Side Scripting


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-12-2005, 03:49 AM
nikhiltechnology nikhiltechnology is offline
Senior Member
 
Join Date: May 2005
Location: Indore, India
Posts: 185
nikhiltechnology is on a distinguished road
iTrader: (0)
Default Auto-Creating PDF Files

Hello friends

Does anyone know how to create a link which automatically outputs a PDF file for the user to view/print?
Please give some solutions.
Thanks

Reguards
Nikhil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Revenue Sharing Ads ( Read More ):

  #2 (permalink)  
Old 06-12-2005, 07:13 PM
jitender's Avatar
jitender jitender is offline
Site Admin
 
Join Date: Jun 2004
Posts: 1,200
jitender has a spectacular aura aboutjitender has a spectacular aura aboutjitender has a spectacular aura about
iTrader: (0)
Default

hi nikhil,

There is lot's of open source on the net to create the pdf on the fly,

PHP also provide the pdf creation with PDFlib, below is a small sample to create pdf file

PHP Code:
<?php
$pdf 
pdf_new();
pdf_open_file($pdf"test.pdf");
pdf_set_info($pdf"Author""Uwe Steinmann");
pdf_set_info($pdf"Title""Test for PHP wrapper of PDFlib 2.0");
pdf_set_info($pdf"Creator""See Author");
pdf_set_info($pdf"Subject""Testing");
pdf_begin_page($pdf595842);
pdf_add_outline($pdf"Page 1");
$font pdf_findfont($pdf"Times New Roman""winansi"1);
pdf_setfont($pdf$font10);
pdf_set_value($pdf"textrendering"1);
pdf_show_xy($pdf"Times Roman outlined"50750);
pdf_moveto($pdf50740);
pdf_lineto($pdf330740);
pdf_stroke($pdf);
pdf_end_page($pdf);
pdf_close($pdf);
pdf_delete($pdf);
echo 
"<A HREF=getpdf.php>finished</A>";
?>


here is some class for pdf creation

http://sourceforge.net/project/showf...group_id=45168

http://www.rustyparts.com/pdf.php

may be it will help you

Regards
Jitender
__________________
Free Webmaster Tools - Free SEO Tools
phpLDHacks - Add your template or Hack and earn money
Text Link Ads - Buy & Sell text link ads
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-13-2005, 02:17 PM
nikhiltechnology nikhiltechnology is offline
Senior Member
 
Join Date: May 2005
Location: Indore, India
Posts: 185
nikhiltechnology is on a distinguished road
iTrader: (0)
Default

Hi Jitender,

I have readed the code you have sen and trying hard to get these thing solved, Thanks for the help. I have sended you a mail about payout when it would be done.

Thanks

Reguards
Nikhil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-01-2005, 09:45 AM
jitender's Avatar
jitender jitender is offline
Site Admin
 
Join Date: Jun 2004
Posts: 1,200
jitender has a spectacular aura aboutjitender has a spectacular aura aboutjitender has a spectacular aura about
iTrader: (0)
Default

hi there,

thanks for sending mail, your payment send already throu paypal.

Regards
jitender
__________________
Free Webmaster Tools - Free SEO Tools
phpLDHacks - Add your template or Hack and earn money
Text Link Ads - Buy & Sell text link ads
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-11-2005, 01:55 AM
VietLang VietLang is offline
Moderator
 
Join Date: Jul 2005
Posts: 30
VietLang is on a distinguished road
iTrader: (0)
Default

Does any know that by creating .PDF files on the fly like this increase server load?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-11-2005, 06:35 AM
jitender's Avatar
jitender jitender is offline
Site Admin
 
Join Date: Jun 2004
Posts: 1,200
jitender has a spectacular aura aboutjitender has a spectacular aura aboutjitender has a spectacular aura about
iTrader: (0)
Default

Realy i don't know about the server load, it realy increase the load on server, but lots of site used this type of method like hotscripts provide the pfd on the fly.

Regards
Jitender
__________________
Free Webmaster Tools - Free SEO Tools
phpLDHacks - Add your template or Hack and earn money
Text Link Ads - Buy & Sell text link ads
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-12-2005, 03:10 PM
ethic ethic is offline
Moderator
 
Join Date: May 2005
Posts: 139
ethic is on a distinguished road
iTrader: (0)
Default

i also don't about it, if you need to create the pdf on the fly, you need a very good server for that !

ethic
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


All times are GMT. The time now is 08:58 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0