[Mono-list] Printing from a service/non GDI app

Andreas Färber andreas.faerber at web.de
Thu May 31 06:49:30 EDT 2007


Mads,

> I should probably mention that this needs to work on both Unix and  
> Windows.
> Our test on Windows shows that System.Drawing.Print does not work for
> services. This is consistent with the MS documentation.
>
> (btw: In my opinion, a system that requires access to a graphic  
> display in
> order to print, is broken)

Have you tried setting the "allow interaction with desktop" option  
for the Windows service? That should allow access to graphics; not  
sure about Microsoft's implementation of printing though.

Andreas


More information about the Mono-list mailing list