SetTextOutputLineBreak

 

#include “BlackIceDEVMODE.h”

 

BOOL SetTextOutputLineBreak(BlackIceDEVMODE* pBlackIceDevMode, DWORD dwValue)

Description

Sets the line break format used by the Printer Driver’s Text Output.

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

DWORD dwValue   - The line break format to set. One of the values of the TEXTOUTPUT_LINEBREAK enum:

 

TEXTOUTPUT_LINEBREAK_CRLF,    = 1   // Used on Windows systems

TEXTOUTPUT_LINEBREAK_LF,      = 2   // Used on Mac OS X and Unix systems

TEXTOUTPUT_LINEBREAK_CR       = 3   // Used on Mac OS 9 or older systems

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None