Printer Interface Reference
Printer. More...
Inheritance diagram for Printer:
Public Member Functions | |
String | getId () |
Gets printer identifier. More... | |
PrinterInformation | getPrinterInformation () throws PrinterLowLevelException, PrinterNotAvailableException |
Gets printer information. More... | |
List< PrintConfig > | getDefaultConfiguration () throws PrinterLowLevelException, PrinterNotAvailableException |
Gets list of configurations of the printer. More... | |
void | setDefaultConfiguration (PrintConfig configuration) throws PrinterLowLevelException, PrinterNotAvailableException |
Sets a configuration to the printer. More... | |
Job | printImage (String uri) throws PrinterLowLevelException, PrinterNotAvailableException |
Adds a job to the queue. More... | |
Job | printImage (String uri, List< PrintConfig > configurations) throws PrinterLowLevelException, PrinterNotAvailableException |
Adds a job to the queue. More... | |
List< Job > | getJobList () throws PrinterLowLevelException, PrinterNotAvailableException |
Gets list of jobs of the printer. More... | |
void | deleteJob (Job job) throws PrinterLowLevelException, PrinterNotAvailableException |
Delete a specific job from the job list. More... | |
void | printTestTicket () throws PrinterLowLevelException, PrinterNotAvailableException |
Prints a test ticket. More... | |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
void | subscribe (T observer) throws CannotSubscribeException |
void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Detailed Description
Printer
Member Function Documentation
void deleteJob | ( | Job | job | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Parameters
-
job job to be removed
- Exceptions
-
PrinterLowLevelException PrinterNotAvailableException
List<PrintConfig> getDefaultConfiguration | ( | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Returns
- printer list of configurations
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
String getId | ( | ) |
- Returns
- printer unique identifier
List<Job> getJobList | ( | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Returns
- printer list of jobs
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
PrinterInformation getPrinterInformation | ( | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Returns
- printer information
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
Job printImage | ( | String | uri | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Parameters
-
uri path of the image
- Returns
- job added to the list
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
Job printImage | ( | String | uri, |
List< PrintConfig > | configurations | ||
) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Parameters
-
uri path of the image configurations list of specific configurations
- Returns
- job added to the list
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
void printTestTicket | ( | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
void setDefaultConfiguration | ( | PrintConfig | configuration | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Parameters
-
configuration configuration
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException