Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal printing problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Crystal printing problem
Divers
Thread ID:
00217064
Message ID:
00217064
Vues:
51
I'm new to CR and have a simple problem (I'm sure) that I can't figure out. I'm playing with the OCX approach to get at my reports and things seem to be working fine on my development machine at home when printing a simple report, but when I try printing the same report from my office machine, the print preview screen pops up instead of sending the report straight to the printer. Here's the basic code that I'm using

THISFORM.ADDOBJECT("oCReport","crystal.mycrystal")

*!*run the select to populate the cursor
*!*copy cursor to the fox2x table for the report

thisform.oCReport.ReportFileName = "d:\seagate software\crystal reports\SAMPLE1.rpt"
thisform.oCReport.Action = 1

I assumed by setting the action property to 1 of the crystal object that it would send the report directly to the printer defined for the report and not display the preview screen, in fact, it works fine on my home PC but not my office PC. Can anyone shed some light on why the preview displays instead of sending directly to the printer?



Thanks much for any insights!

John.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform