Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing problems

Status
Not open for further replies.

deepsheep

Programmer
Joined
Sep 13, 2002
Messages
154
Location
CA
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
 
You say you think theres a problem with your finishing code, can you post the code you have?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top