Search for clsheap (in summary $) and download clsheap.zip Matt Mathai, July 24, 2002
Thank you. My Fault, why I don't become this idea. Klaus Hentschel, July 24, 2002
Another question. Is it possible to create colored PDF? When I print to a PDF everything goes Gray. Klaus Hentschel, July 25, 2002
Sweet code, Paul. It is possible to get color text or shapes but I can't seem to get color images. In foxpro, you can set the color of each item on the form. The key (I think) is using a color printer's PS driver. I'm using the HP Color LaserJet PS (with port FILE under the DETAILS tab) that is included in windows. The only thing I couldn't get color was the image. If anyone figures that out, email me at karwash@hotmail.com with subject "universal thread" otherwise I won't see it with all the junk mail I get. Thanks again, Paul, this was just what I needed. Mike Albert, August 8, 2002
Please check out the newest version (1.3). Color printing is now enabled, also several fixes, updates, etc. Thanks - Paul Paul James, August 12, 2002
Nice update Works first time, Bob Lee Bob Lee, August 15, 2002
"Is it possible to create colored PDF?..." Klaus, use the HP Color LaserJet 8500 PS printer driver for producing the PS output and you will be able to produce colorful PDFs. We use this driver together with ghostscript in our PDF reporting engine. Zlatin Zlatev, August 15, 2002
This was very simple! I was having memory problems with FRX2WORD. This was free and it really works great! It comes out exactly like your report. Trish Middleton, October 10, 2002
Wonderful Product. Works much faster than Acrobat for creating pages but is there a way to convert more than the first seven pages of the report to a PDF. I can send a copy of the report if that would be helpful to diagnose the problem. Michael Brennan-White, November 6, 2002
Completely free and it's better than the Acrobat Writer/Distiller! Especially good for web reports... Claude Fuchs, November 8, 2002
Debugging Tip: Most problems are a result of a problem in your VFP report or your printer driver. If you will set the flag in the class so that "Report2PDF" does NOT delete the postscript file (.ps file), you can open the (.ps) file with Notepad and look for error messages. Also, look at my notes about manually creating and converting, because you can manually send your report to the Adobe printer driver (to create a .ps file), then via command-line you can call ghostscript to convert it. Thanks - Paul James Paul James, November 8, 2002
Works like a charm... excellent job. Jonathan Finch, November 14, 2002
Hey VFP people. Here's the question. If given just a PDF file, how can you print it out without opening the pdf? I'm asking here because I want to be able to print out multiple PDF files programmatically without opening them (hundreds of these bad boys). This may not involve FoxPro or not, but I thought you may know how to do this. Is this a matter of converting the pdf to a .ps file? If so, can I convert a pdf file to something that isn't postscript like PCL5e (postscript is bigger and slower when printing)? Any help is appreciated. Thanks again. Mike Albert, November 14, 2002
One option would be to retain the Postscript file (.ps) when creating the PDF. This class has a property to tell it whether to delete it or not. Then, as you pointed out, the postscript file could simply be "redirected" to a printer port even using something as low-tech as a batch file. Commercial Solutions: Freeware http://www.planetpdf.com/mainpage.asp?webpageid=545 http://www.planetpdf.com/mainpage.asp?webpageid=392 http://www.simtel.net/pub/pd/9929.html Shareware http://www.traction-software.co.uk/batchprint/index.html Around $65 http://www.addendum.de/bpE.html http://www.pdfstore.com/details.asp?ProdID=39 around $350 http://www.callassoftware.com/MadeToPrint_Acrobat/_e/mtp_01_e.htm Thanks - Paul James Paul James, November 14, 2002
For printing a .PDF without opening it, calling the Windows API seems to do the trick, assuming acrobat reader is installed. The Foxpro Foundation Classes have an _environ.vcx class library containing a _shellexecute class. Subclassing it with "open" changed to "print" in its Shellexecute method worked for me. Jonathan Finch, December 2, 2002
I've got it working great from activevfp now! Color and everything!! I did modify it slightly to accomodate a vfp web/COM mtdll environment along with reverting back to using the ghostscript dll (along with Ed Rauh's heap class) for scalability reasons... Claude Fuchs, February 16, 2005
When i use Print2pdf in Local machine it is working fine, but when i use same application thru Citrix ,then it is giving error : Error Loading Printer Driver Shz Khan, April 1, 2009
link broken :( Eduard Alexandru, May 7, 2009
I had install the latest GhostScript (gs811w32) and PSDrivers, the demo program can run in VFP8 but not VFP9, it propmt "File Access denied when delete PS file and old pdf file before rename in MAKEPDF(). Ivor Neo, June 30, 2014