IsRollPaperSize

 

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.

 

IsRollPaperSize(pDevMode As Long, dwPaperCode As Integer) As Boolean;

 

Parameters

 

Input value pDevMode:

Pointer to the BlackIceDEVMODE structure of the printer.

 

Input value dwPaperCode:

The Windows paper code of the paper size.

 

Return value

 

TRUE if the specified paper size is a roll paper size, otherwise FALSE.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.