Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

EJECT

Issue an command to advance the printer to the top of the form
---------------------------------------------------------------------------------

 Syntax

        EJECT  

 Arguments

        None    

 Description

      This command issue an form-feed command to the printer.If the printer
      is not properly hooked up to the computer,an error will not be
      generated and the command will be ignored.

      Once completed,the values of PROW() and PCOL(),the row and column
      indicators to the printer,will be set to 0.Their values,however,may
      be manipulated before or after ussuing an EJECT by using the
      DEVPOS()  function.

      On compile time this command is translated into __EJECT() function.

 Examples

      Use Clientes New
      Set Device to Printer
      CurPos:=0
      While !Eof()
      ? Clientes->nome,Clientes->endereco
      Curpos++
      if Curpos >59
          Curpos:=0
          Eject
      Endif
      Enddo
      Set Device to Screen
      Use

 Tests

      See examples

Status

      Ready

 Compliance

      This command is Ca-Clipper compliant

 Platforms

      All



See Also: DEVPOS() SET PRINTER PROW() PCOL()

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