
To release the job for printing, change its state to PENDING.
To release the job:
$ sudo serveradmin command
print:command = setJobState
print:status = PENDING
print:namesArray:_array_index:0:printer = queue
print:namesArray:_array_index:0:idsArray:_array_index:0 = jobid
Viewing Print Service Log Files
You can use tail or any other file listing tool to view the contents of the Print service logs.
To view the latest entries in a log:
$ tail
You can use the serveradmin getLogPaths command to see where the current logs are located.
To display the log paths:
$ sudo serveradmin command print:command = getLogPaths
Output
print:logPathsArray:_array_index:0:path =
print:logPathsArray:_array_index:0:name = SYSTEMLOG
print:logPathsArray:_array_index:0:path =
print:logPathsArray:_array_index:0:path =
print:logPathsArray:_array_index:0:path =
print:logPathsArray:_array_index:0:path =
[...]
print:logPathsArray:_array_index:0:path =
print:logPathsArray:_array_index:0:path =
Value | Description |
The location of the primary Print service log. Default = | |
| /Library/Logs/PrintService/ |
| PrintService.server.log |
|
|
The location of the job log for the corresponding queue. Default = | |
| /Library/Logs/PrintService/ |
| |
|
|
The name of the queue. | |
|
|
Chapter 9 Working With Print Service
95