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> prnformnameget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PrnFormNameGet()
------------------------------------------------------------------------------
 Purpose:
 Get the name of the form currently mounted on a printer.

 Syntax:
 lpszFormName = PrnFormNameGet( wPtrNum )

 Parameters:
 wPtrNum The printer number.

 Returns:
 A character string of length 15.

 The CA-Clipper name for this function is:
 PrnGetFmNme()

 Description:
 PrnFormNameGet() returns the form name of the form currently mounted on
 the specified printer wPtrNum on the current print server.

 Returns an empty string if an error occurs.

 Example:
 // To log in to print server PRINTERS and display the name of the form
 // currently mounted on printer 0:
 if( PSWSLogin ( "PRINTERS" ) > 0 )
    ? "The name of the currently mounted form on printer 0 is"
    ?? PrnFormNameGet( 0 )
 endif

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

See Also: PSWSLogin() PJbNumberGet() PrnFormNumberGet() / PrnFormNumberSet()

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