![[About]](r:\html\lsrxabout.gif)
![[Toc]](r:\html\lsrxtoc.gif)
0.9b (c) 1995 Peter Childs
The function holds (pauses) a printer queue.
Syntax
MyRc = RxSplHoldQueue(ComputerName, QueueName)
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
Example use
/* Hold a printer queue on a specified computer */
if RxFuncQuery('RxSplHoldQueue') <> 0 then do
call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs'
call LoadLsRxutFuncs
end
ComputerName = '\\ILIDC'
QueueName = 'IBM4019L'
MyRc = RxSplHoldQueue(ComputerName, QueueName)
if MyRc <> '0' then do
say 'Error from RxSplHoldQueue. RC =' MyRc
exit 9
end
else do
say 'Printer queue' QueueName 'is holding (paused)'
end
exit 0
Inf-HTML End Run - Successful