Click or drag to resize

ProfileStoreFileOnPrinter Method (Byte, String)

Stores a file in the profile named fileNameOnPrinter with the file contents from fileContents using any required file wrappers.

Namespace:  Zebra.Sdk.Device
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
public void StoreFileOnPrinter(
	byte[] fileContents,
	string fileNameOnPrinter
)

Parameters

fileContents
Type: SystemByte
The contents of the file to store.
fileNameOnPrinter
Type: SystemString
The full name of the file on the printer (e.g "R:SAMPLE.ZPL").

Implements

FileUtilLinkOsStoreFileOnPrinter(Byte, String)
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
Remarks
If the fileContents contains any commands which need to be processed by the printer, use SendFileContents(String) instead! These commands include download commands any immediate commands(~CC, ~CD, ~DB, ~DE, ~DG, ~DY, ~EG, ~HI, ~HU, ~HM, ~HQ, ~HS, ~JA, ~JB, ~JC, ~JD, ~JE, ~JF, ~JG, ~JI, ~JL, ~JN, ~JO, ~JP, ~JQ, ~JR, ~JS, ~JX, ~NC, ~NT, ~PL, ~PP, ~PR, ~PS, ~RO, ~SD, ~TA, ~WC, ~WQ, ^DF)
See Also