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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2932.0. "HELP _ LOCAL DECwindow print " by AYOU77::KMCLELLAN (Cheers big ears!) Thu Jun 14 1990 07:15

Hi all,
       I apoligise if this note is in the wrong conference but would 
appreciate any help or pointers.

I have a vaxstation 3100 running DW v2 ( VMS 5.3 ).

Problem :

I have attached an LJ250 printer to the work station which ideally I would
like to press a function key ( F2) to automatically print off the contents
of the current active window.

The active  window could have DECpresent output or spreadsheet output etc.

Currently I have to print portin of screen which is NOT ideal.
many thanks in advance.

regards,
           kenny (AYOV29::KMCLELLAN)
T.RTitleUserPersonal
Name
DateLines
2932.1DecTerm hardcopy pressing one keyDGOSW0::FLEXASMon Jun 25 1990 10:5734
    See this topic, I think it would help you.
    
              <<< ELKTRA::NOTESPUBLIC:[NOTES$LIBRARY]DW_EXAMPLES.NOTE;1 >>>
                           -< "DECwindows examples" >-
================================================================================
Note 379.16                SIXEL Print Screen Program                   16 of 16
DGOSW0::FLEXAS                                       24 lines  25-JUN-1990 09:51
                       -< decterm hardcopy with F3 key >-
--------------------------------------------------------------------------------

    	I modified this program for a client who wanted to get the hardcopy
    of the current focus decterm with pressing one key.
    	You can find the executable and the source of this program in:
    
    	dgosw0::dua1:[world]
    
    N.B.: if you want to compile it tou must get the Jim West modified
    X_.ada file (pointers on it in this topic I think).
    
    	This remix does:
    	- wait for pressing <F3> key,
    	- in this case, get position and size of the (Text-)Widget
    which has the current input focus,
    	- create the SIXEL file of the hardcopy,
    	- and send this file in a printer queue (you must have define
    the logical name "HARDCOPY_PRINT" with for example:
    		"print/nofeed/passall/queue=...".
    
    For more explanation see decterm_print.ada or contact me or Jean-Marc
    SVIGA (DGOSW0::SVIGA).
    
    	Hope it will help.
    
    			Yeye