Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>isprinter() - check if printer is online and ready</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     isprinter() - check if printer is online and ready
  Usage:    <logical> = isprinter([<port>])
  Params:   integer <port> - the lpt port number to check, optional,
            If the <port> is left out, then lpt port #1 is assumed
  Returns:  logical .T. if the printer attached to <port> is
            online and ready, .F. if not.

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

                 if (! isprinter(1))
                      @ 0,0 say "Printer not ready!"
                      return
                 endif
                 report form testrepo to print


See Also: islpt() prnstatus() lptset() prnreset()

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