Re: PHP: convert a page to pdf [message #180957 is a reply to message #180955] |
Thu, 28 March 2013 19:42 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 28/03/13 19:14, Adrian Tuddenham wrote:
> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> 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.
>
> I don't understand the relevance of this reply. Neither Linux nor
> Firefox can run under MacOS.
>
I don't undestand the relevance of this comment
1/. Firefox can run under MacOSX
2/. so can linux in a virtual machine
3/, "I think this only works with OSX."
>>
>>> 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..
>
> Again, I cannot see a connection betwen your reply and the preceding
> comment, because PageMaker 6.5 is not an OSX application.
>
s/OSX/OS
>>>
>>
>> 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?
>
> I fully appreciate that; but I felt it was necessary to correct any
> possible confusion between the behaviour of Mac OS and of OSX, which
> could have misled others who read this group.
>
I doubt anyone but you even remembers what OS9 or earlier is, or does
Even our PowerPcs here have at least OSX on them. I cant imagine anyone
still runs it natively.
And in any case the comments were directed at the person who said 'you
can ONLY DO THAT ON OSX, not windows or Linux.
As we have shown, that is incorrect., Certainly Linux, and probably
windows can print to a PDF using a pdf print driver (for windoze).
>
--
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.
|
|
|