Welcome!
Log In
Create A New Profile
Home
>
WinDev Forum
> Topic
Advanced
Imprimir pagina webdev en pdf
Posted by Alex.pcs.crosspost
Forum List
Message List
New Topic
Alex.pcs.crosspost
Imprimir pagina webdev en pdf
March 31, 2009 10:29AM
How can I allow the user to save a page WebDev pdf?
thanks
Message forwarded from pcsoft.us.windev
Reply
Quote
Paulo Oliveira
Re: Imprimir pagina webdev en pdf
March 31, 2009 11:46AM
search in the webdev help for File Download (procura no help do webdev por File Download).
I supose that you are generating one pdf file and want to send it to the user.
In this case FILEDISPLAY is your friend.
Reply
Quote
Andres Sanchez
Re: Imprimir pagina webdev en pdf
March 31, 2009 07:55PM
Alex:
This is a code sample :
sFile is string = CompleteDir(fWebDir()) + "RPT_Prenomina_" + TimeSys() + ".PDF"
iDestination(iPDF,sFile)
iPrintReport(RPT_PreNomina)
FileDisplay(sFile,"application/pdf",sFile)
Andres Sanchez
Monterrey, Mexico
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Your Email:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
Message:
[Please Enable JavaScript]