| 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 |
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.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2932.1 | DecTerm hardcopy pressing one key | DGOSW0::FLEXAS | Mon Jun 25 1990 09:57 | 34 | |
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
| |||||