How do I print to the receipt printer on an EC7500?

Started by skeith, February 15, 2011, 02:24:49 PM

Previous topic - Next topic

skeith

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)