ts-7000
[Top] [All Lists]

RE: [ts-7000] Re: Support for USB Printer - Is it really that complicate

To: <>
Subject: RE: [ts-7000] Re: Support for USB Printer - Is it really that complicated?
From: "Robert Bond" <>
Date: Sat, 03 Nov 2007 07:30:57 -0700

From: [mailto:] On Behalf Of Ed K
Sent: Friday, November 02, 2007 11:45 AM
To:
Subject: [ts-7000] Re: Support for USB Printer - Is it really that complicated?

 

I'm using a Belkin F5U002 USB to parallel adapter cable and a
Panasonic KX-P1150 dot-matrix printer. With the printer.o module
installed (thanks to Kevin) I can simply plug the cable in (as Yan
suggested) and the printer (or more accurately the CABLE) magically
appears as /dev/usb/lp0. That's the interesting part: whether or not
the printer is plugged in or on-line, the system thinks there's a
printer at /dev/usb/lp0 as long as the cable is plugged in.

If anyone knows how I could get a signal back from this system call
(or some other system call that would work better) I'd very much
appreciate your input. I'm just SO close to getting this thing done.

 

My guess is that the USB driver recognizes the interface chip buried in the cable so knows to create the

/dev entry. I expect that when you send data it eventually fills the buffers in the chip so the transmit flow-controls and

stops. If you have a manual for the printer you might check to see if there’s a status command you can send that will

elicit some positive response. Maybe you could send it and timeout?

 

                        Bob Bond

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU