I'm trying to print some data to a PDF in VB.NET 2005. I've tried cutePDF and Adobe Acrobat 6.0 print drivers and get the same problem. When I try to open the pdf created by my program, I get an error that says the file is corrupt or not readable. If I print using notepad and not my program, it works fine.
The goal of my program is to automatically take data out of a database and plop it (and some images) to a PDF without any user intervention.
I don't get any errors in the printing process. I suspect the problem is that I'm not ending the printing process correctly, and therefore the file isn't being saved properly.
I'm having issues finding the documentation I need. Any ideas?
Thanks
The goal of my program is to automatically take data out of a database and plop it (and some images) to a PDF without any user intervention.
I don't get any errors in the printing process. I suspect the problem is that I'm not ending the printing process correctly, and therefore the file isn't being saved properly.
I'm having issues finding the documentation I need. Any ideas?
Thanks