Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minds Eye Report Engine Printer Prompt
Message
From
21/03/2008 16:00:43
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01304064
Message ID:
01304466
Views:
19
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform