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


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


RE: [PHP] PHP tp PDF

2004-10-13 Thread Jay Blanchard
[snip]
Is FPDF a suitable replacement to PDFlib or should I be looking to use
another library? Any other comments are welcome about FPDF.
[/snip]

Love it, use it.

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



RE: [PHP] PHP and PDF

2003-09-18 Thread Jay Blanchard
[snip]
I ve been trying to use the PDF function to create/read PDF files, but i
ve
many problems.
Can anyone give a clue how can i create/read PDF files with PHP?
Thanks...
[/snip]

Look for clues here http://us4.php.net/PDF and here
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=PHP+and+PDF then
if you still don't have a clue come back and we'll get you some more.

Have a pleasant and educational day.

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



RE: [PHP] PHP and PDF

2003-09-18 Thread Javier Tacon

Try with the pdf classes in http://www.ros.co.nz/pdf/


-Mensaje original-
De: Paulo Nunes [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 18 de septiembre de 2003 14:59
Para: [EMAIL PROTECTED]
Asunto: [PHP] PHP and PDF
Importancia: Baja


I ve been trying to use the PDF function to create/read PDF files, but i ve
many problems.
Can anyone give a clue how can i create/read PDF files with PHP?
Thanks...

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

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



RE: [PHP] PHP and PDF

2002-07-01 Thread Brian McGarvie

if you're creating the form using PHP's PDF functions all you'd need to to is generate 
the number and add it using whatever command to add a line of text to the PDF 
document...

Don't ask me how.. not used it yet personally.

Would like to see a decent example of PHP/PDF creation anyway...

 -Original Message-
 From: Gregory Hernandez [mailto:[EMAIL PROTECTED]]
 Sent: 01 July 2002 4:25 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] PHP and PDF
 
 
 hello everyone--
 
 i'd like to know if this can be solved with php.
 
 i'll be creating a pdf form that'll be downloaded, filled and turned
 in.
 the form must have a unique NUMBER printed on it each time it is
 downloaded.
 
 i'd like to use php to update this NUMBER (ie. counter + 1) each time
 the form is
 accessed, and automatically print this NUMBER on the form that sits on
 the server.
 
 is this possible?
 
 thanks in advance.
 
 
 gregory
 [EMAIL PROTECTED]
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

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




Re: RE: [PHP] PHP and PDF

2002-07-01 Thread Gregory Hernandez

hello again.

thanks for the responses so far.

let me change something from my prevoius post.  

let's say that i'm using an existing pdf form (i won't be creating a
new one), is it still possible to use php to update a number that'll be
printed on the pdf form each time it is accessed?

again, thanks in advance.

gregory
[EMAIL PROTECTED]




 Brian McGarvie [EMAIL PROTECTED] - 7/1/02 11:50
AM 
Actually I just for a brilliant Free PDF library...

www.fpdf.org

Excellent tutorials/docs...

Use PHP to dynamically generate your forms and include any info you
wish from a database i.e. the ID and so on...

 -Original Message-
 From: Gregory Hernandez [mailto:[EMAIL PROTECTED]]
 Sent: 01 July 2002 4:25 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] PHP and PDF
 
 
 hello everyone--
 
 i'd like to know if this can be solved with php.
 
 i'll be creating a pdf form that'll be downloaded, filled and turned
 in.
 the form must have a unique NUMBER printed on it each time it is
 downloaded.
 
 i'd like to use php to update this NUMBER (ie. counter + 1) each
time
 the form is
 accessed, and automatically print this NUMBER on the form that sits
on
 the server.
 
 is this possible?
 
 thanks in advance.
 
 
 gregory
 [EMAIL PROTECTED]
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

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




Re: [PHP] PHP and PDF

2002-07-01 Thread Richard Lynch

Would like to see a decent example of PHP/PDF creation anyway...

Depending on how you define decent... :-)

Rasmus' trivial samples in his talks at http://conf.php.net are nice and
simplistic, so you can verify that the damn thing works.  These are great,
IMNSHO.

If you want a real example, try this:

http://uncommonground.com/events.htm
http://uncommonground.com/events.pdf
http://uncommonground.com/events.phps

The .phps URL is sym-linked to the PDF file, not the HTM file. :-)

YMMV.

-- 
Like Music?  http://l-i-e.com/artists.htm


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