Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!WUBIOS.WUSTL.EDU!dave From: dave@WUBIOS.WUSTL.EDU (Dave Camp) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Wollongong TCP/IP and Printer Sharing Message-ID: <8911300708.AA14015@wubios.WUstl.EDU> Date: 30 Nov 89 06:08:05 GMT References: <2530@dell.dell.com> Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 40 > >In article <464@tw-rnd.SanDiego.NCR.COM> jml@tw-rnd.SanDiego.NCR.COM (Michael Lodman) writes: >>of the things I would like to do is have the PCs share a >>printer tied to a Unix host. >: >>Does someone know how to accomplish this? Is there software, >>commercial or otherwise to do this? Thanks! > >ISC(actually Locus) has a package known as PC-Interface. It has a command, >PRINTER, that allows you to redirect output from DOS or applications >to UNIX printers. > >Michael J. Hammel | UUCP(preferred): ...!cs.utexas.edu!dell!Kepler!mjhammel >Dell Computer Corp. | Also: ...!dell!dell!mikeh or 73377.3467@compuserve.com >Austin, TX | Phone: 512-338-4400 ext 7169 > | "I know engineers, they looooove to change things" >Disclaimer: |: > These are my views, not necessarily those of the nice folks I work for. > I have hacked out a simple solution to this problem. We do not use it in production, so I do not know how it holds up. We have NCSA_Telnet running on the PC's. I have written a simple .bat file that uses the ftp command to upload the text file to the Unix host. Its destination filename is actually a named pipe. This pipe is read by the 'fileget' command, which I wrote, that issues a command for each file it receives. The command it issues is 'lpr' for this application. One problem is fileget is running as root, so all of the printouts get 'root' on the banner page instead of the username. One possible solution is to prepare a secondary banner page on each user's PC and prepend that to the file before uploading. If anyone wants the source so that they can play with it, let me know. -David- Bitnet: david@wubios.wustl ^ Mr. David J. Camp Internet: david%wubios@wucs1.wustl.edu < * > Box 8067, Biostatistics uucp: uunet!wucs1!wubios!david v 660 South Euclid Washington University (314) 36-23635 Saint Louis, MO 63110