home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.setup
- From: sjr@dartac.demon.co.uk (Simon Roberts)
- Path: sparky!uunet!pipex!demon!dartac.demon.co.uk!sjr
- Subject: Re: Need Windows/FTP print setup help
- Reply-To: sjr@dartac.demon.co.uk
- Distribution: world
- X-Mailer: cppnews $Revision: 1.20 $
- Organization: Dartacross Limited, Cambridge, UK
- Lines: 55
- Date: Sat, 19 Dec 1992 11:56:58 +0000
- Message-ID: <724791418snx@dartac.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <dx3.19.723477725@dsrd.ornl.gov> dx3@dsrd.ornl.gov (C. H. Decker) writes:
- > I'm working on a project where most users have diskless PC's and remotely
- > mount the file systems of an IBM RS/6000 for disk drives using FTP's PC-
- > TCP+. All the printers on the network are set up as network printers and I
- > have a print que set up on the IBM so that I can print from the DOS command
- > line using the FTP "lpr" command. This works fine. Now I would like to set
- > up printing under windows to accomplish the same thing so that a user can be
- > in a windows application (WPWIN, Excel, etc.) and print. Does anyone have
- > any suggestions how to do this? Thanks!
-
- You have several options on how to do this - depending on the version of
- PC/TCP that you have.
-
- If you have version 2.05 or lower you can do what I do - I have setup Windows
- so that it uses a printer driver appropriate to the type of the
- physical printer (in my case a PostScript printer) and so that this printer
- is connected to a file.
-
- After printing from my application (to disk), I invoke a batch file which:
-
- 1. Copies the print file to the print server
- (you could use NFS mounted drives, rcp, ftp etc. for this
- depending on what your configuration supports).
-
- 2. Remotely executes an lp command on the server, with the
- print file that I transferred to the server as input.
-
- I did try using a remotely executed lp command with the print file passed
- using DOS/Windows stdin (i.e. a command of the form:
-
- rsh -b <host> -l rcmd lp -d<printer -o<options> <c:\tmp\net.prnt
-
- (I am not sure that this is absolutely correct - I do not have
- access to the system in question right now).
-
- I found this to be unreliable on my system and never got to the bottom of it.
- My other suggestion does work reliably though.
-
- Your other option if you are using PC/TCP 2.1 (or above) is to use the
- semi-transparent print redirection which has now been provided with
- hooks into Windows. When I last looked at this it was not terribly elegant.
- I refer you to the FTP manauals on how to set this up.
-
- I believe that FTP are working on better integration with Windows
- for both mass storage sharing using NFS and printing.
-
- Regards,
-
- Simon
-
- --
- Simon Roberts
- Dartacross Limited - Open Systems Consulting
- sjr@dartac.demon.co.uk (preferred)
- srob@cix.compulink.co.uk
-