ANPA-1312

ANPA-1312 is a 7-bit text markup specification for news agency use. It standardizes the content and structure of text news articles. It was created by (and named after) the former American Newspaper Publishers Association (ANPA) (1887–1992), one of the predecessors of the News Media Alliance, a trade association of American newspapers.

The specification was last modified in 1989 and as of the 2010s was still a common method of transmitting news to newspapers, websites and broadcasters from news agencies in North and South America. Although the specification provides for 1200 bit-per-second transmission speeds, modern transmission technology removes any speed limitations.

Using fixed metadata fields and a series of control and other special characters, ANPA-1312 was designed to feed text stories to both teleprinters and computer-based news editing systems.

Although the specification was based upon the 7-bit ASCII character set, some characters were declared to be replaced by traditional newspaper characters, e.g. small fractions and typesetting code. As such, it was a bridge between older typesetting methods, newspaper traditions and newer technology.

Perhaps the best known part of ANPA-1312 was the category code system, which allowed articles to be categorized by a single letter. For example, sports articles were assigned category S, and articles about politics were assigned P. Many newspapers found the system convenient and sorted both incoming news agency and staff articles by ANPA-1312 categories.

Although ANPA-1312 was superseded in the early 1990s by IPTC Information Interchange Model and later by the XML-based News Industry Text Format, its popularity in North America remained strong due, in part, to its widespread support by The Associated Press and the reluctance of newspapers to invest in new computers or software modifications. The Associated Press retired ANPA as a delivery option in 2023.

A modified version &mdash; but with the same name &mdash; was implemented by several news agencies after the vendor of some early computer systems modified the specification for its own purposes.

An international standard, IPTC 7901, is widely used in Europe and is closely related to ANPA-1312.

C0 control codes
The ASCII control characters were modified/replaced in this format.