This function checks services, defaultService and attributes input
parameters for printDialog(...) method.
defaultService index in services array or 0 if defaultService isnull. throws: IllegalArgumentException - if services is null or empty, orattributes is null, or the initial PrintService is not in thelist of browseable services