From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8b5aaa9ad660e16c,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-06-19 22:49:00 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!news-server.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!ed.leslie From: ed.leslie@canremote.uucp (ED LESLIE) Newsgroups: comp.sys.dec Subject: Print thru print port Message-ID: <735250e56c2d267f2a6c@canremote.uucp> Date: 20 Jun 90 05:49:00 GMT Organization: Canada Remote Systems Limited, Mississauga, ON, Canada Posted: Wed Jun 20 06:49:00 1990 heuer@decus.com.au (Powell A HEUER) writes: hu>We have a number TSX-Plus (a multi-user PDP-11 operating system) hu>systems, each of them with a number of VT-series terminals with hu>printer ports. Some of these terminals are fairly widely dispersed hu>so it takes a lot of serial lines to provided printers convenient to hu>all users. However, a printer connected to the printer port of the hu>user's terminal would be a good solution in many cases. hu>Does anyone know of software, ideally a pseudo-device handler, that hu>allows a printer on the VT-terminal's printer port to be used as the hu>destination for that user's printer output? I don't know about TSX-Plus code, but the print spooler on RSX-11M/M+ is fairly easily modified to do just this. I have done it on several client's machines. The RSX print despooler (this is the portion of the software which actually outputs to the device) has functionality to 'share' a non-dedicated printer. In this mode, it attaches the printer at the start of a job, and detaches at the end of the job. It is fairly easy to insert code into the same locations to output the escape sequence to turn on and off transparent printing (the output goes to the printer port, but not to the screen). This means that your CRT line is busy until the print finishes -- but my client's prints are generally short, and they installed 256KB print buffers in-line with the printers. The same method could, of course, be extended to grab the printer port on a line by line basis. The next problem encountered was that RSX allows only 16 queues, which is a severe limitation. I hacked at it some more, and came up with a mod such that the 8 despoolers (called PP0 through PP7 for this client) look at system data structures to see what terminal port queued the output. Thus, the system can support up to 8 simultaneous printer port outputs to an indefinite number of CRT users. Since the client uses only this method of driving printers, the default queue is directed to the set of PPx's. Hope this has been of assistance. Regards....Ed Leslie ---