I have created a small program that is all about "Banking Systems".
I want my user to print all important data using a printer. How will I do this using C++? I am using the Turbo C++ 4.5 compiler.
If you knew any website that is related to my question, please post its address but if you know the codes, just please write the most-important syntax or semantics that is responsible for printing. I am not encouraging you to write the entire code, just a piece of code or module that is basically the most important code for printing.
Thanks in advance
PS: The first answerer to answer my question correctly will gain 10 points + 5 stars + thumbs-up.
For C++ programmers ONLY?
I think that the proper way of doing that under TurboC++ was to open an output "file" with the name of "LPT1:" or "COM1:" or wherever your printer is attached. You can then use any file output methods like fprintf(...)
If I am remembering too far back for TurboC++ 4.5, then sorry and never mind.
Reply:Thank you very much sir. Sorry that I forgot to reward the best answerer because of my hectic schedule. Unfortunately, I supposed to choose "cod" as the best answerer because the codes work and the site really helps me a lot but your answer is also helpful. Thank you very much and God bless! Report It
Reply:If you work under Windows (and not on DOS) you can print the document through the API
OpenPrinter
StartDocPrint ...
see www.codeproject.com
Reply:http://www.bloggerspedia.com/story.php?t...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment