unsigned char xdata data_to_send[200]; ?/* 緩沖區(qū)*/
unsigned char str_to_print[]="OK, support text print\n";
send_data( strlen(str_to_print), str_to_print ); ??
send_data( sizeof(data_to_send), data_to_send );?
我想問一下send_data函數(shù)是把數(shù)據(jù)發(fā)送給打印機了嗎,我的枚舉已經(jīng)完成了,就是用send_data函數(shù)發(fā)送數(shù)據(jù)給打印機時,打印機沒反應(yīng), 我發(fā)送的數(shù)據(jù)是PCL3的指令,用的打印機是hp deskjet 1000,請牛人們幫忙看看,謝謝!