System.Drawing.Printing.PrintDocument has not been implemented yet.

GnomePrint is the way to go if on Linux if you use Gnome as your desktop.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Willeke
Sent: Monday, January 03, 2005 11:27 PM
To: [email protected]
Subject: Re: [Mono-list] Portable way to print


IMHO, the suggestions here are quite complicated for basic printing 
needs. Additionally, some of the suggestions are really not printing 
solutions at all, but seem to just produce printable documents such as PDF.

Does System.Drawing.Printing.PrintDocument not work in mono? Why 
couldn't one create code like that mentioned in the MSDN docs for 
PrintDocument below?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdrawingprintingprintdocumentclasstopic.asp

Thanks,

-scott

Sergio Duran wrote:

>Hi everybody,
>
>I'm looking for a way to send some text to a printer, I'm need 
>portability since my program will be running on windows and linux, I 
>now I cannot use FileStream("LPT1") on windows, and I've been reading 
>about some ways using P/Invoke kernel32.dll  and CreateFile(), what's 
>the best solution for this? (I dont need spoolers, I'll be sending the 
>text to the printer directly)
>
>I'm currently coding in Visual Studio 2003, and the code compiles and 
>runs perfectly under mono. 
>_______________________________________________
>Mono-list maillist  -  [email protected] 
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>  
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to