Home Server

How to retreive on client side a message to check if print server is on

edited August 2003 in Server
For application client how to show a friendly message ?


I have a print server with template on server side if the print server is
not available I would like to inform by a friendly message how to this


Daniel Fagnan

Comments

  • edited August 2003
    Try defining a custom parameter at the Session or Report level. Then use
    ClientReport.GetSessionParameters or GetReportParameters methods to retrieve
    the parameters. On the server side write code that returns a custom
    parameter that indicates whether the print server is available.

    A standard use of custom parameters is to send info from the client to the
    server, but there is nothing to prevent you from sending parameters from the
    server to the client as well.

    For demos of using custom parameters see RBServer\Demos\Clients\Custom
    Parameters and RBServer\Demos\Servers\Custom Parameters. The custom
    parameter feature was introduced in RB 7.02.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.