Re: Preview button to show PDF without submitting post data?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 06, 2009 at 12:11:44PM +0100, Sándor Tamás (HostWare Kft.) wrote:

> My question is slightly the same:
> how can I print a dynamically generated text file without opening a new
> window, or navigating from the current one?
>

Generally speaking, browsers use a helper application (like Acrobat Reader
or XPDF) to render a PDF. The helper application will have a print icon
or some way to print the PDF. Even if the PDF is seemingly rendered by
the browser itself (as sometimes happens in IE), there is still a
printer icon available.

If you *aren't* displaying the PDF, but only generating it, there isn't
really a way to do this without javascript or something similar. The PDF
is on the server, but printing will be on the client/browser.

Paul

-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux