FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP: convert a page to pdf
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP: convert a page to pdf [message #180953 is a reply to message #180951] Thu, 28 March 2013 18:04 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 28/03/13 17:32, Adrian Tuddenham wrote:
> Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:
>
>> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>
>>> can anyone help me on how to convert a database driven page to pdf using php
>>
>> On MacOS, just print the generated page and save to PDF.
>
> I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
> the print command will allow you to Save to file. This gives a
> PostScript document which you can then convert to PDF with Distiller.
>

works just fine here on linux. Print to file defaults to a pdf, on Firefox.

> Some MacOS applications such as PageMaker 6.5 have an option to export
> as a PDF; but it isn't really a direct conversion, it still goes through
> the PostScript- Distiller route.
>

shows how backward OSX is..
>

However that's not what the OP wants. he doesn't want to involve the
users browser.

he wants to generate a pdf an the server. Or why else would he ask in a
PHP newsgroup?



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to save the visitors ip addresses
Next Topic: Need Forex Feed in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:00:07 GMT 2024

Total time taken to generate the page: 0.04603 seconds