Hello Everyone,
I recently installed FoxyPreviewer for printing reports as PDFs. When I build the application I get the 'Unable to find Proc./Func. FOXYPREVIEWER' error message. If I click ignore I get a list of undefined errors. When I run the program though it runs fine. The documentation...
Hi Olaf,
Thank you for your response. I was able to trace the DO command to a .prg file where the 'REPORT FORM' command that I needed was located.
Thank you to everyone for their responses and for helping me get better at VFP.
David
Hello All,
I have installed FoxyPreviewer to print reports to PDFs. It works fine for Report Forms as indicated below:
DO d:\apps\FoxyPreviewerv299z30\FoxyPreviewer
Report form dbpaitlf object type 10 to file d:\apps\int\pdfs\dbpaitlf.pdf
SET REPORTBEHAVIOR 80
However for a report that...
No I did take out the erase line to test it. When I use this code:
lcCurrWinDefaultPrinter = SET("PRINTER", 2)
oNet = CreateObject('WScript.Network')
oNet.SetDefaultPrinter('Adobe PDF')
REPORT FORM dbpaitlf noconsole TO PRINTER nodialog
oNet.SetDefaultPrinter(lcCurrWinDefaultPrinter)
the...
Hi Olaf,
I tried your code above and the report does not print. I search the whole drive for it in case it got saved in a different location.
Thanks
David Jenkins
Thanks for your comment. I will push for the owner of my company to allow foxypreviewer. If anything I am at least learning some additional functionality of vfp, as you can probably tell I am new at it.
Thanks Again
David Jenkins
Thanks for all your help. I am testing a work around that lets me use the installed Adobe PDF printer and so far it is working. However this method opens the PDF preview window after the pdf is created. Is there a way to have this preview window close automatically? What I do is delete the pdf...
Sorry I am new to Foxpro. What do you mean launching from a grid? I read the link but I am not sure where to set the focus to, to be able to test your advice?
I have tried just running the report the first time for XFRX and it still prints a blank. I tried adding a goto top, still nothing. I am not sure how to check the data environment, correct the form for visibility, or if it is embedded in the exe or hdd. Could the following be an alternative...
Unfortunately my company doesn't use foxypreviewer and it is not an option at this point. I use similar code in other programs and it works fine. I do not know if there is something in this program or report that returns a blank when clearly the print preview shows otherwise.
Thanks for your help.
Hello Everyone/anyone,
I am trying to convert a vfp report into a pdf so I can then email it.
I create the report and then convert it into pdf, but when I email it, the pdf is just a blank page.
I have prompted the printer to preview the report as well and this works but the pdf returns...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.