home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / ibm / 728 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  2.6 KB

  1. Xref: sparky comp.protocols.ibm:728 comp.sys.ibm.pc:532
  2. Newsgroups: comp.protocols.ibm,comp.sys.ibm.pc
  3. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!ant
  4. From: ant@brolga.cc.uq.oz.au (Anthony Murdoch)
  5. Subject: Printing through a terminal server
  6. Message-ID: <ant.716437708@brolga>
  7. Sender: news@bunyip.cc.uq.oz.au (USENET News System)
  8. Organization: Prentice Centre, University of Queensland
  9. Date: Mon, 14 Sep 1992 02:28:28 GMT
  10. Lines: 43
  11.  
  12.  
  13. Hi,
  14.  
  15. A little over a week ago I posted a request for information about using a
  16. Terminal server to attach a printer to and allow PC's attached to the
  17. Terminal server to print to the printer.
  18.  
  19. I have had only one reply, which pointed out that there was some
  20. ambiguities in what I was trying to say.  I'll try to iron these out now
  21. in the hope that someone out there does have an answer for me.
  22.  
  23. They want to share the printer via the terminal server.  It is possible 
  24. (I am assured) to get the terminal server to connect one of its ports to
  25. another one.  So the software would look to see if the printers port was
  26. free, and if so grab it to print the job it has been given.  It would
  27. then let it go so that other machines would be able to print.
  28.  
  29. >Now it looks like you mean that the same COM port (say, COM1) is used at
  30. >one time for Kermit, and at another time as a serial printer port.  If that
  31. >is true, then there must have been some kind of manual switching going on --
  32. >Moving a cable?  Turning a T-switch?  Also, you have to get DOS involved,
  33. >right?  By using a MODE command to assign your printer to the serial port.
  34. >Otherwise how could you print from inside DOS applications like WordPerfect?
  35. >
  36. Yes, I want both operations to happen via com1.  But it is a little more
  37. complicated than that.  Each PC can only have control of the Printers port
  38. on the terminal server while it is actually printing.  Otherwise noone
  39. else can connect to the port, so noone else can print.  One thought was
  40. that you could place the terminal server commands needed in the pre-print
  41. and post-print feilds of the application so that the application sends the
  42. commands to connect the ports before the job and to disconnect after.
  43. But, this would have no control for cases where you print while someone
  44. else prints.
  45.  
  46. So, I think that a small TSR would be required.  What I could do would be
  47. to have the TSR unloaded when kermit is run (ie a batch file for kermit
  48. that unloads the TSR, runs kermit and then reloads the TSR).  Any ideas ?
  49.  
  50. It seems that I may have to do this myself - If this is the case, then
  51. suggestions on a good comms library for BC++ would be appreciated.
  52.  
  53. Thanx in Advance
  54. ant
  55.