FX RUBY Dialog print

Hi!!
If we have a dialog in FX Ruby how do we include print option.

for any application using FX Ruby how do we give the print option for the
user

thx in advance

RKS

Ramakrishnan Subramanian wrote:

If we have a dialog in FX Ruby how do we include print option.

for any application using FX Ruby how do we give the print option for the
user.

FXRuby has a “printer setup” dialog box that you can use to collect
information about a print job, e.g.

 printDlg = FXPrintDialog.new(self, "Print Something")
 if printDlg.execute != 0
   # do something based on those inputs
 end

Hope this helps,

Lyle