Hello,
in a .NET program I want to print, using a Standard C++ Library object.
I have the following code, assuming the name of the printer is
\\EDV_SERVER\EK-HPLJ5000N_PS
ofstream printStream;
printStream.open("\\\\EDV_SERVER\\EK-HPLJ5000N_PS",ios_base::out);
printStream << "Test Test Test" << ends;
This works fine, but how can I get the name of the printer, defined as
standard in the operating system?
I use W2k.
Michael Geier