#include “BlackIceDEVMODE.h”
BOOL IsRollPaperSize(BlackIceDEVMODE* pDevMode, DWORD dwPaperCode);
Description
Returns whether the specified paper size is a roll paper size. For roll paper sizes, the Printer Driver automatically cuts off the empty space below the printed page content. The dwHeight parameter will specify the maximum height of the page.
Parameters
BlackIceDEVMODE* pDevMode:
Pointer to the BlackIceDEVMODE structure of the printer.
DWORD dwPaperCode:
The Windows paper code of the paper size.
Return value
TRUE if the specified paper size is a roll paper size, otherwise FALSE.