TotalPages Property



 
The TotalPages property contains the number of pages required for the job.


Syntax

    [long=] SiteKiosk.Printer.Printers.Item(index1).Jobs.Item(index2).
            TotalPages
    
Possible Values
    Long value that retrieves the number of pages.

    The property is read only.
Remarks
    This value may be zero if the print job does not contain page delimiting information.

    See JOB_INFO_2 (MSDN) for further information.
Examples
    The following example displays the number of pages required for the first available print job of the first available printer.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Printer.Printers.Item(1).Jobs.Item(1).TotalPages);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top