Print Queue command line commands
Listing Queues
You can use the serveradmin getQueues command to list Print service queues.
$ sudo serveradmin command print:command = getQueues
Pausing a Queue
You can use the serveradmin setQueueState command to pause or release a queue.
To pause a queue:
$ sudo serveradmin command
print:command = setQueueState
print:state = PAUSED
print:namesArray: arrayindex:0 = queue
Control-D
I also found the serveradmin setQueueState command but there is no documentation on it. I have searched all over Apple's website, I have asked several SEs, and I have also googled it with no luck.
Can anyone help me with tracking down more information on this command and how to make it a cronjob (or whatever 10.4 Server has now)?
Thanks,
Jason F
PowerBook G4 17' 1.33 Mac OS X (10.4.5)
PowerBook G4 17' 1.33 Mac OS X (10.4.5)