home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / RESPOOL.ZIP / RESPOOL.TXT < prev   
Text File  |  1991-07-08  |  4KB  |  77 lines

  1. Installation instructions for the Lan Manager Respooler:
  2.  
  3. 1. Create a "respooler" section in the lanman.ini file of the machine the respooler will run on.
  4.     In this section add a line for each redirected device in the form:
  5.  
  6.        <comm port>=<printer>,timeout
  7.  
  8.      Where:
  9.      comm port is a serial device such as com1
  10.      printer is a local print device such as laser1 or network UNC such as \\server1\laser1
  11.      timeout is the seconds to wait after the last character before end capping the print job
  12.  
  13.      Example:
  14.  
  15.      [Respooler]
  16.        com1=\\server1\laser1,10
  17.        com2=\\server1\laser2,10
  18.        com3=\\server2\laser1,10
  19.  
  20. 2.  Connect serial lines from the host machine serial printer ports to the appropriate ports on
  21.      the respooler machine.
  22.  
  23. 3.  Add the respooler to the services section of the lanman.ini:
  24.        respooler=c:\lanman\services\respool.exe
  25.  
  26. 4.  Copy the file "respool.exe" to the lanman\services directory.
  27.  
  28. 5.  Use the "mode" command in startup.cmd to set port characteristics before the respooler
  29.      is started.
  30.     
  31.      Example:
  32.  
  33.      c:\os2\mode com1:19200,n,8,1,to=off,xon=on,idsr=off,odsr=off,octs=off,dtr=off,rts=off
  34.  
  35. 6.  The printers the respooler will print to can be used deviceless.  However, if they aren't
  36.      the respooler should connect to them automatically as long as the username at the
  37.      respooler machine has permission to access them.
  38.  
  39. 7.  At the end of startup.cmd start the respooler:
  40.        net start respooler
  41.  
  42. 8.  The respooler responds to the normal Lan Manager service commands, so it can be
  43.      started, stopped, paused, and continued.
  44.  
  45. The respooler has been tested with an HP 3000 connected to multiple ports on a PS/2
  46. model 80 running OS/2 1.3 SE and Lan Manager 2.0B with no problems so far.  In setting the port configurations it is necessary to determine the proper flow control etc. to use.  Using
  47. the mode command to set these parameters provides the greatest flexibility.  Hardware
  48. requirements for the respooler will depend on the amount of utilization.  In our case a 16MHZ
  49. 386 machine which was also used to run our test/development SQL server was sufficient. 
  50. What must be considered is how often multiple host printers are simultaneously active.  In
  51. our case 3 were no problem.  A much larger number could be active with some kind of
  52. bus-master serial controller.  If hardware flow control is used with a PS/2, speed buffering
  53. can be enabled through mode with buffer=auto.
  54.  
  55. The end cap for print jobs is determined by the timeout parameter.  After no characters are
  56. read from the serial port for the specified number of seconds the print job is end capped.
  57. In the event that several very large print jobs are spooled back to back without sufficient
  58. pauses to allow end capping, extremely large spool files will result, so ensure that the 
  59. spool volume on your server has plenty of space.  It is possible that a printer could be 
  60. utilized non-stop in which case the current respooler implementation would never end cap,
  61. the jobs would never print, and your server would run out of disk space.  Although this is 
  62. unlikely to happen in most environments,  the next release will have a feature to auto end 
  63. cap and split up large jobs after so many pages.  If your host system sends an EOJ character or anything uniquely discernable between print jobs then the respooler could be modified to
  64. look for this and thus avoid the end cap problems all together.
  65.  
  66. Another possibility I have considered is routing host print jobs to various printers identified 
  67. by a control sequence at the beginning of each print job.  This would allow one serial port
  68. to connect to the host and multiplex all of the print jobs.  On the host side it would require
  69. flexibility in how JSeps are set up.  Our HP doesn't allow this, at least not easily, so I have
  70. opted for the multiple port approach.
  71.  
  72. If you have any questions call:
  73.  
  74.                     Phillip Austin
  75.                     (405) 841-9366 or (405) 751-6748
  76.  
  77. P.S.  I do custom programming and consulting if any one is interested.