This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// iOS SDK Example | |
// referenced from https://apac.tscprinters.com/en/downloads | |
#include <TSCLIB/TSCLIB.h> | |
TSCSDK *lib = [TSCSDK new]; | |
//[lib openportMFI:@"com.issc.datapath"]; | |
[lib openport:@"10.0.10.194"]; | |
[lib openport:@"10.0.10.194"]; | |
//NSData *status = [lib printer_status]; | |
//0x00:Normal, 0x01:Head opened, 0x10:Pause |
OlderNewer