Problem in ethernet printer
Michael Sweet
msweet at apple.com
Mon Feb 22 13:51:56 PST 2010
Why are you adding code to the backends?
What are you trying to do?
On Feb 22, 2010, at 5:29 AM, kavin wrote:
> Hi,
> I am trying to get the printer response for particular commands. I written the following code inside the socket.c after the function backendrunloop.the Same code at same place written in usb-unix.c gives to me a proper response.
>
> memset(port_monitor_buffer,0,sizeof(port_monitor_buffer));
> retn = write(device_fd,"\033E 1\r",5);
> retn = read(device_fd,port_monitor_buffer,sizeof(port_monitor_buffer));
>
> In the case of socket it doesnt gives any response but the command goes to the printer in proper manner
> please give me the guidence to resolve the problem
>
>
> _______________________________________________
> cups-ddk mailing list
> cups-ddk at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-ddk
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list