cancel the printertask by calling the printerjob 's cancel method . concode_field_sep CancelablePrintJob cancelablePrintJob concode_elem_sep Logger logger concode_elem_sep PrintHelper printHelper concode_field_sep void run
void function ( ) { try { if ( cancelablePrintJob != null ) { cancelablePrintJob . cancel ( ) ; } } catch ( PrintException loc0 ) { logger . log ( Level . FINE , "srini_string" + loc0 . getMessage ( ) ) ; } }