ArticleslgStudy

computer science

ASA carriage control characters

ASA carriage control characters is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ASA carriage control characters rather than just read about it. In short: 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.

Key takeaways

  • ASA carriage control characters belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ASA carriage control characters to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ASA carriage control characters from memory before moving on to harder problems.

Reference excerpt

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. "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, although they have since been used by other programming languages such as COBOL and PL/I.

Operation

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 Carriage control tape IBM Machine Code Printer Control Characters

References

External links More elaborate description at Felgall Mainframe IBM Corporation. "Carriage Control Characters". IBM Knowledge Center. Archived from the original on December 23, 2016. Retrieved Sep 1, 2016. First-character forms-control data definition [link removed]

Worked examples

Example 1 — a first encounter with ASA carriage control characters

Start with the simplest possible case. Write down what ASA carriage control characters claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ASA carriage control characters before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ASA carriage control characters ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ASA carriage control characters

In research
ASA carriage control characters appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ASA carriage control characters in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ASA carriage control characters is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer printers, Control characters, so understanding it makes those chapters shorter.
In everyday life
Look for ASA carriage control characters outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ASA carriage control characters” →

How to study ASA carriage control characters in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ASA carriage control characters means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ASA carriage control characters out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ASA carriage control characters in simple terms?

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.

Why does ASA carriage control characters matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ASA carriage control characters?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ASA carriage control characters.

Tags

  • Computer printers
  • Control characters

Keep exploring