[Gambas-user] Printing report

nero nero78 at ...43...
Wed Jan 22 11:28:53 CET 2014


Hi all,

I can print directly to pdf using priner component without any problem using somethink like:

printer.Paper = Printer.A4
printer.OutputFile = "~/print.pdf"
p1.Print()

Now I've made some report using report component but I can't understand how to obtain the same, I can made pdf using :

Dim r As Report
r = New Rtest

r.Preview()

But it will popup the preview and I need to select print and pdf output.

I need to made it automatic.

How ?

Thank's in advance,
Marco.





More information about the User mailing list