|
From: Hin-Tak L. <hin...@ya...> - 2003-03-29 01:31:18
|
Hmm, there seems to be a lot of confusion. The *usb branch was created because printing via USB for 5700L require some special code (I am quite sure this is mentioned in the announcement of the *usb releases). For the 5800L you can and should just use main branch (0.2.2) and do ps2epl file.ps /dev/usb/lp0 (the main branch's ps2epl has no "USB=" option - in fact it is wrong to set it for 5800L/5900L owners, regardless of whether printing by USB or not - this option is being renamed to "FlowControl" in the upcoming 0.2.3, as it should be more appropriately called - 5800L and 5900L have much less problem with flow-control when printing via USB, compared to the 5700L; and they don't require the activation of the special bid+flow-control code.). M. MENARA wrote: > No, unfortunately my EPL-5800L did never succeed to print through USB since > the first release of the 0.2usb driver and neither the rpm package nor the > last 0.2.1usb.tgz did that. Each time i get the same issue, the printer > remain silent and did not respond to my requests... as explained - you should use the main (0.2.2) branch. > However, my system configuration seems to be ok with all the necessary > modules correctly loaded as you can see below : > > --------------------------------------- > > [root@localhost root]# lsmod <snipped> That's a very long list... but the important ones (printer,usb-uhci, usbcore) are there. So it is alright. > > --------------------------------------- > > Also the "test5700lusb" fails to spit out a blank page. That executable is 5700L only! It should abort and exit when it can't find a 5700L. So it is behaving correctly, but not very helpful for you, I guess. > In a last resort i decided to send my whole testlibusb's output in a hope > someone would help me to find a solution. I'm using redhat 8.0, and i > noticed that only if i change the configuration to parallel port ( setting > usb=off in ps2epl ) the printer start to work : As I said, "USB=on" is wrong for 5800L, regardless of whether you are printing via USB or pport. USB=off switches off the 5700L-specific bid/flowcontrol bypass, and therefore the "0.2.1usb" behaves like the "0.2.2" main branch, and "USB=off" (and let me emphasize again, you should not even have touched the *usb branch, as the difference is 5700L-specific!). and using /dev/usb/lp0 is what you need for 5800L. ps2epl file.ps /dev/usb/lp0 should work for you, where either "USB=" is completely missing (0.2.2) or should be set to "USB=off" for 0.2.1usb. As I repeatedly emphasized, the "USB=on" is a 5700L-specific option. 5800L/5900L owners should set it to off regardless of the connectivity. (and the option is being renamed to "FlowControl" to avoid this kind of confusion). In fact, you should just delete the entire block of the 5-6 lines of "USB=" in your ps2epl, because it is irrelevant for you. > -------------------------------------- > > [root@localhost epsoneplijs-0.2.1usb]# ./testlibusb > bus/device idVendor/idProduct > 002/001 0000/0000 <snipped> This output is all correct. |