SetPaperLength

#include “BIADVPRN.H”

 

BOOL  SetPaperLength(int paperlength, BlackIceDEVMODE* pDevMode);

Description

Sets the dmPaperLength member of the DevMode. (DM.dmPaperLength member of the BlackIceDEVMODE ) This value represents the 'Actual paper length'.

Parameters

LPCTSTR

paperlength

Actual paper length (integer number).

BlackIceDEVMODE*

pDevMode

Pointer to the DEVMODE structure.

Return values

TRUE if the member was successfully set, otherwise FALSE.

Requirements

Header :     Declared in BiAdvPrn.h; include BiAdvPrn.h.

Library :    Use BiAdvPrn.lib.

DLLs :       BiAdvPrn.dll.