LOCAL PRINTING (LPRINT) UNDER XENIX - NEED HELP!

John C. Gonnerman jcg at sactoh0
Tue May 23 14:04:10 AEST 1989


In article <2446 at rencon.UUCP>, gary at 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...)



More information about the Comp.unix.xenix mailing list