Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - eject send a cr/ff to the print device http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 eject               Send a CR/FF to the print device
------------------------------------------------------------------------------
 Syntax
   eject

 Arguments
   None.

 Description
   The eject command sends a carriage return (CR = ASCII 13) and a form feed
   (FF = ASCII 12) to the default print device or to the device specified by
   the set printer to command.

   eject resets the prow() and pcol() return values to 0. The CR/FF character
   are sent directly to the print device.

   Although the print device is part of the same I/O system like the ?
   command, eject does not echo the CR/FF characters to the screen.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_eject
   // Eject a page when user turns on printer to prepare for a report.
   repeat
      ? "Turn on printer..."
      wait
   until pready()
   eject
   endproc

   proc main
   Test_eject()
   endproc

See Also: set printer to

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