xref: /original-bsd/usr.sbin/lpr/lptest/lptest.1 (revision c3e32dec)
1.\" Copyright (c) 1985, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"     @(#)lptest.1	8.1 (Berkeley) 06/06/93
7.\"
8.Dd
9.Dt LPTEST 1
10.Os BSD 4.3
11.Sh NAME
12.Nm lptest
13.Nd generate lineprinter ripple pattern
14.Sh SYNOPSIS
15.Nm lptest
16.Op Ar length
17.Op Ar count
18.Sh DESCRIPTION
19.Nm Lptest
20writes the traditional "ripple test" pattern on standard output.
21In 96 lines,
22this pattern will print all 96 printable
23.Tn ASCII
24characters
25in each position.
26While originally created to test printers, it is quite
27useful for testing terminals,
28driving terminal ports for debugging purposes,
29or any other task where a quick supply of random data is needed.
30.Pp
31The
32.Ar length
33argument specifies the output line length if the the default
34length of 79 is inappropriate.
35.Pp
36The
37.Ar count
38argument specifies the number of output lines to be generated if
39the default count of 200 is inappropriate.
40Note that if
41.Ar count
42is to be specified,
43.Ar length
44must be also be specified.
45.Sh HISTORY
46.Nm Lptest
47appeared in
48.Bx 4.3 .
49