Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!decwrl!amdcad!pyramid!pacbell!sactoh0!jcg From: jcg@sactoh0 (John C. Gonnerman) Newsgroups: comp.unix.xenix,ba.general,ca.general Subject: Re: LOCAL PRINTING (LPRINT) UNDER XENIX - NEED HELP! Summary: Half the answer, + speculation. Message-ID: <1001@sactoh0> Date: 23 May 89 04:04:10 GMT References: <31653@sri-unix.SRI.COM> Organization: SAC-UNIX (Public Access), Sacramento, Ca. Lines: 32 In article <2446@rencon.UUCP>, gary@rencon.UUCP (Gary Falsken) writes: > ... These users want to be able to print files out on their > local printers. SCO says I should use a program called lprint. I looked > up the command in the xenix manual and it says I need to generate termcap > entries for any of the terminals that have local printers. OK. Has anyone > already done this for ansi, vt52, vt100, vt102 termcaps? [ excess text deleted ] > -- > Gary Falsken I have used XENIX, and am familiar with lprint. It does, indeed, generate codes taken from termcap (or terminfo on most System V versions). These codes should have been delivered as part of the standard termcap entries for your version of the OS. However, the terminal emulators I have used have not often supported local printing. The answer is in your manual for Procomm, more than likely. Good terminal emulators do, but most do not. If you have an emulator for which source is available, you may be able to add these functions. On the terminals I have used, the control codes were "start printer" and "stop printer". While in printing mode, the terminal passed all escape codes except "stop printer" to the printer. The condensed, standout, etc. codes for the printer will therefore usually work. I am not sure if this is true for all terminals, however. Look around on local bulletin boards. MS-DOS machines have a number of PD or affordable shareware programs available which may solve this problem. Unfortunately, at this point XENIX has passed the ball to your PC's. (but if anyone out there has the MS-DOS solution to this problem, I would like it also...)