EDN Admin
Well-known member
Guys ad like to know how to print a word document using <span style="text-decoration:underline
print file dailog.......
<span style="text-decoration:underline
<pre class="prettyprint using (PrintDialog pd = new PrintDialog())
{
pd.ShowDialog();
ProcessStartInfo info = new ProcessStartInfo(@"D:documentsfiletoprint.doc");
info.Verb = "PrintTo";
info.Arguments = pd.PrinterSettings.PrinterName;
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(info);[/code]
Could someone Please explain to me...my program squels abt refrences that rnt there....can someone help me fix these error and explain to me
Thanx a Lot
View the full article
print file dailog.......
<span style="text-decoration:underline
<pre class="prettyprint using (PrintDialog pd = new PrintDialog())
{
pd.ShowDialog();
ProcessStartInfo info = new ProcessStartInfo(@"D:documentsfiletoprint.doc");
info.Verb = "PrintTo";
info.Arguments = pd.PrinterSettings.PrinterName;
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(info);[/code]
Could someone Please explain to me...my program squels abt refrences that rnt there....can someone help me fix these error and explain to me
Thanx a Lot
View the full article