LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-28-2006, 10:16 AM   #1
wnguza
LQ Newbie
 
Registered: Sep 2004
Location: Durban South Africa
Distribution: Fedora core 3
Posts: 27

Rep: Reputation: 15
I/O error rh7.3


Hi there


when I run rsh printername "date > /dev/ttyS2" I get date: write error: I/O error

If users try to print, their jobs just get queued.
Anyone know what the cause of this is?

This is an EPSON serial printer.
 
Old 06-28-2006, 11:12 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Your command is saying "send the command 'date' to printername and redirect it to printername's /dev/ttyS2" Presumably what you really want to do is print 'date' on the printer attached to /dev/ttyS2 on your local host. If so it should just be "date > /dev/ttyS2" leaving out the rsh and printername.

Restated: The printer itself doesn't have an operating system and doesn't have devices like /dev/ttyS2 but your command is attempting to go to the printer's operating system and redirect from there to a device so is wrong on two counts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed dependencies error installing spamassassin-2.61-1.i386.rpm on RH7.0 camelia Linux - Newbie 1 01-20-2004 07:33 PM
error using squirrelmail in rh7.3 RAMILLY Linux - Distributions 0 09-09-2002 06:25 AM
LPD error - bad hostname RH7.3 KL2001 Linux - Newbie 10 09-05-2002 06:32 PM
installing RH7.2 or 7.3 fails; RH7.1 & W2k work great river Linux - Software 4 05-24-2002 05:45 PM
error during program compilation with RH7.1 Corinne Linux - Newbie 1 06-14-2001 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration