ASA carriage control characters

Last updated

ASA control characters are simple printing command characters used to control the movement of paper through line printers. These commands are presented as special characters in the first column of each text line to be printed, and affect how the paper is advanced before the line is printed. The remainder of the line is printed starting in the first printable position.

Contents

"ASA" is the abbreviation of the American Standards Association, a former name for the American National Standards Institute (ANSI), which has standardized these control characters in ANSI X3.78-1981(R1992) representation of vertical carriage positioning characters in information interchange. These are also called "FORTRAN control characters" because they first appeared in versions of FORTRAN II in the early 1960s, [1] although they have since been used by other programming languages such as COBOL and PL/I.

Operation

ASA CharacterAction ASCII Equivalent
blank Advance 1 line before printing (single spacing)CR LF
1Advance to next page before printing (form feed) CR FF
2–9, A, B, CAdvance to vertical tab stop or carriage control tape channelCR VT (approximately)
0Advance 2 lines before printing (double spacing)CR LF LF
-Advance 3 lines (triple spacing)CR LF LF LF
+Do not advance any lines before printing,
overstrike previous line with current line
CR

Overstriking can be used to make boldface text by printing the same line twice without advancing the paper. It can also be used to make underlined text by printing a line containing underscore characters in the print positions occupied by the text to be underscored.

Mainframe printers originally had a carriage control tape, with 12 channels (1–9, A, B, C) that can be assigned a fixed position on the page by punching a hole, allowing the printer to skip a variable distance down the page to a fixed location. Later printers such as the IBM 3211 and IBM 4248 did away with the physical carriage control tape and used an electronic Forms Control Buffer (FCB) instead.

ASA carriage control characters are still used for printer output from mainframe applications and software today. They are interpreted by drivers and other software before being printed on modern printers.

Example output containing ASA carriage control characters:

1This is the first line on the page 0This is the third line on the page -This is the 6th line on the page  This is the 7th line on the page +____    the                      - Overstrike and boldface the 7th line 

Example as printed output:

This is the first line on the page  This is the third line on the page   This is the 6th line on the page This is the 7th line on the page - Overstrike and boldface the 7th line

See also

Related Research Articles

ASCII American character encoding standard

ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters.

Printer (computing) Computer peripheral that prints text or graphics

In computing, a printer is a peripheral machine which makes a persistent representation of graphics or text, usually on paper. While most output is human-readable, bar code printers are an example of an expanded use for printers. The different types of printers include 3D printer, inkjet printer, laser printer, thermal printer, etc.

In computing and telecommunication, a control character or non-printing character (NPC) is a code point in a character set, that does not represent a written symbol. They are used as in-band signaling to cause effects other than the addition of a symbol to the text. All other characters are mainly printing, printable, or graphic characters, except perhaps for the "space" character.

Line printer Impact printer that prints one entire line of text at a time

A line printer prints one entire line of text before advancing to another line. Most early line printers were impact printers.

Daisy wheel printing impact printing technology

Daisy wheel printing is an impact printing technology invented in 1970 by Dr Andrew Gabor at Diablo Data Systems. It uses interchangeable pre-formed type elements, each with typically 96 glyphs, to generate high-quality output comparable to premium typewriters such as the IBM Selectric, but two to three times faster. Daisy wheel printing was used in electronic typewriters, word processors and computers from 1972. The daisy wheel is considered to be so named because of its resemblance to the daisy flower.

IBM 1620 IBM scientific computer released in 1959

The IBM 1620 was announced by IBM on October 21, 1959, and marketed as an inexpensive "scientific computer". After a total production of about two thousand machines, it was withdrawn on November 19, 1970. Modified versions of the 1620 were used as the CPU of the IBM 1710 and IBM 1720 Industrial Process Control Systems.

IBM 1401 1960s decimal computer

The IBM 1401 is a variable-wordlength decimal computer that was announced by IBM on October 5, 1959. The first member of the highly successful IBM 1400 series, it was aimed at replacing unit record equipment for processing data stored on punched cards and at providing peripheral services for larger computers. The 1401 is considered to be the Model-T Ford of the computer industry, because it was mass-produced and because of its sales volume. Over 12,000 units were produced and many were leased or resold after they were replaced with newer technology. The 1401 was withdrawn on February 8, 1971.

