ProfileStoreFileOnPrinter(String, String) Method
|
Stores the file in the profile at the specified location and name using any required file wrappers.
Namespace: Zebra.Sdk.DeviceAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public void StoreFileOnPrinter(
string filePath,
string fileNameOnPrinter
)
Public Sub StoreFileOnPrinter (
filePath As String,
fileNameOnPrinter As String
)
public:
virtual void StoreFileOnPrinter(
String^ filePath,
String^ fileNameOnPrinter
) sealed
Parameters
- filePath String
- The full file path (e.g. "C:\\Users\\%USERNAME%\\Documents\\sample.zpl").
- fileNameOnPrinter String
- The full name of the file on the printer (e.g "R:SAMPLE.ZPL").
Implements
FileUtilLinkOsStoreFileOnPrinter(String, String)Exceptions Remarks
If the contents of
filePath 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