MU-VMS Archives

October 1996

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Thu, 24 Oct 1996 19:45:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
In article <[log in to unmask]>, [log in to unmask] (Jam
es Howard) writes:
> What is/are the VT100/ANSI escape code(s) for "print attached to ANSI"?
 
Are you looking for the escape codes to print to a locally-attached
printer?  If so, here they are:
 
To turn the printer on:
 
    <esc>[5i
 
To turn the printer off:
 
    <esc>[4i
 
where '<esc>' is the escape character.
 
If you're wanting to do this from MiaVX1, there's already a command that
will let you do this for files.  The command is called TPRINT.  For
example,
 
    $ TPRINT LOGIN.COM
 
will print your LOGIN.COM file to your locally attached printer.
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]

ATOM RSS1 RSS2