[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

367.0. "VT125 print screen" by HOTRAT::HEISERM (Mike Heiser , PNO) Thu Dec 11 1986 10:03

    Need some assistance on how to do a "print screen" on a
    VT125 that will dump the screen to the printer port.  
    
    Is it possible through an ESC sequence or are the codes
    used up in ReGIS ?
    
    Mike
    
T.RTitleUserPersonal
Name
DateLines
367.1one way to print on the 125EXPORT::AMESMon Dec 15 1986 13:3811
    Mike;
    
    I use a little basic program to turn on the pronter port and another
    to trun it off.  It's not the best of all worlds, but it will get
    the words onto an attached printer.
    
    Send me mail if you would like a copy.
    
    /DON
    
    
367.2my real nodeEXPORT::AMESMon Dec 15 1986 13:414
    And I should have mentioned that my node is really WNPV01::ames
    
    Notes still is using or old node name...  Don't ever try to change
    a node name....
367.3Try Again !HOTRAT::HEISERMMike Heiser , PNOMon Dec 15 1986 13:4410
    I know how to print a file to the printer on my port.  Maybe
    I need to clarify this a little.  I was regarding to something
    like the "Print Screen" key on the VT2xx series.  Is that
    possible with a VT125 ?
    
    I've heard of using a CTRL ENTER on a VT100 or a CTRL P ,
    but it doesn't work on the VT125 !
    
    Mike
    
367.4VT125 Escape SequencesTHEBAY::HAYESSame stuff, different DayMon Dec 15 1986 17:2624
    
    Looking in my VT125 Users Guide, I don't see a direct way to do
    what you want (which I believe is called "Print Extent" on a VT102).
    There are the following escape sequences that may help you:
    
    	ESC [ 4 i	Turn off copying of data from the host
    			computer to the printer port
    
    	ESC [ 5 i	Turn on copying of data from the host
    			computer to the printer port
    
    	ESC [ 6 i	Turn off copying of data from the host
    			computer to the screen
    
    	ESC [ 7 i	Turn on copying of data from the host
    			computer to the screen

    One way to try these out is to put your VT125 in local mode and
    just type them in.  Note, however, that you must use a lowercase
    "i".
    
    Regards,
    John
    
367.5VIDEO::LEICHTERJJerry LeichterWed Mar 11 1987 22:333
The printer port on a VT125 is unique, and limited.  I don't believe there is
any way to do what you want.
							-- Jerry
367.6It's been tried, many times.FROST::HARRIMANControversy,ChatterThu Mar 12 1987 09:2114
    re: .4, .5
    
    	Jerry is correct. There is no way other than .4's escape sequences
    to even deal with the 125 printer port. When the 125 was current
    technology it seems there was no thought given to taking snapshots
    of a screen. You could always reproduce your screen again after
    turning on your printer port via the escape codes in .4.
    
    	If you are trying to illustrate a manual or something like that
    you might consider investigating the SMG routines that deal with
    snapshots. They dump directly to files if you want them to.
    
    /pjh
    
367.7c'est la vie37935::ZARLENGABigger they are, Harder they hitThu Mar 12 1987 10:2812
    	You can print the graphics planes to a local printer with
    a s(h) from inside ReGIS.   That is all.
    
    	There is no built-in way to print the text plane to a local
    printer.  As said earlier, you must 
    
    	a) turn printer port on
    	b) TYPE (or similar command) the file to the terminal
    	c) turn printer port off

    
    -mike