BIAPStartPrinting

 

Description

This method starts printing document. This method can handle Microsoft Word (docx, doc, dot, docm, dotx, rft), Microsoft Excel (xlsx, xls, xlsm, xlsb, csv), Microsoft Power Point (ppsx, pptx, pps, ppt, ppsm, pptm), Microsoft Visio (vs*, v*x), AutoCAD (dwg) documents, Adobe and Foxit PDF (pdf), HTML (html, htm), Text (txt) and several image formats (tif, tiff, jpg, jpeg, bmp, gif, png). The method starts the proper application (for example Word in case of doc file), and prints the document.  The printing application will not appear on screen.

 

NOTE: You can print only to a Black Ice printer driver.

IMPORTANT: You have to initialize the BiAutoPrint.ocx with BIAPInitialize method before using this method.

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

 

Syntax

RetVal = [BiAutoPrint.]BIAPStartPrinting PrinterName FileName

 

Returns          RetVal Bool                 TRUE on success, otherwise FALSE.

 

Remarks         PrinterName   String               Name of the Black Ice printer to print.

FileName        String               Path and name of the file to print.