Documentation of cancel


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

pj = cancel( pj )

Help text

Cancel Method to interupt a print job and finish it right now.
   Stop the spooling of output. System dependent on how soon the current
   print job can be stopped. Output will be terminated or incomplete depending
   on driver and operating system.

   See also FINISH

Cross-Reference Information

This function is called by

Listing of function cancel

function pj = cancel( pj )

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/01 02:54:05 $

pj.Active = 0;

%Tell internal driver
if feature('NewPrintAPI')
    err = hardcopy( pj, 'cancel' )
end