![[About]](r:\html\lsrxabout.gif)
![[Toc]](r:\html\lsrxtoc.gif)
0.9b (c) 1995 Peter Childs
The function releases a previously held (paused) print job.
Syntax
MyRc = RxSplReleaseJob(ComputerName, QueueName, JobId)
Parameters
The required parameter values are:
ComputerName Must be either be specified as '' for a local computer or
'\\computername'.
QueueName The name of the queue where the print job resides
JobId The print job Id (numeric value)
Example use
/* Release a print job in a specified printer queue */
if RxFuncQuery('RxSplReleaseJob') <> 0 then do
call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs'
call LoadLsRxutFuncs
end
ComputerName = '\\ILIDC'
QueueName = 'IBM4019L'
JobId = 6
MyRc = RxSplReleaseJob(ComputerName, QueueName, JobId)
if MyRc <> '0' then do
say 'Error from RxSplReleaseJob. RC =' MyRc
exit 9
end
else do
say 'Print job Id' JobId 'is released for printing'
end
exit 0
Inf-HTML End Run - Successful