|
From: Dondolo M. <MDo...@OL...> - 2003-06-23 08:23:57
|
Hi all,
I have been playing around with streams and need the following help.
I am able to print my files to our network printer and also write them to
specific network drives.
How do I write a device in one of my ports...eg, serial port
consider this code as an example.
ofstream create(" \\omcwca054\\HPLJ5000 <file://\\omcwca054\\HPLJ5000> ")
cout<<"The following will be printed to on lazer jet printer";
create<<" Mpho Dondolo\n"
<<" 45 Durban Ridge\n"
<<"Tyger Valley\n";
create.close();
I want to write to my matrix display board that is connected to my serial
port.
NB!!!! Please do not flip if have not supplied sufficient info. ( last i did
that, some guy almost had a heart attack) I am still new at this game
|