http://www2.oakland.edu/biology/lindemann/model%20c.txt
can u get from that code how printing is done?thx
Printable View
http://www2.oakland.edu/biology/lindemann/model%20c.txt
can u get from that code how printing is done?thx
Printing pictures is absolutely not trivial. In a Linux/Unix world, you'd probably be best off trying to form the image as a PostScript document first, then use the standard printing processing. Of course, that's probably a few hundred lines of code at the very least, quite likely more into the early thousands.
The simplest way to print something in Linux would be to load it into an existing application and use it's print function - it allready has the code to do that.
--
Mats
No, he's not - nor is anyone else - going to write it for you. He just said it's a very complicated process. What makes you think people have time to dedicate to spoon feeding you a program?
At the very least you have to a) find a library that provides this functionality, and b) link with that library and use it in your program. And no, I'm not going to post an example.
you go to helll you idiot, this is tough work i need to achieve..
lpr -Pcl203h test.txt
printer name cl203h filename test.txt ...file test.txt is printed..is this all what i need?
you stay out you fool named medievalks
What that attitude you're not going to get any help.
I am sorry, but you know how working in thuis is tough. i apologise
But that does not involve C++ programing? Does it?
i can use c++ or c ..doesnt matter
Have you tried google? Somtimes trival problems are broken down and explained on websites.
I meant, that you just used an existing program lpr.
While you were asking for, how to do it using C++.
Now if you want it C++ way, you can use system() function.
I hope Google will tell you more.
well tell me the library that uses this..then let everything else on me ........ sakes
Bravo, medievalelks, bravo.
heck with schools