Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah

  I can't find anything like this in FPDF 1.53 or in the documentation for
 version 1.60. I'd be interested if you can pinpoint it.

 Paul


Sorry, you need to load a class extension, see the website below:

http://www.fpdf.de/downloads/addons/36/


Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Paul M Foster
On Wed, May 20, 2009 at 11:31:49AM -0400, Dan Shirah wrote:

 
How can I click a button using JavaScript print function and have it
   generate a PDF with FPDF and get the PDF printed automagically? It seems
   I have done this before but I cannot recall what I did.
  
   TVMIA!
 
 If I remember correctly there is an FPDF command **autoprint()** you can put
 in at the end of your output to automatically bring up the print
 dialog...BUT, if you have Adobe Reader 7.0 or newer, you will ALWAYS get a
 popup security message from Adobe about the application trying to
 automatically print.
 
 From the searches I did, you cannot disable or bypass this warning
 notification.

I can't find anything like this in FPDF 1.53 or in the documentation for
version 1.60. I'd be interested if you can pinpoint it.

Paul

-- 
Paul M. Foster

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



Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah

   How can I click a button using JavaScript print function and have it
  generate a PDF with FPDF and get the PDF printed automagically? It seems
  I have done this before but I cannot recall what I did.
 
  TVMIA!

If I remember correctly there is an FPDF command **autoprint()** you can put
in at the end of your output to automatically bring up the print
dialog...BUT, if you have Adobe Reader 7.0 or newer, you will ALWAYS get a
popup security message from Adobe about the application trying to
automatically print.

From the searches I did, you cannot disable or bypass this warning
notification.

HTH

Dan


[PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-19 Thread Jay Blanchard
How can I click a button using JavaScript print function and have it
generate a PDF with FPDF and get the PDF printed automagically? It seems
I have done this before but I cannot recall what I did.

TVMIA!

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



Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-19 Thread Bastien Koert
On Tue, May 19, 2009 at 12:22 PM, Jay Blanchard jblanch...@pocket.comwrote:

 How can I click a button using JavaScript print function and have it
 generate a PDF with FPDF and get the PDF printed automagically? It seems
 I have done this before but I cannot recall what I did.

 TVMIA!

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


pop up a new window tih the js call and then call the program to create the
pdf

-- 

Bastien

Cat, the other other white meat