Iv looked everywhere and I cant find any txts on how to print documents using c++. I use borland but the help files are useless
can anyone help me??
Iv looked everywhere and I cant find any txts on how to print documents using c++. I use borland but the help files are useless
can anyone help me??
Well, if your printer is all ready to go and happy you could probably do something like this:
Code:sprintf(stdprn, "%s", string);
Or, in C++:
ofstream fout("LPT1");//LPT1 is the normal printer port
cin>>infotobeprinted;
fout<<infotobeprinted;