Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minds Eye Report Engine Printer Prompt
Message
De
21/03/2008 16:00:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01304064
Message ID:
01304466
Vues:
18
I tried a few very similar few alternatives, which in theory should work fine, but did not. I ended up with the code shown which has always worked fine.

>Hi Tore
>
>Got code like that, but system is asking for printer when I execute
>
>orpt.oreportengine.printreport()
>
>But doesn't ask if I press print on the toolbar in the preview window?
>
>>This is the code I have ended up with.
>>
>>Set printer to name 'yourprinter'
>>orpt.orEPORTENGINE.printpromptForPrint= .f.
>>orpt.orEPORTENGINE.printColor=.T. && Did you miss this line?
>>orpt.orePORTENGINE.printreport(Set("Printer",3))
>>
>>>Hi Rich
>>>
>>>Using PrintPromptForPrint=.f. works fine when user presses print button from the preview window, but printreport() is prompting for printer?
>>>
>>>>Does anyone out there using Minds Eye Report know how to print my report whilst surpressing the print selection prompt?
>>>>
>>>>Robin,
>>>>
>>>>You can call the PrintReport() Method to print directly from the method in code. Or did you mean, when a User clicks on the print button from the UI?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform