Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>b_chklpt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_chklpt()


Syntax:     b_chklpt(<expN>)

Purpose:    Check printer status LPT1 - LPT4

Arguments:  <expN> is the printer port

Returns:    A logical value

Library:    MICROSYS.LIB

----------------------------------- Example ----------------------------------

   lpt_port := 1

   if( !b_chklpt(lpt_port) )
      qout("LPT"+ltrim(str(lpt_port))+" off line..  Correct and try again..")
      return(.f.)
   endi

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