Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print to PDF
Message
De
13/07/2011 09:33:24
 
Information générale
Forum:
ASP.NET
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01518063
Message ID:
01518064
Vues:
53
>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 ) ?


Pete,

Have only used this with a dll in foxpro, but there is a .net interface

http://www.bullzip.com/products/pdf/info.php

Look here for API .Net interface http://www.biopdf.com/guide/

There's also a command line interface http://www.biopdf.com/guide/exe_interface.php

Seems that if you change something it is best to reset if after printing
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform