- Updated the cancelSubJob method to accept a subJob object instead of an ID, enhancing clarity.
- Added comprehensive error handling for various failure scenarios, including connection status and missing job IDs.
- Implemented state checks to ensure only queued sub jobs can be canceled, improving robustness.
- Enhanced logging for better visibility into the cancellation process and outcomes.
- Updated PrinterManager to handle the new cancelSubJob action, integrating it into the existing command structure.