A carriage return, sometimes known as a cartridge return and often shortened to CR, <CR> or return, is a control character or mechanism used to reset a device's position to the beginning of a line of text. It is closely associated with the line feed and newline concepts, although it can be considered separately in its own right.

Newline Special characters in computing signifying the end of a line of text

Newline is a control character or sequence of control characters in a character encoding specification that is used to signify the end of a line of text and the start of a new one, e.g., Line Feed (LF) in Unix. Some text editors set this special character when pressing the ↵ Enter key.

IBM 1403 High speed line printer, introduced in 1959 and used into the 1970s

The IBM 1403 line printer was introduced as part of the IBM 1401 computer in 1959 and had an especially long life in the IBM product line. The original model could print 600 lines of text per minute and could skip blank lines at up to 75 inches per second (190 cm/s), while the model 3 could print at up to 1400 lines per minute. The standard model had 120 print positions. An additional 12 positions were available as an option. A print chain with up to 15 copies of the character set spun horizontally in front of the ribbon and paper. Hammers struck the paper from behind at exactly the right moment to print a character as it went by. In later models, the print chain was replaced by a print train; print slugs instead of being mounted on a chain were placed in a track.

Friden Flexowriter Teleprinter

The Friden Flexowriter was a teleprinter, a heavy-duty electric typewriter capable of being driven not only by a human typing, but also automatically by several methods, including direct attachment to a computer and by use of paper tape.

IBM 1132 Line printer, part of the IBM 1130 computer system

The IBM 1132 line printer was the normal printer for the IBM 1130 computer system. It printed 120 character lines at 80 lines per minute. The character set consisted of numbers, upper-case letters and some special characters.

Dot matrix printer

A dot matrix printer is an impact printer that prints using a fixed number of pins or wires. Typically the pins or wires are arranged in one or several vertical columns. The pins strike an ink-coated ribbon and force contact between the ribbon and the paper, so that each pin makes a small dot on the paper. The combination of these dots forms a dot matrix image. They were also known as serial dot matrix printers.

A letter-quality printer was a form of computer impact printer that was able to print with the quality typically expected from a business typewriter such as an IBM Selectric.

CPT Corporation was founded in 1971 by Dean Scheff in Minneapolis, Minnesota, with co-founders James Wienhold and Richard Eichhorn. CPT first designed, manufactured, and marketed the CPT 4200, a dual-cassette-tape machine that controlled a modified IBM Selectric typewriter to support text editing and word processing.

IBM Selectric typewriter Line of electric typewriters by IBM

The IBM Selectric typewriter was a highly successful line of electric typewriters introduced by IBM on 31 July 1961.

Carriage control tape Loop of punched tape used to synchronize fast vertical page motion in line printers

A carriage control tape was a loop of punched tape that was used to synchronize rapid vertical page movement in most IBM and many other line printers from unit record days through the 1980's.. The tape loop was as long as the length of a single page. A pin wheel moved the tape accurately using holes in the center of the tape. A hole punched in one of the other channels represented a particular position on the page. Channel one was typically used to indicate the top of the page and might be the only channel used. Another channel might indicate the summary line on an invoice, enabling rapid skipping to that line. IBM provides a special manual punch that allowed accurate placement of the channel punches. Skipping occurred under computer control, but a form feed switch on the printer control panel allowed a manual skip to the top of the page. The tapes could be easily changed when new, continuously fed forms were loaded into the printer.

Early mainframe printers were usually line printers. Line printers provide a limited set of commands to control how the paper is advanced when print lines are printed. The application writing reports, list, etc. to be printed has to include those commands in the print data. These single character print commands are called printer control characters.

The IBM 1443 Printer is an obsolete computer line printer used in the punched card era. It was offered in two models: Model 1 and Model 2; the latter could print up to 240 lines per minute (LPM) with a full character set.

References

  1. IBM Corporation (1964). Fortran Specifications and Operating Procedures IBM 1401 (PDF). p. 18. Retrieved August 18, 2016.