[Mono-dev] Get list of installed printers

Robert Jordan robertj at gmx.net
Sat Dec 31 11:38:29 EST 2005


Hey,

>  any ideeas in how can I retreive the list of printers installed on a system?
>  In Windows.Forms was easy:
>  
[ ... ]

>  
>  But in mono i get this error:
>  Unhandled Exception: System.NotImplementedException: The requested feature is not implemented.
>  in [0x00005] (at /tmp/scratch/BUILD/mono-1.1.12/mcs/class/System.Drawing/System.Drawing.Printing/PrinterSettings.cs:272) System.Drawing.Printing.PrinterSettings:get_InstalledPrinters ()
>  ....

The printing stuff is still incomplete, but a cuple of days ago it
has been enhanced. The enumeration of printers seems to be implemented.
It requires libcups (installed on every modern linux desktop).
You should check out the latest SVN sources and build your
own Mono. Have a look at http://mono-project.com/SVN

>  P.S. A happy new year for all mono-developers! :P

Thx ;-)

Robert




More information about the Mono-devel-list mailing list