Welcome! Log In Create A New Profile

Advanced

Imprimir pagina webdev en pdf

Posted by Alex.pcs.crosspost 
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
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.
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
Author:

Your Email:


Subject:


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.
Message: