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

Mads Bondo Dydensborg mbd at dbc.dk
Thu May 31 07:41:58 EDT 2007


torsdag 31 maj 2007 12:49 skrev Andreas Färber:
> 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.

No, I have not tried that. I resent doing that, actually. I simply can not 
understand that one should have to allow something as lowlevel as a 
print "thingy" to interact with the desktop. Clearly it can not be a sound 
design?

Regards,

Mads

-- 
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34



More information about the Mono-list mailing list