]>
git.ipfire.org Git - thirdparty/cups.git/blob - test/5.6-lpr.sh
3 # "$Id: 5.6-lpr.sh 4494 2005-02-18 02:18:11Z mike $"
5 # Test the lpr command.
7 # Copyright 1997-2005 by Easy Software Products, all rights reserved.
9 # These coded instructions, statements, and computer programs are the
10 # property of Easy Software Products and are protected by Federal
11 # copyright law. Distribution and use rights are outlined in the file
12 # "LICENSE.txt" which should have been included with this file. If this
13 # file is missing or damaged please contact Easy Software Products
16 # Attn: CUPS Licensing Information
17 # Easy Software Products
18 # 44141 Airport View Drive, Suite 204
19 # Hollywood, Maryland 20636 USA
21 # Voice: (301) 373-9600
22 # EMail: cups-info@cups.org
23 # WWW: http://www.cups.org
26 echo "LPR Default Test"
28 echo " lpr testfile.jpg"
29 ..
/berkeley
/lpr testfile.jpg
2>&1
38 echo "LPR Destination Test"
40 echo " lpr -P Test1 testfile.jpg"
41 ..
/berkeley
/lpr
-P Test1 testfile.jpg
2>&1
52 echo " lpr -P Test1 testfile.jpg ($1 times in parallel)"
54 while test $i -lt $1; do
55 echo " flood copy $i..." 1>&2
56 ..
/berkeley
/lpr
-P Test1 testfile.jpg
2>&1 &
70 # End of "$Id: 5.6-lpr.sh 4494 2005-02-18 02:18:11Z mike $".