>Hi All, I have a print screen class which accepts a parameter of type "Form" and then does what it says on the tin. One of my users has asked me if it's possible to print it to a pdf - no problem thinks I - I installed a print driver called CutePDF and set that as the default printer - print to pdf - then set the default printer back to what it was - THE GOTCHA - The print driver pops up a "SaveAsDialog" which I have no control over - I want to save the pdf in a specific place depending on what is on the printed form. I've tried Directory.SetCurrentFolder(myfolder) before calling the Print() method but it is ignored - anyone know of a product that will fit the bill ( client will buy if neccessary ) ?
Haven't tried it but maybe this:
http://www.codeproject.com/KB/showcase/TallComponents.aspxLooks like you should be able to create a PDF document and add an image (and other content as ness.) and handle the resulting stream in any way you choose .....
UPDATE : Duh. Doesn't look like there is actually a download available ....