World Library  
Flag as Inappropriate
Email this Article

Page break

Article Id: WHEBN0004437172
Reproduction Date:

Title: Page break  
Author: World Heritage Encyclopedia
Language: English
Subject: ASA carriage control characters, Text editor, Unicode, AkelPad, Pilcrow
Collection: Control Characters
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Page break

A page break is a marker in an electronic document that tells the document interpreter that the content 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. Thus it is one of the elements that contributes to pagination.

Contents

  • Form feed 1
  • See also 2
  • References 3
  • External links 4

Form feed

Form feed is a page-breaking ASCII control character. It forces the printer to eject the current page (paper) 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 (0xC in hexadecimal), and may be represented as control+L or ^L. In a related use, control+L can be used to clear the screen in Unix shells such as bash. In the C programming language (and other languages derived from C), the form feed character is represented as '\f'. Unicode also provides the character U+21A1 downwards two headed arrow to represent form feed.[1]

Form feed is seldom used when programming with modern printers in modern operating environments like Windows, Unix, Linux 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 propertyPrintPageEventArgs.HasMorePages 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 and vi, 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 C and Python source code.

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.[2] 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,[3] as a feature that user agents should (but are not required to) support.

See also

References

  1. ^ "Unicode". Retrieved 2013-05-11. 
  2. ^ Spoilers on newsreaders.com
  3. ^ IETF USEFOR USEAGE Draft

External links

  • CSS page break
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.