Hi all..I need urgent help please because I am going to hav my computer science practicals tomorow and i hav to submit my project tomorrow. I hav made a small graphics program. In the program a person chooses any video cassettewhich he wants to buy and after he chooses the video he wants, then the program will display the bill using graphics. I need help after this . I need to Print the bill which is displayed in the screen. CAn anyone tell me how to print it. Please give the coding for it.

Any help will be kindly appreaciated.

Thank You.

First you have to include the standard header for students such as yourself:

#include <Imalazybastard>

Then you need to call the following function:

do_everything_I_want_by_reading_my_mind();

That should get you started. :)

You want to print this bill on a printer or on disk? On which OS? Are you using MFC, which has extensive printer support built in? Is you app a windowing app or a console app (I assume a windowing app because you're using graphics, but you didn't specify)

So, there's lots for us to know before we can help.

Use your favourite search engine with the query "how to as questions".
One of the first pages listed will be: http://www.catb.org/~esr/faqs/smart-questions.html which explains very well how to ask questions and why questions asked like yours won't get you the answer you're screaming for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.