|
|
#1 |
|
Triple-A Player
Join Date: Jul 2008
Posts: 72
|
printer fix script
I'm looking for help creating a (Bash) script to fix printing problems.
Mom has an old iBook running 10.3.9 and a printer. Once in a while, the printer has a problem and she keeps hitting print over and over again. So I had to talk her through opening the printer spool icon and deleting all the print jobs. Having a script that I could talk her into running that would delete everything in the spool folder for the printer to help fix a printing problem. Any info you can provide to help build this script would be appreciated. |
|
|
|
|
|
#2 |
|
MVP
Join Date: Jun 2007
Location: Skellefteċ, Sweden
Posts: 1,173
|
#! /bin/bash
cancel -u "$USER"
__________________
/Bengt-Arne Fjellner IT-Administrator Luleċ university, Sweden. Some say: "You learn as long as you live". My way: "You live as long as you learn". |
|
|
|
|
|
#3 |
|
Triple-A Player
Join Date: Jul 2008
Posts: 72
|
Thanks! That was easy! I was expecting something to go into the proper directory and delete files or something.
I almost hate to be greedy and ask if there is a simple command to clear completed jobs from the print queue. Thank you. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|