Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print to PDF
Message
General information
Forum:
ASP.NET
Category:
Pictures and Image processing
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01518063
Message ID:
01518077
Views:
51
>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.aspx
Looks 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 ....
Previous
Reply
Map
View

Click here to load this message in the networking platform