Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Printer
Message
De
20/05/2003 14:37:32
H. C. Doughty
Cybernet Services Inc.
Lansing, Illinois, États-Unis
 
 
À
20/05/2003 13:43:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Divers
Thread ID:
00790638
Message ID:
00790679
Vues:
15
Ramon:

You can select a particular printer with the SelectPrinter Method:
The print setup dialog should come up with
loCRW = CREATEOBJECT("CrystalRuntime.Application")
loRpt = locrw.OpenReport("fully qualified path to your report.rpt")
loRpt.PrinterSetup(0) && 0 current window..

If you need to set to a default printer for a particular printer without user intervention:

oRPT.SelectPrinter(cDriver, cPrinter, cPort)

Hope this helps ---

Regards
Haydn Doughty

If you do not have it, get a copy of CrysDev: A Developer's Guide to Integrating Crystal Report by - Craig Berntson --- A real life saver and a great book -- www.hentzenwerke.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform