[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NETPRINTER()
Determines whether the current printer is a local or network printer
------------------------------------------------------------------------------
Syntax
NETPRINTER() --> lServerPrinter
Returns
NETPRINTER() returns .T. when the printer installed using the CA-Clipper
SET PRINTER TO <LPTn> command has been redirected onto a network server.
Description
NETWORK PRINTER
This function allows you to determine if the printer installed using the
CA-Clipper SET PRINTER TO <LPTn> command is local or resides on a
network server.
Note
. This function cannot be used in a Novell network, because
there the redirection occurs on a deeper level (INT 17h). However,
you can use the NNETCAPACT() function in a Novell Network.
Example
Determine whether LPT1 and LPT2 are local or remote:
SET PRINTER TO LPT1
? NETPRINTER() // .F., local printer
SET PRINTER TO LPT2
? NETPRINTER() // .T., network printer
See Also:
NETREDIR()
NNETWORK()
NNETCAPACT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson