[Mono-list] Linux Printers

Steve Harp steve at abelscreening.com
Mon May 5 10:08:18 EDT 2008


>On 5/2/08, Steve Harp <steve at abelscreening.com> wrote:
>> Hi All,
>>
>> How do I get list of available printers on a Linux machine?  I'm using
>> C#/Mono and trying to populate a ComboBox with printers available on the
>> computer.

> One way is to use
> System.Drawing.Printing.PrinterSettings.InstalledPrinters , which
> returns a string collection of all detected printers.
>
> andreia gaita

Thanks for the reply Andreia.  With this, I get an error "libcups not found.
To have printing support, you need cups installed."  I do have cups
installed along with several cups related libraries.  I'm using openSuse
10.3 and there is no libcups available in Yast.

Steve



More information about the Mono-list mailing list