3 # "$Id: 5.1-lpadmin.sh 8266 2009-01-19 23:10:15Z mike $"
5 # Test the lpadmin command.
7 # Copyright 2007-2009 by Apple Inc.
8 # Copyright 1997-2005 by Easy Software Products, all rights reserved.
10 # These coded instructions, statements, and computer programs are the
11 # property of Apple Inc. and are protected by Federal copyright
12 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 # which should have been included with this file. If this file is
14 # file is missing or damaged, see the license at "http://www.cups.org/".
17 echo "Add Printer Test"
19 echo " lpadmin -p Test3 -v file:/dev/null -E -m drv:///sample.drv/deskjet.ppd"
20 ../systemv/lpadmin -p Test3 -v file:/dev/null -E -m drv:///sample.drv/deskjet.ppd 2>&1
29 echo "Modify Printer Test"
31 echo " lpadmin -p Test3 -v file:/tmp/Test3 -o PageSize=A4"
32 ../systemv/lpadmin -p Test3 -v file:/tmp/Test3 -o PageSize=A4 2>&1
41 echo "Delete Printer Test"
43 echo " lpadmin -x Test3"
44 ../systemv/lpadmin -x Test3 2>&1
54 # End of "$Id: 5.1-lpadmin.sh 8266 2009-01-19 23:10:15Z mike $".