0.9b (c) 1995 Peter Childs
The function deletes a printer queue.
Syntax
MyRc = RxSplDeleteQueue(ComputerName, PrQName)
Parameters
The parameter values are:
MyRc Return code from the function call
ComputerName The name of the computer on which the Printer Queue exist. Use '' for a local computer
PrQName The printer queue name to delete
Example use
/* Delete printer queue */ if RxFuncQuery('RxSplDeleteQueue') <> 0 then do call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs end ComputerName = '\\ILIDC' PrQName = 'DelPrint' MyRc = RxSplDeleteQueue(ComputerName, PrQName) if MyRc <> '0' then do say 'Error from RxSplDeleteQueue. RC =' MyRc exit 9 end say 'Queue deleted successfully' exit 0
Inf-HTML End Run - Successful