BIAPStartPrinting

#include "BiAutoPrint.h"

 

BOOL BIAPStartPrinting(LPCSTR pPrinter, LPCSTR pFileName);

 

Description

The BIAPStartPrinting function will print a document through the Black Ice printer driver. The function prints through the application assigned to the file format (for example: .DOC or .DOCX is printed with MS Word). The printing application will not appear on screen. The BIAPStartPrinting function uses the printer driver configuration to convert the document.

Note: The BIAPEndPrinting must be called after every document is printed.

 

Parameters

Input value: pPrinter               - Name of the Black Ice printer to print (string).

Input value: pFileName          - Path and name of the file to print (string).

 

Return values

TRUE on success, otherwise FALSE.

 

Programming notes

You can print only to a Black Ice printer using this function.

 

Requirements

The BIAPInitialize function must be called before using this function.
To close printing of the document the BIAPEndPrinting must be called.

 

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)