Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> psconnumget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PSConNumGet()
------------------------------------------------------------------------------
 Purpose:
 Get the print server connection number.

 Syntax:
 wConNum = PSConNumGet()

 Parameters:
 None.

 Returns:
 A numeric value (unsigned short int).

 Description:
 PSConNumGet() returns the current connection number of the print
 server that the workstation is currently logged into.

 Returns 0 if not logged in to any print server.

 Example:
 T// o login and display the connection number of print server PRINTERS:
 if( PSWSLogin( "PRINTERS" ) > 0 )
    ? "You are now logged into print server PRINTERS "
    ??  "Connection Number", PSConNumGet()
 endif

 Notes:
 It is only possible to be logged in to one print server at a time.

See Also: PSWSLogin() PSWSLogout()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson