boolean function ( PrintService arg0 ) { if ( arg0 instanceof StreamPrintService ) return false ; try { SecurityManager loc0 = System . getSecurityManager ( ) ; if ( loc0 != null ) loc0 . checkPrintJobAccess ( ) ; return printServices . add ( arg0 ) ; } catch ( SecurityException loc0 ) { return false ; } }
explicitly registers the provided print service instance . the registration will silently fail returning false if the print service instance is already registered or the registration somehow else fails . concode_field_sep HashSet printServices concode_elem_sep HashSet printServiceLookups concode_elem_sep CupsPrintServiceLookup systemProvider concode_field_sep boolean registerServiceProvider concode_elem_sep PrintService lookupDefaultPrintService concode_elem_sep MultiDocPrintService[] lookupMultiDocPrintServices concode_elem_sep MultiDocPrintService[] getMultiDocPrintServices concode_elem_sep PrintService[] lookupPrintServices concode_elem_sep PrintService getDefaultPrintService concode_elem_sep PrintService[] getPrintServices concode_elem_sep PrintService[] getPrintServices