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

Reply via email to