Print Direct to dotmatrix printer without print dialogue from VS 2010

Hai...

how to print a report direct to the dotmatrix printer without show the print dialogue from VS 2010? Please help me

Thanks

Comments

  • edited September 2011
    Indra wrote: »
    Hai...

    how to print a report direct to the dotmatrix printer without show the print dialogue from VS 2010? Please help me

    Thanks

    in C#

    var rpr = new Report();
    string reportPath= AppDomain.CurrentDomain.BaseDirectory + "\\report.frx";
    rpr.Load(reportPath);
    rpr.PrintSettings.Copies = 1;
    rpr.PrintSettings.ShowDialog = false;

    rpr.Print();

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.