function e = eq( lhs, rhs )
%EQ Method to overloaded ==. 
%   EQ( PJ1, PJ2) is True if both PrintJob objects have equal state.
%
%   See also ISEQUAL, MINUS.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.1 $  $Date: 1998/04/17 15:57:16 $

if nargin ~= 2 | ~isa(lhs,'printjob') | ~isa(rhs,'printjob')
    error('Requires 2 PrintJob objects.')
end

e = isequal( lhs, rhs );
