HOW TO CALL PRINTER TO PRINT SOME TEXT IN C++

HI!..Im planning to make a program that print a reciept but i dont know how to [b]call the printer[/b] to able to print what i want to print..any idea or comment? i need help here. its better if theres an examples..tnx in advance..
closed account (S6k9GNh0)
It's very easy inside of the .NET framework. Other than that, I don't know of any libraries or simple class snippets but I'm sure there are some. Just google around and you might find a couple tutorials.

I think it's also possible to open mount a printer 'drive' and then push a queue on it. But that sounds a bit far fetched >.>.

I think if I really wanted to know the best way, I'd open up a commercial size program like OpenOffice.Org Word and see how they do it. Especially since it's open-source and cross-platform.
Last edited on
Topic archived. No new replies allowed.