FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-19-2011, 02:09 AM
 
Default usbserial/printer

On Tue, 19 Apr 2011 01:34:37 +0000
Leonardo Ruoso <leonardo.ruoso@gmail.com> wrote:

> I have a computer without the old rs232, it's like a netbook, but it's
> running lenny. I need to plug a termal serial printer to it. usb to
> serial adapter (prolific chip) should be okay, but didn't work. When
> back at home, just plugged the printer to the serial and it worked.
> Plugged through usbserial adapter and nothing happened again. Does
> anyone have any idea?
>
> dmesg output when disconnecting and connecting back the usb2serial
> cable [ 1689.296172] usb 2-2: USB disconnect, address 2
> [ 1689.296404] pl2303 ttyUSB0: pl2303 converter now disconnected from
> ttyUSB0
> [ 1689.296423] pl2303 2-2:1.0: device disconnected
> [ 1693.224040] usb 2-2: new full speed USB device using uhci_hcd and
> address 3
> [ 1693.387033] usb 2-2: New USB device found, idVendor=067b,
> idProduct=2303 [ 1693.387039] usb 2-2: New USB device strings: Mfr=1,
> Product=2, SerialNumber=0
> [ 1693.387044] usb 2-2: Product: USB 2.0 To COM Device
> [ 1693.387048] usb 2-2: Manufacturer: Prolific Technology Inc.
> [ 1693.390133] pl2303 2-2:1.0: pl2303 converter detected
> [ 1693.402159] usb 2-2: pl2303 converter now attached to ttyUSB0


Did you notice that the device is now /dev/ttyUSB0 ?

So whatever is talking to the printer will now need to be pointed at
the new device.

Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110418190934.3c13a312@windy.deldotd.com">http://lists.debian.org/20110418190934.3c13a312@windy.deldotd.com
 
Old 04-19-2011, 02:33 AM
Leonardo Ruoso
 
Default usbserial/printer

Yes, sure!*
But I'm trying just to cat file.txt > /dev/ttyUSB0 *but nothing happens.... if I plug the printer directly to the onboard serial, then the content of the file is printed when I do cat file.txt > /dev/ttyS0!



2011/4/19 <briand@aracnet.com>


On Tue, 19 Apr 2011 01:34:37 +0000

Leonardo Ruoso <leonardo.ruoso@gmail.com> wrote:



> I have a computer without the old rs232, it's like a netbook, but it's

> running lenny. I need to plug a termal serial printer to it. usb to

> serial adapter (prolific chip) should be okay, but didn't work. When

> back at home, just plugged the printer to the serial and it worked.

> Plugged through usbserial adapter and nothing happened again. Does

> anyone have any idea?

>

> dmesg output when disconnecting and connecting back the usb2serial

> cable [ 1689.296172] usb 2-2: USB disconnect, address 2

> [ 1689.296404] pl2303 ttyUSB0: pl2303 converter now disconnected from

> ttyUSB0

> [ 1689.296423] pl2303 2-2:1.0: device disconnected

> [ 1693.224040] usb 2-2: new full speed USB device using uhci_hcd and

> address 3

> [ 1693.387033] usb 2-2: New USB device found, idVendor=067b,

> idProduct=2303 [ 1693.387039] usb 2-2: New USB device strings: Mfr=1,

> Product=2, SerialNumber=0

> [ 1693.387044] usb 2-2: Product: USB 2.0 To COM Device

> [ 1693.387048] usb 2-2: Manufacturer: Prolific Technology Inc.

> [ 1693.390133] pl2303 2-2:1.0: pl2303 converter detected

> [ 1693.402159] usb 2-2: pl2303 converter now attached to ttyUSB0





Did you notice that the device is now /dev/ttyUSB0 ?



So whatever is talking to the printer will now need to be pointed at

the new device.



Brian





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/20110418190934.3c13a312@windy.deldotd.com





--
Leonardo Ruoso - Jornalista/DesenvolvedorAssessoria de Imprensa. Consultoria de Marketing.*Desenvolvimento e Integração de Software.*

Comunicação Social/Jornalismo - UFC/2006. Telecomunicações - ETFCE/1998.*Foos, Perl, Debian Gnu/Linux, Agile, UML, DBA e OOP. Coaching/NLP. Inglês e Francês.*http://leonardo.ruoso.com*-*http://www.linkedin.com/in/lruoso
 
Old 04-19-2011, 02:35 AM
shawn wilson
 
Default usbserial/printer

On Apr 18, 2011 10:16 PM, <briand@aracnet.com> wrote:

>

> On Tue, 19 Apr 2011 01:34:37 +0000

> Leonardo Ruoso <leonardo.ruoso@gmail.com> wrote:

>

> > I have a computer without the old rs232, it's like a netbook, but it's

> > running lenny. I need to plug a termal serial printer to it. usb to

> > serial adapter (prolific chip) should be okay, but didn't work. When

> > back at home, just plugged the printer to the serial and it worked.

> > Plugged through usbserial adapter and nothing happened again. Does

> > anyone have any idea?

> >

> > dmesg output when disconnecting and connecting back the usb2serial

> > cable [ 1689.296172] usb 2-2: USB disconnect, address 2

> > [ 1689.296404] pl2303 ttyUSB0: pl2303 converter now disconnected from

> > ttyUSB0

> > [ 1689.296423] pl2303 2-2:1.0: device disconnected

> > [ 1693.224040] usb 2-2: new full speed USB device using uhci_hcd and

> > address 3

> > [ 1693.387033] usb 2-2: New USB device found, idVendor=067b,

> > idProduct=2303 [ 1693.387039] usb 2-2: New USB device strings: Mfr=1,

> > Product=2, SerialNumber=0

> > [ 1693.387044] usb 2-2: Product: USB 2.0 To COM Device

> > [ 1693.387048] usb 2-2: Manufacturer: Prolific Technology Inc.

> > [ 1693.390133] pl2303 2-2:1.0: pl2303 converter detected

> > [ 1693.402159] usb 2-2: pl2303 converter now attached to ttyUSB0

>

>

> Did you notice that the device is now /dev/ttyUSB0 ?

>

> So whatever is talking to the printer will now need to be pointed at

> the new device.

>


You could also get a print server like an HP jetdirect and print to the server's ip.
 

Thread Tools




All times are GMT. The time now is 04:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org