Page break

Page break

A page break is a marker in an electronic document, which tells the document interpreter that the contents which follows is part of a new page. A page break causes a form feed to be sent to the printer during spooling of the document to the printer.

Form feed

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. Often, it will also cause a carriage return. The form feed character code is defined as 12 in decimal (0xC in hexadecimal). In the C programming language (and other languages derived from C), the form feed character may be represented as 'f'

Form feed is seldom used when programming with modern printers in modern operating environments like Windows, Unix, or Mac OS. Instead, form feeds are generated by having the printing program call a form feed API function. For example, when printing using the .NET Framework, the PrintPageEventArgs.HasMorePages property is used to indicate a form feed is desired.

The form feed character is sometimes used in plain text files of source code as a delimiter for a page break, or as marker for sections of code. Some editors, in particular emacs, have built-in commands to page up/down on the form feed character. This convention is predominantly used in lisp code, and is also seen in Python source code.

In in many terminal programs such as Xterm and Konsole, and in a Linux text console, generating the form feed character by pressing control-L will clear the screen, leaving a new prompt at the top.

In Usenet, the form feed character is used by several newsreaders as a "spoiler character", causing them to automatically hide the following text until prompted, as a way to prevent spoilers from being inadvertently revealed [ [http://www.newsreaders.com/spoilers/spoilers.html Spoilers on newsreaders.com] ] . The precise behavior depends on the client displaying the article: for example, Gnus displays "Next page..." in boldface, and switches to a second screen to display text after the form feed; slrn displays all non-space characters following the form feed as asterisks; Dialog turns the font and background color red between form feeds; and XRN simply inserts blank lines to fill up the remainder of the article display area so the user must scroll down to reveal the spoiler. This use of the form feed character is not supported by all newsreaders, and is not standardized, although it has appeared in a draft of a Usenet Best Practices document by the IETF's USEFOR working group [ [http://www.tools.ietf.org/html/draft-ietf-usefor-useage-01 IETF USEFOR USEAGE Draft] ] , as a feature that user agents should (but are not required to) support.

References

ee also

*Hard return
*Line feed

External links

* [http://www.javascriptkit.com/dhtmltutors/pagebreak.shtml CSS page break]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • page break — ˈpage break held at its own POE as there is no corresponding sense of break; x ref from break added noun [countable] COMPUTING 1. the place in a document on a computer screen where one page ends and a new page begins, for example when you are… …   Financial and business terms

  • page break — UK US noun [countable] [singular page break plural page breaks] computing the place in a computer document where one page ends and another one begins Thesaurus: computer files and documents and collections of com …   Useful english dictionary

  • Page Break —   [engl.], Seitenumbruch …   Universal-Lexikon

  • page break — UK / US noun [countable] Word forms page break : singular page break plural page breaks computing the place in a computer document where one page ends and another one begins …   English dictionary

  • page break — puslapių skirtukas statusas T sritis informatika apibrėžtis Renkamo teksto ↑puslapius skiriantis ženklas arba ženklų grupė, priklausanti nuo teksto rengyklės. Į tekstą įterpiamas, kai reikia pradėti naują puslapį. Raiškiojo teksto rengyklės… …   Enciklopedinis kompiuterijos žodynas

  • page break — mark in a word processor program which indicates the beginning of a new page …   English contemporary dictionary

  • soft page break — page break which is determined automatically by a program and can be changed without a user command …   English contemporary dictionary

  • Page break — Разрыв страницы …   Краткий толковый словарь по полиграфии

  • insert page break — pradėti naują puslapį statusas T sritis informatika apibrėžtis Komanda naujam ↑puslapiui pradėti. Į žymeklio rodomą vietą įterpiamas ↑puslapių skirtukas. Nuo tos vietos renkamas tekstas pateks jau į kitą puslapį. Tačiau po juo tame pačiame… …   Enciklopedinis kompiuterijos žodynas

  • hard page break — instruction to a word processor to begin a new page even though it is not necessary …   English contemporary dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”