mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 15:16:07 +09:00
Former-commit-id: 80e3f0d13c2dc5bcff0843e509f416e9314cd52e Former-commit-id: e7e35bfd23d70db84f568f0c5388f3a1d89222bc
18 lines
931 B
TeX
18 lines
931 B
TeX
The line printer is a printer that operates on line basis. It only prints text in line-by-line, hence the name, on almost endlessly long roll of papers; it has no notion of page, it just prints. If you want some pages to keep, you must tear them out yourself.
|
|
|
|
Line printers do not work indefinitely; ignoring the obvious depletion of ink, belt for loading paper will be out of service on about 50 000 lines of printing, give or take a few, or paper will jam if the printer had struck with the unluckiness.
|
|
|
|
\subsection{Functions}
|
|
|
|
\begin{tabularx}{\textwidth}{l l X}
|
|
\textbf{\large Function} & \textbf{\large Return} & \textbf{\large Description}
|
|
\\ \\
|
|
\endhead
|
|
lp.print(string) & nil & Prints a line of string.
|
|
\\ \\
|
|
lp.scroll(\textbf{n}: int) & nil & Scrolls the paper by \textbf{n} lines.
|
|
\\ \\
|
|
lp.status() & int & Returns a status of the line printer.
|
|
\\ \\
|
|
lp.reset() & nil & Resets the line printer.
|
|
\end{tabularx} |