Looks good.
Haing a little problem passing a file name & location to the program
Here is what I am doing
Using:
lcFolderName=ALLTRIM(ThisForm.DocFolder.Value)
lcFilename=ALLTRIM(ThisForm.DocName.Value)
LcFolderName=IIF(LEN(lcFoldername)=RAT('\',LcFoldername,1),lcFoldername,lcFoldername+'\')
lcFileName=lcFoldername+lcfilename
do print2pdf with lcfilename, "qletter.frx"
I tried:
lcFileName='"'+lcFoldername+lcfilename+'"'
do print2pdf with lcfilename, "qletter.frx"
It gives an error:
This error occurred creating the PDF:
Installation parms do not exist of ID:PDFREADER
But this works
do print2pdf with "C:\my documents\quote 12345.pdf", "qletter.frx"
Have you solved this problem?
>Check out GhostScript integration with VFP at:
ftp://216.149.157.164/PDomain/VFP/Print2PDF.zip (by Paul James). Oh yeah, it's all free...
>>Is there a good PDF writer that work well with Foxpro so I can pass variables
>>into it? Such as file name and location. Also would like to have it run automatically without a user having to select the pdf printer driver.
>>I'll use a check box to activate it. If would be best if it had a site license
>>or was inexpensive to purchase