PushBarcode Method

This member of Class WaveLinkBarcode is supported on: iOS, DOS, Palm

The PushBarcode Method places the current barcode configuration into the specified file for later restoration.

Syntax

public voidPushBarcode(String fileName)
throws WaveLinkError,
IllegalArgumentException

Parameters

fileName

The new barcode configuration file name

Throws

WaveLinkError

IllegalArgumentException

Remarks

Use the PullBarcode Method to restore a previously saved barcode file while removing the file from the device’s memory.

When used in conjunction with the PullBarcode Method, PushBarcode can temporarily change the settings of a device and return the device to its original settings for easy clean up.

Example

WaveLinkBarcode barcodeIface = new WaveLinkBarcode();

try {

barcodeIface.PushBarcode("Defltbar");

// Create, store, and use barcode configuration in the app (not shown).

.

.

.

// Use PullBarcode to restore the default barcode at cleanup.

BarcodeIface.PullBarcode("Defltbar");

}

catch (WaveLinkError wlErr) {

//Do error handling

}

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal