Click or drag to resize

ProfileUtilCreateProfile Method (String)

Create a profile of your printer's settings, alerts, and files for cloning to other printers.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax
void CreateProfile(
	string pathToOutputFile
)

Parameters

pathToOutputFile
Type: SystemString
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.
Exceptions
ExceptionCondition
IOExceptionIf the output file could not be created.
ZebraIllegalArgumentExceptionCould not interpret the response from the printer.
ConnectionExceptionIf there is an error communicating with the printer.
Remarks
A profile contains setting values which can be used to clone another printer to match the original configuration. Some settings (such as I.P.address) which could conflict with the original printer will not be contained in the profile.
See Also