Spread.Sheets Documentation
print Method
GC.Spread.Sheets Namespace > Workbook type : print Method
The sheet index. If the sheet index is ignored, prints all visible sheets.
Prints the specified sheet.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.print(sheetIndex);
function print( 
   sheetIndex : number
) : any;

Parameters

sheetIndex
The sheet index. If the sheet index is ignored, prints all visible sheets.
Example
This example prints the sheet using the browser.
var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3});
var activeSheet = spread.getActiveSheet(); 
activeSheet.suspendPaint();
            //set value
            for (var r = 0, rc = activeSheet.getRowCount() - 5; r < rc; r++) {
                for (var c = 0, cc = activeSheet.getColumnCount() - 5; c < cc; c++) {
                    activeSheet.setValue(r, c, r + c);
                }
            }
activeSheet.resumePaint();

//Add button for printing
$("#button1").click(function () {
spread.print(0);
   });
See Also

Reference

Workbook type