OMPRAKASH SAH

OMPRAKASH SAH

  • NA
  • 126
  • 3.3k

print rpt file through code

Jan 21 2013 8:09 AM

rpp.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
PageMargins mrg = new PageMargins(); ;
mrg.bottomMargin = 200;
mrg.leftMargin = 650;

mrg.topMargin = 210;
rpp.PrintOptions.ApplyPageMargins(mrg);

rpp.PrintToPrinter(1, false, 0, 0);

when i give print order from client its finding server printer where its hosted please solve


Answers (2)