06-28-2006, 11:12 AM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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.
|
|
|