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< PrintConfiggetDefaultConfiguration () 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< JobgetJobList () 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

Parameters
jobjob 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
Returns
printer list of jobs
Exceptions
PrinterNotAvailableException
PrinterLowLevelException
Returns
printer information
Exceptions
PrinterNotAvailableException
PrinterLowLevelException
Job printImage ( String  uri) throws PrinterLowLevelException, PrinterNotAvailableException
Parameters
uripath of the image
Returns
job added to the list
Exceptions
PrinterNotAvailableException
PrinterLowLevelException
Job printImage ( String  uri,
List< PrintConfig configurations 
) throws PrinterLowLevelException, PrinterNotAvailableException
Parameters
uripath of the image
configurationslist 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
configurationconfiguration
Exceptions
PrinterNotAvailableException
PrinterLowLevelException