Read Failed at cupsBackChannelRead
Zebra
kavinsivakumar at yahoo.co.in
Mon Nov 16 00:57:24 PST 2009
Hi,
I written following code to read the printer response,
char buff[256] = {0};
memset(buff,0,sizeof(buff));
fputs("\033!RIBLEN\r",stdout);
memset(buff,0,sizeof(buff));
fputs("\033E 2\r",stdout);
fputs("\033V\r",stdout);
memset(buff,0,sizeof(buff));
ssize_t retv=cupsBackChannelRead(buff,sizeof(buff),0.0);
Finaly buff contains nothing and return value also -1.pls point out where is error.
Thanking You
More information about the cups
mailing list