Documentation of finish


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


Function Synopsis

pj = finish( pj )

Help text

Finish Method to end a PrintJob at its current page.
   Finish current page and close connection to device or file output is 
   beeing spooled to. Proper way to end a print job.
   
   See also CANCEL

Cross-Reference Information

This function is called by

Listing of function finish

function pj = finish( 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, 'finish' )
end