IBM OS/2 LAN Server REXX Utility DLL


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


RxSplReleaseQueue()


The function releases a previously held (paused) printer queue. 
Syntax 

MyRc = RxSplReleaseQueue(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 
/* Release a held printer queue on a specified computer */
if RxFuncQuery('RxSplReleaseQueue') <> 0 then do
 call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs'
 call LoadLsRxutFuncs
end

ComputerName = '\\ILIDC'
QueueName    = 'IBM4019L'

MyRc = RxSplReleaseQueue(ComputerName, QueueName)

if MyRc <> '0' then do
 say 'Error from RxSplReleaseQueue. RC =' MyRc
 exit 9
end
else do
 say 'Printer queue' QueueName 'is released'
end

exit 0


Inf-HTML End Run - Successful