Dear Randy, I think so, but I don't have any idea about the "filter", I did't install any printtool or CUPS system, I just copy a file to usb port like this. cp image.bin /dev/usb/lp0 then I foud all the character "0x0a" ---> LF be translate to "0x0d 0x0a" ---> CR/LF Did you have any idea about the filter?
Thanks in any advice! -Sam ----- Original Message ----- From: "Randy.Dunlap" <[EMAIL PROTECTED]> To: "Sam J.C. Lu" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 4:48 AM Subject: Re: [Linux-usb-users] Linux-usb-users] why character '0x0a' be translate to '0x0d' '0x0a' while I print a job to USB printer > On Fri, 28 Nov 2003 11:27:47 +0800 "Sam J.C. Lu" <[EMAIL PROTECTED]> wrote: > > | There are strange while I print a job to USB port, I found all the character > | "0x0a" be > | translate to "0x0d" "0x0a". does someone know why and how to fixed or avoid > | this > | translation. > | > | Thanks in any advice! > > I don't know of anything in the USB subsystem that does this. > It sounds like something that a printer "filter" or filter driver > would do. > > -- > ~Randy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
