home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / rettig.zip / TRSOURCE.EXE / TR_TOF.PRG < prev    next >
Text File  |  1990-10-22  |  433b  |  22 lines

  1. *********
  2. *  Function : TOF
  3. *  By : Ralph Davis
  4. * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
  5. *
  6. *  Tests printer for top of form.
  7. *  Useful for avoiding unnecessary form feeds with REPORT FORM
  8. *  For instance:
  9. *     IF TOF()
  10. *        REPORT FORM NOEJECT TO PRINT
  11. *     ELSE
  12. *        REPORT FORM TO PRINT
  13. *     ENDIF
  14. *********
  15.  
  16. FUNCTION TOF
  17. *
  18. RETURN (PROW() = 0)
  19. * End of function:  TOF
  20.  
  21.