public interface JobUtilZmotif
| Modifier and Type | Method and Description |
|---|---|
void |
abort(boolean reject)
Aborts a print job.
|
ReservationInfo |
getReservationStatus(int reservationToken)
Queries the printer and returns the current status of the printer from the supplied reservation token.
|
ReservationInfo |
isDeviceInSession()
Queries the printer and returns whether the printer is currently in session.
|
int |
printTestCard(byte imageNumber,
int copies,
boolean dualSided)
Prints the specified test image.
|
BarcodeReadInfo |
readBarcodeData()
Sends a job to the printer to scan and return the barcode data from a card.
|
void |
reject()
Rejects a card from the printer's home position.
|
void |
releaseDeviceReservation(int reservationToken)
Releases the reservation session associated with the reservationToken.
|
int |
reserveDevice(ReservationType type)
Requests a reservation to a shared printer.
|
void |
retrySmartCard(SmartCardType type)
Retry the smart card operation.
|
void abort(boolean reject)
throws ConnectionException,
ZebraCardException
reject - ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.ReservationInfo getReservationStatus(int reservationToken) throws ConnectionException, ZebraCardException, ZebraIllegalArgumentException
reservationToken - printer's supplied reservation token.ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.ZebraIllegalArgumentException - if the reservationToken is invalid.ReservationInfo isDeviceInSession() throws ConnectionException, ZebraCardException
ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.BarcodeReadInfo readBarcodeData() throws ConnectionException, SettingsException, ZebraCardException, TimeoutException
ConnectionException - if the device is busy or there is a error communicating with the printer.SettingsException - if an error occurs while reading the barcode data.TimeoutException - if the operation times out before it completes.ZebraCardException - if a printer error occurs.void reject()
throws ConnectionException,
ZebraCardException
ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.void releaseDeviceReservation(int reservationToken)
throws ConnectionException,
ZebraCardException,
ZebraIllegalArgumentException
reservationToken - printer's supplied reservation token.ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.ZebraIllegalArgumentException - if the reservationToken is invalid.void retrySmartCard(SmartCardType type) throws ConnectionException, SettingsException, ZebraCardException, ZebraIllegalArgumentException
type - the type of smart card.ConnectionException - if the device is busy or there is a error communicating with the printer.SettingsException - if an error occurs while retrying the smart card operation.ZebraCardException - if a printer error occurs.ZebraIllegalArgumentException - if the type is invalid.int reserveDevice(ReservationType type) throws ConnectionException, ZebraCardException
type - the type of reservation to request.ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.int printTestCard(byte imageNumber,
int copies,
boolean dualSided)
throws ConnectionException,
ZebraCardException,
ZebraIllegalArgumentException
imageNumber - test image number.copies - number of copies to print.dualSided - true indicates the test image should be printed dual sided.ConnectionException - if the device is busy or there is a error communicating with the printer.ZebraCardException - if a printer error occurs.ZebraIllegalArgumentException - if the imageNumber, copies, or dualSided are invalid.
© 2016 ZIH Corp. All Rights Reserved.