hi
i am trying the following code to print the message. it is working well in a system having a printer connected through com1.
But is not working in other system that using usb port.
what should i do.
ofstream outfile;
outfile.opne("PRN");
outfile<<"\nThis is test printing";
outfile<<'\x0C';