PrinterUtil.LoadProfile Method (String, String, FileDeletionOption, Boolean)
|
Takes settings, alerts, and files from a profile, and applies them to a printer.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntaxpublic static void LoadProfile(
string connectionString,
string profilePath,
FileDeletionOption filesToDelete,
bool isVerbose
)
Public Shared Sub LoadProfile (
connectionString As String,
profilePath As String,
filesToDelete As FileDeletionOption,
isVerbose As Boolean
)
public:
static void LoadProfile(
String^ connectionString,
String^ profilePath,
FileDeletionOption filesToDelete,
bool isVerbose
)
Parameters
- connectionString
- Type: System.String
The connection string. - profilePath
- Type: System.String
Path to the profile to load. (e.g. /home/user/profile.zprofile) - filesToDelete
- Type: Zebra.Sdk.Printer.FileDeletionOption
An enum describing which files to delete. - isVerbose
- Type: System.Boolean
Increases the amount of detail presented to the user.
Exceptions
Remarks
Before doing so, it deletes the files described by
filesToDelete from the printer.
See
ConnectionBuilder for the format of
connectionString.
See Also