0.9b (c) 1995 Peter Childs
The function holds (pauses) a print job.
Syntax
MyRc = RxSplHoldJob(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
/* Hold a print job in a specified printer queue */ if RxFuncQuery('RxSplHoldJob') <> 0 then do call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs end ComputerName = '\\ILIDC' QueueName = 'IBM4019L' JobId = 2 MyRc = RxSplHoldJob(ComputerName, QueueName, JobId) if MyRc <> '0' then do say 'Error from RxSplHoldJob. RC =' MyRc exit 9 end else do say 'Print job Id' JobId 'is holding' end exit 0
Inf-HTML End Run - Successful