Click or drag to resize

ProfileUtilLoadProfile Method (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.13.898
Syntax
void LoadProfile(
	string pathToProfile,
	FileDeletionOption filesToDelete,
	bool isVerbose
)

Parameters

pathToProfile
Type: SystemString
Path to the profile to load. (e.g. /home/user/profile.zprofile)
filesToDelete
Type: Zebra.Sdk.PrinterFileDeletionOption
An enum describing which files to delete.
isVerbose
Type: SystemBoolean
Increases the amount of detail presented to the user when loading firmware from the profile
Exceptions
ExceptionCondition
IOExceptionIf the profile does not exist or could not be read.
ConnectionExceptionIf there is an error communicating with the printer.
Remarks
Before doing so, it deletes the files described by filesToDelete from the printer.
See Also