[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

lptest Command

Purpose

Generates the line printer ripple pattern.

Syntax

lptest [ ;Length Count ]

Description

The lptest command writes the traditional "ripple" test pattern on a standard output device such as a terminal or a printer. In 96 lines, this pattern will print all 96 printable ASCII characters in each position. While originally created to test printers, the ripple pattern is quite useful for testing terminals, driving terminal ports for debug purposes, or any other task where a quick supply of random data is needed.

Using the lptest command, you can specify the output line length if the default length of 79 is not appropriate. You can also specify the number of output lines to be generated if the default Count parameter of 200 is not appropriate. Note that if Count parameter is specified, Length must also be specified.

Examples

To display or print 100 lines of 80-column test output to standard output, enter:

lptest 80 100

Related Information

The cancel command, disable command, enable command, lp command, lpstat command.


[ Previous | Next | Contents | Glossary | Home | Search ]