xref: /freebsd/usr.sbin/lpr/lptest/lptest.1 (revision 8a7b61203704d362cfbc66c00619f51b24106b55)
1dea673e9SRodney W. Grimes.\" Copyright (c) 1985, 1990, 1993
2dea673e9SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
3dea673e9SRodney W. Grimes.\"
4dea673e9SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
5dea673e9SRodney W. Grimes.\" modification, are permitted provided that the following conditions
6dea673e9SRodney W. Grimes.\" are met:
7dea673e9SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
8dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
9dea673e9SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
10dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
11dea673e9SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
12*fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
13dea673e9SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
14dea673e9SRodney W. Grimes.\"    without specific prior written permission.
15dea673e9SRodney W. Grimes.\"
16dea673e9SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17dea673e9SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18dea673e9SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19dea673e9SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20dea673e9SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21dea673e9SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22dea673e9SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23dea673e9SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24dea673e9SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25dea673e9SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26dea673e9SRodney W. Grimes.\" SUCH DAMAGE.
27dea673e9SRodney W. Grimes.\"
28dea673e9SRodney W. Grimes.Dd December 30, 1993
29dea673e9SRodney W. Grimes.Dt LPTEST 1
30a4c37c81SRuslan Ermilov.Os
31dea673e9SRodney W. Grimes.Sh NAME
32dea673e9SRodney W. Grimes.Nm lptest
33dea673e9SRodney W. Grimes.Nd generate lineprinter ripple pattern
34dea673e9SRodney W. Grimes.Sh SYNOPSIS
35e97407b4SRuslan Ermilov.Nm
36dea673e9SRodney W. Grimes.Op Ar length
37dea673e9SRodney W. Grimes.Op Ar count
38dea673e9SRodney W. Grimes.Sh DESCRIPTION
397f94b8deSPhilippe CharnierThe
407f94b8deSPhilippe Charnier.Nm
417f94b8deSPhilippe Charnierutility writes the traditional "ripple test" pattern on standard output.
42dea673e9SRodney W. GrimesIn 96 lines,
43dea673e9SRodney W. Grimesthis pattern will print all 96 printable
44dea673e9SRodney W. Grimes.Tn ASCII
45dea673e9SRodney W. Grimescharacters
46dea673e9SRodney W. Grimesin each position.
47dea673e9SRodney W. GrimesWhile originally created to test printers, it is quite
48dea673e9SRodney W. Grimesuseful for testing terminals,
49dea673e9SRodney W. Grimesdriving terminal ports for debugging purposes,
50dea673e9SRodney W. Grimesor any other task where a quick supply of random data is needed.
51dea673e9SRodney W. Grimes.Pp
52dea673e9SRodney W. GrimesThe
53dea673e9SRodney W. Grimes.Ar length
54dea673e9SRodney W. Grimesargument specifies the output line length if the default
55dea673e9SRodney W. Grimeslength of 79 is inappropriate.
56dea673e9SRodney W. Grimes.Pp
57dea673e9SRodney W. GrimesThe
58dea673e9SRodney W. Grimes.Ar count
59dea673e9SRodney W. Grimesargument specifies the number of output lines to be generated if
60dea673e9SRodney W. Grimesthe default count of 200 is inappropriate.
61dea673e9SRodney W. GrimesNote that if
62dea673e9SRodney W. Grimes.Ar count
63dea673e9SRodney W. Grimesis to be specified,
64dea673e9SRodney W. Grimes.Ar length
65dea673e9SRodney W. Grimesmust be also be specified.
66dea673e9SRodney W. Grimes.Sh HISTORY
677f94b8deSPhilippe CharnierA
687f94b8deSPhilippe Charnier.Nm
697f94b8deSPhilippe Charnierutility appeared in
70dea673e9SRodney W. Grimes.Bx 4.3 .
71