#include “BlackIceDEVMODE.h”
DWORD GetTextOutputEncoding(BlackIceDEVMODE* pBlackIceDevMode)
Description
Returns the currently selected encoding for the Printer Driver’s Text Output.
Parameters
Input value - pointer to the BlackIceDEVMODE structure
Return value
One of the values of the TEXTOUTPUT_CHARSET enum:
TEXTOUTPUT_CHARSET_ANSI = 0, // Default ANSI codepage (default)
TEXTOUTPUT_CHARSET_UTF8 = 1, // Unicode, UTF-8
TEXTOUTPUT_CHARSET_UTF16LE = 2, // Unicode, UTF-16 Little Endian
TEXTOUTPUT_CHARSET_UTF16BE = 3 // Unicode, UTF-16 Big Endian
Programming Notes
Unicode text output files will start with a byte-order mark.
Code Example
None