i want to print some text through printer in c++. please help me out.. please..
printing through c++. want to use printer to print through c++.
Collapse
X
-
Your OS should have system calls to ship data to the printer. That may mean you need to install the SDK for your OS.
Windows uses calls like TextOut and DrawText. But you need to read up on these before attempting. -
That's not exactly printing from the program plus the program loses it's interface. However, "print text through the printer" is pretty vague so a redirect may be good enough.Comment
Comment