printing escape codes

From: Karen T. Thomas Connecticut State University System <kthomas_at_dilbert.sysoff.ctstateu.edu>
Date: Mon, 15 Apr 1996 14:50:53 -0400

Managers,

        I am porting people from a VMS environment where they have access
to a DCL command procedure to print to their local printer when telneting
in over a modem. The procedure prints to sys$output escape codes, then types
the file. This works great on VMS but want to know how to implement this
same procedure on DU? Does anyone know the best way for a user to print
a file to a printer directly attached to their PC when they are telneting
in from home?

This is what a portion of the VMS DCL looks like:

.....
$ esc [0,7] = 27 <--- How would I do this in DU?
$ ff[0,7] = 12
$ write sys$output esc, "[5i" <--- How would I do this in DU?
$ type/nopage 'file'
$ write sys$output ff,esc,"[4i"
...


Thanks for any help,
Karen
-----------------------------------------------------------------------------

Karen Thomas
THOMASK_at_CTSTATEU.EDU

Connecticut State University Information Systems
Phone: (860) 832-0118
Fax: (860) 832-1730
Received on Mon Apr 15 1996 - 21:25:20 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT