xref: /original-bsd/usr.sbin/lpr/lptest/lptest.1 (revision d11ff5ba)
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.5 (Berkeley) 07/24/90
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 ASCII characters
23in each position.
24While originally created to test printers, it is quite
25useful for testing terminals,
26driving terminal ports for debugging purposes,
27or any other task where a quick supply of random data is needed.
28.Pp
29The
30.Ar length
31argument specifies the output line length if the the default
32length of 79 is inappropriate.
33.Pp
34The
35.Ar count
36argument specifies the number of output lines to be generated if
37the default count of 200 is inappropriate.
38Note that if
39.Ar count
40is to be specified,
41.Ar length
42must be also be specified.
43.Sh HISTORY
44.Nm Lptest
45appeared in 4.3 BSD.
46