function pj = printrestore( pj, h )
%PRINTRESTORE Reset a Figure or Simulink model after printing.
%   When printing a model or Figure, some properties have to be changed
%   to create the desired output. PRINTRESTORE resets the properties back to 
%   their original values.
%
%   Ex:
%      pj = PRINTRESTORE( pj, h ); %modifies PrintJob pj and Figure/model h
%
%   See also PRINT, PRINTOPT, PRINTPREPARE.

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


error( nargchk(2,2,nargin) )

% call private version.
pj = restore(pj, h);

