I am using RHEL 3 on my server, But on client side I may have Windows
[Customers ], Red Hat 7.0, Red hat 8.0 / Red Hat 9.0 / Fedora Core 1/
Fedore Core 2.
Now my problem is
For using my ERP, I have to telnet to my server, after generating
report, normally I am issue a command
prn rept
In this case prn is script installed in RHEL server and rept is a file,
which have to print on local printer.
this arrangement works very well, in case I have windows on client side.
It also works in case I have Red Hat 7.0 / Red Hat 8.0 on client side.
But this script does not work in Red hat 9.0 / Fedora etc.
Script file prn is
=============================================================
#! /bin/sh
if test -r $1
then
echo '^[[5i'
cat $1
echo '^[[4i'
else
echo Filename must exist and be readable
fi
==============================================================
Please advise
[S K Goel]
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help