can u get from that code how printing is done?thx
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.
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
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.
Last edited by medievalelks; 05-28-2008 at 07:16 AM.
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
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.
Double Helix STL
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