Sending data from Unity to Printer

Hi,

I haven’t been able to find any information regarding sending information to a printer.

We are creating an application in which we would need to print a screen and a bunch of information in a printer, after the client interacts with a 3D model.

Is there any way to cennect directly with a printer or which would be the best way to do it?

Thank you for your help.

Z.

I had to do similar thing for my game, after game is over, it prints out stats such as scores and stuff. What I ended up doing is wrote an executble from C# using .Net to execute print. When it’s done, I use unity to call the executble, of course you would pass in parameters such as printing pictures, or string(where string can be any true type font) and the position on the page and so on.

Now if you want screen shot it would be more complicated, because then you would have to actually have a way capture screen shot in real time, and store it and send to printer’s .exe before printing.

Now remember, this will only work with your standalone, since you can actually put your printer .exe file inside the build version of your actual project, and run the printer .exe in the background. You can’t do that with web application and so on.

Thank you. :slight_smile:
That was really helpful.
I will explore a bit more following your guidelines.

Regards,

Z.

Hey …I got this on YouTube . Hope it will help you.