5.INSTALLING PRINTER DRIVERS FOR UNIX/Linux
Deleting a Print Queue Manually
You can also configure the print queue by deleting a print queue manually.
The procedure varies depending on the operating systems.
P.109 "Deleting a print queue manually on Solaris"
P.109 "Deleting a print queue manually on HP-UX"
P.110 "Deleting a print queue manually on IBM AIX"
P.110 "Deleting a print queue manually on Linux"
Deleting a print queue manually on Solaris
Log on to the root account.
1
Enter the following command:
2
lpadmin -x <queue name>
Enter the following command:
3
rm /etc/lp/interfaces/<queue name>.conf
Deleting a print queue manually on HP-UX
Log on to the root account.
1
2
Enter the following command:
ps -ef | grep lpsched | grep -iv grep > /dev/null 2>&1
3
Enter the following command:
echo $?
If "0" outputted on the screen, turn the scheduler OFF. Enter the following command:
4
/usr/sbin/lpshut > /dev/null 2>&1
Enter the following command:
5
/usr/sbin/lpadmin -x<queue name>
Enter the following command:
6
rm /etc/lp/interface/<queue name>.conf
If "0" was outputted on the screen in step 4, turn the scheduler ON. Enter the following
7
command:
/usr/sbin/lpsched > /dev/null 2>&1
Setting Up the UNIX/Linux Filters 109