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.
>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?
Rob