Print

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Grid control > Methods >

Print


 

Print the grid.

 


syntax

Print(

         [title]

         [,printerName]

         [,paperType]

         [,orientation]

         [,docName]

         [,footer]

         [,width]

         [,height]

         [,currentPage]

         [,waitTime = 0]

         )

 


Parameters

 

title


Type:

character


Title. It will be printed in the header when printing. If you include the character "[PAGE]", the page number will be inserted into the text.

 

printerName


Type:

character


Printer name. If not specified, the default printer will be selected. To specify a printer on the network, use the following:

"\\Node\PrinterName"

 

paperType


Type:

character


Paper type, supports the following: If not specified, the default paper specified by the default printer will be selected.

A3 / A4 / A4Small / A5 / B4 / B5 / Letter / LetterSmall / Tabloid / Ledger / Legal / Statement / Executive / Folio / Quarto / 10X14 / 11X17 / Note

 

orientation


Type:

character


Paper orientation. If not specified, the page will be printed in the default orientation specified by your default printer.

"portrait" - portrait orientation.

"landscape" - landscape.

 

docName


Type:

character


If the printer is Adobe Acrobat and you want to specify a file name, specify the file name in docName. If not specified, "image" will be used. If you include the characters "[PAGE]", the page number will be inserted in the file name.

 

footer


Type:

character


Footer. It will be printed in the footer when printing. If you include the character "[PAGE]", the page number will be inserted into the text.

 

width


Type:

Number


Page width. If -1, it will auto-size.

 

height


Type:

Number


The page height. If set to -1, it will be automatically adjusted.

 

currentPage


Type:

Boolean


TRUE-Print the currently displayed page

FALSE-Print all pages.

 

waitTime


Type:

Number


Print wait time for each page when printing multiple pages.

 


hmtoggle_plus1        Explanation

 


reference