SiteKiosk Documentation
One Step Back

PrinterInfo Object




The PrinterInfo object provides information about a printer.


Members Table

    The following table lists the members provided by the PrinterInfo object.

    Members
    CollectionsDescription
    JobsPrint jobs.
    PropertiesDescription
    AttributesPrinter attributes.
    AveragePPMAverage number of printed pages per minute.
    ChargeForPrintingWhether printing is charged.
    CommentBrief printer description.
    ConfirmJobsWhether jobs must be confirmed.
    DatatypeName of the data type used to record a print job.
    DefaultPriorityDefault priority value assigned to each print job.
    DriverNameName of the printer driver.
    InfoInformation string.
    JobCountNumber of print jobs.
    KeepPrinterPausedOnQuitWhether the pause status is kept when quitting.
    LimitJobCountWhether the number of simultaneous print jobs is limited.
    LimitPageCountWhether the number of pages per print job is limited.
    LocationName of the physical printer location.
    MaxJobsMaximum number of simultaneous print jobs.
    MaxPagesMaximum number of pages per print job.
    ParametersDefault print-processor parameters.
    PortNamePrinter port(s) used to transmit data.
    PricePrice per page.
    PrinterNameName of the printer.
    PrintProcessorName of the used print processor.
    PriorityPriority value used by the spooler to route print jobs.
    SepFileName of the file used to create the separator page.
    ServerNameName of the server controlling the printer.
    ShareNameName of the sharepoint for the printer.
    ShowPrinterInDialogWhether to show the printer in the SiteKiosk print dialog.
    StartTimeEarliest time at which the printer will print a job.
    StatusCurrent printer status.
    UntilTimeLatest time at which the printer will print a job.
    MethodsDescription
    GetJobReturns a print job by ID.
    PrintDocumentPrints a document by text or file path.

Remarks
    This object is available through the collection Printers. Use the PrinterInfo object to receive information about a printer and its print jobs.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example displays the number of print jobs of the first available printer.

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

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

Back to topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam