- Home /
How i can print a picture or bitmat on the paper?
I want to print a picture or bitmap on the paper.can you hep me????????????? :(
Press print screen and then paste onto another program to print it. If you want to print from your game I suspect you need to call an external API with printing capability. Just google printing API
Answer by Cyb3rManiak · Aug 09, 2010 at 12:39 PM
Unity by itself cannot print.
Try following the tutorial in Printing in C# (or alternatively searching for "printer c#" in your favorite search engine).
The latest version of Mono implements the System.Drawing.Printing namespace completely, but I'm not sure about earlier versions, or the one Unity uses. Just test it out. It's not that complicated and not too much work.
Besides that,
Application.CaptureScreenshot() will get you a screen capture as a PNG file.
Texture2D.EncodeToPNG() will encode a texture to a PNG.
Answer by NetFox · Aug 09, 2010 at 04:14 PM
If you have Windows 7/vista you can use the "snipping tool" that comes with Windows. It works great
Answer by xandeck · Jan 03, 2013 at 07:03 PM
Hello... sorry to ressurrect this... but, anyone found a solution? I really need to use printer too :)
Your answer
Follow this Question
Related Questions
Adding Icon and Text 3 Answers
Load scene with delay 0 Answers
How to save a picture (take screenshot) from a camera in game? 10 Answers
load .png/.jpg from .txt-file 2 Answers