Form feed

From Free net encyclopedia

(Redirected from Form Feed)
Image:Mergefrom.gif It has been suggested that Page Break be merged into this article or section. ([[{{{2|: talk:Form_feed}}}|Discuss]])

In computing, form feed is one of control characters in ASCII.  It forces the printer to eject the current page and to continue printing at the top of another.  Form feed is no longer used conventionally and will not work in programming in many or most cases. Conventionality is defined by use of some sort of framework or library used for printing. Also, conventionality can be defined as use of upper level languages in a native environment like windows, linux, or macintosh. Graphic functions which are used in programming for most printing may not recognize the form feed. For example... In C#, event.HasMorePages is used to determine the feed of pages to the printer.

On CRT terminals this character is not used (usually it is made equivalent to line feed).  Theoretically it could be used to clear screen, but this is rarely implemented. Example of implementation include the shell prompt of Bash and Tcsh.

In ASCII, form feed is defined as 12 in decimal and 0C in hexadecimal.

In the C programming language and other C-based languages (such the aforementioned C#), the form feed character may be represented as '\f'. This is also represented similarly in the Java programming language. Also, any character that is defined by \... is also called an escape character.