1 (edited by blackpearl8534 2020-12-29 08:27:58)

Topic: Quick print

I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this

form1.frxreport.print;

But not works...

Re: Quick print

blackpearl8534 wrote:

I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this

form1.frxreport.print;

But not works...

Try PrintReport instead of print (just guessing)

brian

Re: Quick print

Also tried this ... not works

Re: Quick print

Make a button that will not be visible.
Use script to click it.
Setup the button to run a report from mvd side panel.
In this setup you can select to quick print with no preview.

George

Re: Quick print

Thanks George... but i need script because i am retrieving data from another source

Re: Quick print

Maybe Dmitry can do this... but i think he is very busy...

Re: Quick print

how about this?

frxReport1.PrepareReport;
frxReport1.Print;
brian

Re: Quick print

brian.zaballa wrote:

how about this?

frxReport1.PrepareReport;
frxReport1.Print;

Tested this, no luck.

brian

Re: Quick print

QuickPrint Type Is Added In Class
How To Use in Script

Post's attachments

Attachment icon untitled.JPG 66.1 kb, 105 downloads since 2020-12-30 

Re: Quick print

Can anyone help

Re: Quick print

Help

Re: Quick print

Hello... where is Dmitry???

13 (edited by vovka3003 2021-01-05 16:55:42)

Re: Quick print

blackpearl8534 wrote:

QuickPrint Type Is Added In Class
How To Use in Script

А это не..?:
https://i.imgur.com/VWz1feF.png
И "все выходит в целлофановых пакетах"...

Re: Quick print

Thanks but i need this function in script... because i am using multi data sets...

Re: Quick print

Ну, тогда желательно прикладывать пример проекта со скриптом.

Re: Quick print

Help

Re: Quick print

Hello Dmitry

blackpearl8534 wrote:

I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this

form1.frxreport.print;

But not works...