PHP Applications
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Applications

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old January 30th, 2007, 08:47 AM
Veena Das Veena Das is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mumbai,Maharashtra, India
Posts: 1 Veena Das User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Veena Das Send a message via Yahoo to Veena Das
how to convert html page to PDF format?

Hi All,

Is there any function to convert html page to pdf format

Reply With Quote
  #2  
Old January 31st, 2007, 12:15 AM
kostadinov kostadinov is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Varna, Bulgaria
Posts: 4 kostadinov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: how to convert html page to PDF format?

Hi.
I hope that this post will be in help anyway.

In general, there is no such direct,internal funcs
for translating into PDF from other formats.
But the solutions is still available.
They are very welcome.

Here I don`t assume that you want to transform a
single or 2-3 pages manually. For this we have
another instruments already ready for use.

I suppose that you want to create a object
transforming any given HTML/and not only/ page,even
if that page is generated via server-side scripts,
into PDF documents. Automatically. With a few clicks
only. /or even without them in some cases maybe/
You will want to have precise and full control
over the the process,including which parts of the
given docs to be processed and with dependency of
any given or unexpected /to some degree/ internal
and external factors-dynamic or static.

The idea behind the solution below is that you make
some big effort at the beginning,
/and little after that/ and then you gain the results
and sweet fruits for a long period.
In result you will have intelligent, scalable,
powerful, and reliable solution that is working for
you, making your life easer and giving you more
than you invest - in time effort, money and so.
You will code just once!
It can be used by many people or objects
at one time in different cases, and preferences.

One /of the many/ possible ways to solve this is to create a quartet:

reader
writer
master
keeper

The Reader:parsing-processing the desired text docs.
/ this include not only HTML files !!! /
With capability for analyzing, and
preformatting the data:back-end formatting
so to say.
Should be recognized the data itself,
the structure,style and logic. Separately
and with relationships.
/And eventually recognizing the meaning
of the JavaScript programs inside,
and this is important too I think. /

The Writer:For front-end formatting directly in PDF.
There is a many PHP functions for
generating PDF content.The Writer should
organize them logicaly and automaticaly.
It depend from the Reader and from the
definitions. /and the goal/
Should be reprogrammable.

The Master:Here we have dynamic environment and
mediator-coordinator between all
sub-structures inside,at one hand,
and between the main program and the
user-side point of view,in another.
/this allows you to have a button on
every single HTML/XHTML/SVG/MathML....
page saying "Get this page/s/ in PDF".../
In case of SVG/MathML you will need
some rasterizer,but this is another task.
Will work between the server and
the user agent also.

The Keeper:The very base.
The previous three fully depend
of this node. This mean:
database/s/,definitions,syntax
vocabularies, grammar, storage for
ready to use objects and primitives,
/including images/, orders to execute,
constants, versions,
/including space for future improvements
in the languages that are in use for
implementing the solution,or even new
languages ! /, also and preferences,
because more than one user will have
access.With the last comes in the game
and the restrictions - internal, external
and personal,or group.


About the languages.
The first aspect is which coding languages will be
used : PHP MySQL --- XHTML CSS JavaScript or others.
The second is about internationalization and
supported languages such as English,Deutsch,French,
Greek,Spanish,Italian,Bulgarian,/my native/,
and so.They are hundreds.

About the interface.
Intuitive and user friendly as a start point.

About the hot water:
All this is done already in the past by Napoleon
itself, while being on St.Helena.
Now he is promoting the newest hot enterprise pro+
.NET.FISH++#-*and_so_on version.
For the only 9****golden napoleons/cash only please/
So why should you worry about whatever.
Just go and take your copy....
the product.licenseAgreement.lenght=~~2365
pages floating-integer with 1.48 bit precision,
font-size="1pt"... no warrancy at all.

Apart of this joke /stupid for some people maybe/,
I`m not aware for some products written in PHP and
responding to the given criteria stated at the
beginning.

I wish you success!
You can find me at i_v#mail.bg for a peach-juice or
coca-cola... and both are mime-accepted :-))

Reply With Quote
  #3  
Old February 24th, 2007, 02:16 PM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 51 m 47 sec
Reputation Power: 2
RE: how to convert html page to PDF format?

google fpdf
or
http://www.htmldoc.org/
or
http://fpdi.setasign.de/
or
http://www.foolabs.com/xpdf/home.html

They all help
Cheers
West

Reply With Quote
  #4  
Old March 14th, 2007, 04:32 PM
JulieC JulieC is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Ohio
Posts: 92 JulieC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: how to convert html page to PDF format?

Check into the PDF Functions in the PHP manual, though you will probably have to do some intermediate work.

If it's a one time thing, I use PDFCreator from SourceForge (open source) like a "printer".

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Applications > how to convert html page to PDF format?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway