xref: /original-bsd/usr.sbin/lpr/lptest/lptest.1 (revision fa348642)
1.\" Copyright (c) 1985, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)lptest.1	6.6 (Berkeley) 03/14/91
7.\"
8.Vx
9.Vx
10.Dd
11.Dt LPTEST 1
12.Os BSD 4.3
13.Sh NAME
14.Nm lptest
15.Nd generate lineprinter ripple pattern
16.Sh SYNOPSIS
17.Nm lptest
18.Op Ar length
19.Op Ar count
20.Sh DESCRIPTION
21.Nm Lptest
22writes the traditional "ripple test" pattern on standard output.
23In 96 lines,
24this pattern will print all 96 printable ASCII characters
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 4.3 BSD.
48