- Home /
Printing in Unity
Is it possible to print something in Unity (2.6) standalone app (Windows)? I'm using C# so I think if Mono does not allow it then it is not possible. As far as I know the System.Drawing.Printing class is not available. Any suggestions?
2.6? We're all the way up to 3.4 now, what are you doing in such an old client?
Well form many reasons we get stucked to that version. We are working in a big project that started almost two years ago and when we tried to change to the new Unity some incompatibility problems appear so we decided to spend our time on developping ins$$anonymous$$d of fixing problems. Any suggestions to our problem? As far as I know, Unity 3.4 also does not have printing options, isn't it?
Jeje, thanks for your help Ludiares but I was talking about printing in paper or generating a pdf. So the thing is about using printers in Unity.
Poking around online, it looks like you need to install some additional libraries in $$anonymous$$ono before you have access to the System.Drawing functionality. For instance: http://ubuntuforums.org/showthread.php?t=259029
Don't know enough about Unity's $$anonymous$$ono integration to tell you how to link in that library for Unity though :). Hopefully someone else can fill in the gaps.
Answer by The Stick · Jun 12, 2015 at 02:51 PM
You can always use a PDF renderer to put out a "virtual" printout. PdfSharp and sharpPDF are a couple of good ones that I've used. And you should be able to use their DLL's - they're managed plugins, which I'm almost certain that they're okay under Free.
The only downside is you still depend on the user to print the PDF, but it's closer than what you had before!
Your answer
Follow this Question
Related Questions
Producing Windows notifications in Unity 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Choppiness in Unity Editor but not on Build. 1 Answer
"Out of Memory" on Windows Build, Runs perfectly on Mac Build 1 Answer