BIAPSetPageRange

 

#include "BiAutoPrint.h"

 

BOOL BIAPSetPageRange(LPCTSTR szPrinterName, LPTSTR szRange);

 

Description

This function sets the page ranges to print. The ranges are specified as a string containing page numbers and/or page ranges separated by commas counting from the start of the document. For example, “1,2,5-12”. Empty string means all pages are printed. This function is supported by Black Ice Printer Drivers version 15.80 and above.

 

Parameters

Input value: szPrinterName

- Printer Name (string).

Input value: szRange

- Page ranges (string).

 

 

Return value

TRUE on success, otherwise FALSE.

 

Requirements

Header:

BiAutoPrint.h

Library:

BiAutoPrint32.lib (for 32 bit)

BiAutoPrint64.lib (for 64 bit)

DLL:

BiAutoPrint32.dll (for 32 bit)

BiAutoPrint64.dll (for 64 bit)

 

This function is supported by Black Ice Printer Drivers version 15.80 and above.