public interface ProfileUtil
| Modifier and Type | Method and Description |
|---|---|
void |
createBackup(String pathToOutputFile)
Save a backup of your printer's settings, alerts, and files for later restoration.
|
void |
createProfile(java.io.OutputStream profileDestinationStream)
Create a profile of your printer's settings, alerts, and files for cloning to other printers.
|
void |
createProfile(String pathToOutputFile)
Create a profile of your printer's settings, alerts, and files for cloning to other printers.
|
void |
loadBackup(String pathToBackup)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
void |
loadBackup(String pathToBackup,
boolean isVerbose)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
void |
loadProfile(String pathToProfile)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
void |
loadProfile(String pathToProfile,
FileDeletionOption filesToDelete,
boolean isVerbose)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
void createProfile(String pathToOutputFile)
throws java.io.IOException,
ZebraIllegalArgumentException,
ConnectionException
pathToOutputFile - Path on your local machine where you want to save the profile. (e.g.
/home/user/profile.zprofile). The extension must be .zprofile; if it is not, the method will change it to
.zprofile for you.java.io.IOException - if the output file could not be created.ZebraIllegalArgumentException - Could not interpret the response from the printer.ConnectionException - if there is an error communicating with the printer.ZebraPrinter.loadProfile(String) for loading a profile to another
printervoid createProfile(java.io.OutputStream profileDestinationStream)
throws java.io.IOException,
ZebraIllegalArgumentException,
ConnectionException
profileDestinationStream - The destination stream where you want to write the profile.java.io.IOException - if the output file could not be created.ZebraIllegalArgumentException - Could not interpret the response from the printer.ConnectionException - if there is an error communicating with the printer.void createBackup(String pathToOutputFile)
throws java.io.IOException,
ZebraIllegalArgumentException,
ConnectionException
pathToOutputFile - Path on your local machine where you want to save the backup. (e.g.
/home/user/profile.zprofile). The extension must be .zprofile; if it is not, the method will change it to
.zprofile for you.java.io.IOException - if the output file could not be created.ZebraIllegalArgumentException - Could not interpret the response from the printer.ConnectionException - if there is an error communicating with the printer.ZebraPrinter.loadProfile(String) for loading the backup file to
another printervoid loadProfile(String pathToProfile)
throws java.io.IOException,
ConnectionException
pathToProfile - Path to the profile to load. (e.g. /home/user/profile.zprofile)java.io.IOException - if the profile does not exist or could not be read.ConnectionException - if there is an error communicating with the printer.void loadProfile(String pathToProfile,
FileDeletionOption filesToDelete,
boolean isVerbose)
throws java.io.IOException,
ConnectionException
filesToDelete from the printer.pathToProfile - Path to the profile to load. (e.g. /home/user/profile.zprofile)filesToDelete - an enum describing which files to delete.isVerbose - increases the amount of detail presented to the user when loading firmware from the profilejava.io.IOException - if the profile does not exist or could not be read.ConnectionException - if there is an error communicating with the printer.void loadBackup(String pathToBackup)
throws java.io.IOException,
ConnectionException
pathToBackup - Path to the profile to load. (e.g. /home/user/profile.zprofile)java.io.IOException - if the profile does not exist or could not be read.ConnectionException - if there is an error communicating with the printer.void loadBackup(String pathToBackup,
boolean isVerbose)
throws java.io.IOException,
ConnectionException
pathToBackup - Path to the profile to load. (e.g. /home/user/profile.zprofile)isVerbose - increases the amount of detail presented to the user when loading firmware from the profilejava.io.IOException - if the profile does not exist or could not be read.ConnectionException - if there is an error communicating with the printer.
© 2017 ZIH Corp. All Rights Reserved.