Re: [PHP] html2pdf

2001-11-08 Thread burk

On Tue, 6 Nov 2001, Valentin V. Petruchek wrote:

> Hello everyone!
>
> I'm looking for powerful (e.g. table and css support) generator html2pdf,
> preferable written in php.

Well it's not written in PHP, but it works well enough with it:

http://www.easysw.com/htmldoc

It's a good package, the table support was good enough for my uses,
though I don't know how well css is supported.

-burk

-- 
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread burk

On Fri, 14 Dec 2001, rino wrote:

> Is posible whit pdflib print file pdf only in browser client and
> not save file 

Yes. The first example of the php pdflib docs show doing exactly that
on this page:

http://www.php.net/manual/en/ref.pdf.php

and it does work.

-burk


-- 
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread burk

On Wed, 10 Jan 2001, Alex Black wrote:
> 
> definitely avoid print() and echo like the _plague_ for html output.
> 

Do you have any reason for saying that other than that you don't like that
style of code?

-burk

-- 
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread burk

On Thu, 11 Jan 2001, Alex Black wrote:

> like this:
> 
> echo "";
> echo "";
> echo "$title";
> echo " href='resources/css/$css.css'>";
> echo " language='javascript'>";
> echo "";
> echo "

$title
";

insert_css_js_here();

echo "


";
// yada yada
} 

works fine and is pretty easy to read.

And my friend who was an html expert but not a php expert had no problem
reading my code.

Now this is NOT saying that extraction of markup from logic isn't a good
thing. I DO separate logic from markup. However, the beauty of PHP is that
markup doesn't need to be separated. And for many projects, its probably
overkill.

-burk

-- 
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Creating a PDF document from an HTML Page

2001-06-26 Thread burk

On Tue, 26 Jun 2001, Boaz Yahav wrote:

> I'm trying to create a receipt in a PDF format. I have the receipt as HTML.
> Is there any class or module in PHP or other language that can read an
> HTML file and output a PDF file?

I use HTMLDOC. It works well for us here.

http://www.easysw.com/htmldoc/

Hope this helps,

-burk


-- 
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]