PrinterUtilLoadProfile(String, String, FileDeletionOption, Boolean) Method
|
Takes settings, alerts, and files from a profile, and applies them to a printer.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public 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 String
- The connection string.
- profilePath String
- Path to the profile to load. (e.g. /home/user/profile.zprofile)
- filesToDelete FileDeletionOption
- An enum describing which files to delete.
- isVerbose 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