printing to dot matrix preview

Hi,


I need to have a button that is a shortcut to

save \ print \ textfile / matrix printer


how do I do this from vb.net code so that the preview window shows up please?


Regards,

R

Comments

  • add a button and set onclick :

    using (FastReport.Export.Text.TextExport export = new FastReport.Export.Text.TextExport())

    {

    // show the dialog

    export.Export(report);

    // export to a file

    export.Export(report, "d:\\test.txt");

    }

  • that is Fantastic! it opens now :-)

    I don't suppose you know how to set the values on the preview? i


    tried export.EmptyLines = True

    but it doesnt work.


    -R



    add a button and set onclick :

    using (FastReport.Export.Text.TextExport export = new FastReport.Export.Text.TextExport())

    {

    // show the dialog

    export.Export(report);

    // export to a file

    export.Export(report, "d:\\test.txt");

    }


Leave a Comment