Hello everyone,

I compiled this source code on my windows machine. I have mono 1.2.5.1 installed.
    But the output does not show all the printers installed on my machine.

    Does anyone know why this happens??

    Thanks in advance.

Regards


using System;
using System.Drawing.Printing;

class PrintSample
{
    static void Main(string[] args)
    {
        foreach (string printerName in PrinterSettings.InstalledPrinters)
        {
            Console.WriteLine("Printer: {0}", printerName);
        }
    }
}
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to