Valutazione attuale: 0 / 5

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

EJECT

Issue an command to advance the printer to the top of the form
Syntax
EJECT
Argument(s)
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.
Example(s)
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
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
Platform(s)
This is available on all platforms
See also

DevPos(), SET PRINTER, PRow(), PCol()