[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION P_READY()
Short:
------
P_READY() Determines if printer is ready, prompts user
Returns:
--------
<lReady> => True if printer is ready
Syntax:
-------
P_READY([cPort])
Description:
------------
Checks for printer ready, and prompts user to ready
the printer until it is ready, or until user presses escape to
abort printing.
P_READY() first looks at SLS_PRNC(), and if the
value is .f., does no printer check and returns .t.
[cPort] - LPT1 LPT2 LPT3
Default is LPT1
Examples:
---------
if P_READY("LPT2")
REPORT FORM yayaya TO PRINT
ENDIF
Notes:
-------
To stop P_READY() from checking the printer port (as
it is imbedded in many SuperLib functions), call SLS_PRNC() with
False. This turns printer checking off. (i.e. on a network)
Source:
-------
S_PREAD.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson