SUMMARY: Printing Problem

From: Robert Provenzano (rprovenzano@esri.ca)
Date: Thu Apr 30 1998 - 10:49:46 CDT


Here is the original question:

At the Corporate office we have an Enterprise 3000 running Solaris 2.5.1
which has an Oracle8 database. From this system we need to print
reports to our Regional offices some of which have Sun
workstations and some of which have NT 4.0 Servers. Our printers are
all HP4's with JetDirect cards. Since some of the reports require
different font sizes we are using a program called enscript to do the
formatting. When I setup a remote print queue on the E3000 to spool to
a remote Unix system with a jetadmin queue the reports print fine.
However, when I setup LPD/LPR services on the NT Server and add a remote
print queue on the E3000 I can print to the Regional office, but I get
postscript code instead of the actual report. Is there some sort of
filter I can use to make the report print properly on the NT systems?
Or failing that, is there a better way to do the printing to the
Regions?

And here is the solution we went with:

    nohup enscript -P$lwname -#${p_copies:=1} -hB -fCourier9 $p_output >
/dev/null 2>&1;
    nohup /bin/rm $p_output > /dev/null 2>&1;

The above code was changed to the following:

    nohup enscript -p$p_output2 -hB -fCourier9 $p_output > /dev/null
2>&1;
    nohup /usr/ucb/lpr -P$lwname -#{p_copies:=1} -v $p_output2 >
/dev/null 2>&1;
    nohup /bin/rm $p_output $p_output2 > /dev/null 2>&1;

TCP/IP print services were enabled on the remote NT servers with
Jetadmin ports added for the printers. Then remote access queues were
setup on the UNIX server to spool to the NT queues. The firewalls had
to be modified to allow LP services thruough to the remote NT servers
and viola: remote printing from the centralized oracle admin system.

Thanks to all the following who replied:
Amjad Zamil
Erwin Fritz
John Groenveld
Matthew Stier
K. Ravi

Rob!!
----------------------------------------------------------
Robert J. Provenzano Network Administrator
ESRI Canada Corporate - IT Department
Mailto:rprovenzano@esri.ca website: http://www.esri.ca
----------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:39 CDT