Silver Bullet - Support Forum

Ranger => RDM Check Scanners => Topic started by: skeith on February 15, 2011, 02:24:49 PM

Title: How do I print to the receipt printer on an EC7500?
Post by: skeith on February 15, 2011, 02:24:49 PM
The receipt printer is only available when the scanner is idle.

When Ranger is ready to feed, the printer can be used via the pass through method ScannerPrint.


const char* msg="Hello World!";  //string to print

CString Passthrough;

//Formatting the passthrough, "ScannerPrint(MessageAddress, MessageLength )"
Passthrough.Format("ScannerPrint(%ld,%d)",(unsigned long long)msg, strlen(msg));

Ranger.CallPassthroughMethod(Passthrough)