Re: [WebDNA] Create PDF

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112447
interpreted = N
texte = 12 --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I used to use the method you described but found it very slow and that = problem message became too discerning for many users. I moved to "wkhtmltopdf", it is very fast and excellent results. http://wkhtmltopdf.org Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 15 Sep 2015, at 05:45, C Frank Wolfe > wrote: >=20 > I pulled this old code from the WebDNA Website and simplified it for = testing. Wondering if this should work or maybe there is a new way to = create a PDF. This will create the file but error, "damaged file can = not be opened", or "file does not start with %PDF.: >=20 >=20 > [writefile file=3Dtest2.pdf&secure=3Df][include = file=3Dtemplate.pdf&fname=3Dfrank&lname=3Dwolfe][/writefile] >=20 >=20 > template.pdf has two form fields: fname and lname >=20 > WebdNA 8.02 Windows >=20 > Thanks, >=20 > Frank >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list >. > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us = > Bug Reporting: support@webdna.us --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I used to use the method you described but = found it very slow and that problem message became too discerning for = many users.

I = moved to "wkhtmltopdf", it is very fast and excellent results.




Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 15 Sep 2015, at 05:45, C Frank Wolfe = <frank@cwolfe.com> wrote:

I pulled this old = code from the WebDNA Website and simplified it for testing. =  Wondering if this should work or maybe there is a new way to = create a PDF.  This will create the file but error, "damaged file = can not be opened", or "file does not start with %PDF.:


[writefile = file=3Dtest2.pdf&secure=3Df][include = file=3Dtemplate.pdf&fname=3Dfrank&lname=3Dwolfe][/writefile]


template.pdf has two form = fields: fname and lname

WebdNA 8.02 =  Windows

Thanks,

Frank


---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Create PDF (Stuart Tremain 2015)
  2. [WebDNA] Create PDF (frank@cwolfe.com 2015)
12 --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I used to use the method you described but found it very slow and that = problem message became too discerning for many users. I moved to "wkhtmltopdf", it is very fast and excellent results. http://wkhtmltopdf.org Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 15 Sep 2015, at 05:45, C Frank Wolfe > wrote: >=20 > I pulled this old code from the WebDNA Website and simplified it for = testing. Wondering if this should work or maybe there is a new way to = create a PDF. This will create the file but error, "damaged file can = not be opened", or "file does not start with %PDF.: >=20 >=20 > [writefile file=3Dtest2.pdf&secure=3Df][include = file=3Dtemplate.pdf&fname=3Dfrank&lname=3Dwolfe][/writefile] >=20 >=20 > template.pdf has two form fields: fname and lname >=20 > WebdNA 8.02 Windows >=20 > Thanks, >=20 > Frank >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list >. > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us = > Bug Reporting: support@webdna.us --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I used to use the method you described but = found it very slow and that problem message became too discerning for = many users.

I = moved to "wkhtmltopdf", it is very fast and excellent results.




Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 15 Sep 2015, at 05:45, C Frank Wolfe = <frank@cwolfe.com> wrote:

I pulled this old = code from the WebDNA Website and simplified it for testing. =  Wondering if this should work or maybe there is a new way to = create a PDF.  This will create the file but error, "damaged file = can not be opened", or "file does not start with %PDF.:


[writefile = file=3Dtest2.pdf&secure=3Df][include = file=3Dtemplate.pdf&fname=3Dfrank&lname=3Dwolfe][/writefile]


template.pdf has two form = fields: fname and lname

WebdNA 8.02 =  Windows

Thanks,

Frank


---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_4F4567A8-BE73-4288-860C-F65CBC98E9F3-- . Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Not really WebCat (1997) ftp to webstar (2001) SHOWIF/HIDEIF empty fields (2005) RAM variables (1997) Replacing a Word (1999) Site / Database Structure (2002) Search a date field by month only... (1999) Separate SSL Server (1997) Shipping charge question (2003) Can you do this??? and other stuff (1997) do you have a webcatalog tool you want to sell? (1999) Pager notification of completed orders (1998) problem with waitForFile? (1998) blank page from template (1997) [WriteFile] problems (1997) NT version (1997) Email (1998) MySQL and WebDNA (2002) Anyone using [sendmail] for HTML encoded mail? (2000) [WriteFile] problems (1997)