IntPtr pBytes;
Int32 dwCount;
dwCount = szString.Length;
pBytes = Marshal.StringToCoTaskMemAnsi(szString);
string yang = Marshal.PtrToStringAnsi(pBytes);
........
WritePrinter(hPrinter, pBytes, dwCount, ref dwWritten);
I want to know why I can't print Chinese used this method. I can only print
the ASCII of these Chinese.
Thanks!