
![]() | The information provided below applies to the UNIX versions of EasyCopy. |
The screen capture functions of EasyCopy can also be activated by the eccapt command line interface described here.
| $ eccapt [options] [output-file] |
The eccapt program uses right-to-left precedence: if an option is duplicated, the value supplied with the
one that is last specified (rightmost) is used.
Options and parameters (apart from path and display names) can be abbreviated as long as they can be
uniquely identified. For example, -help can be abbreviated to -h.
Options and parameters (apart from
path and host names) may be entered with uppercase or lowercase letters and with optional underscores
between "words". Letters are converted to lowercase and underscores are removed during parsing. For
example, -Capture_mode and -capturemode are treated the same.
Basic Options
Informational Options
Capture Options
A default interactive mode (see below) applies if no capture type option is supplied. If the command line
supplies more than one capture type option only the last one is used.
You can then define what you want to capture in one of the following four ways:
-capturemode { xe | xwd }
Silicon Graphics
|
IBM RS/6000
|
GL Capture on IBM RS/6000
The information provided here is included for reference and as an aid in troubleshooting situations. The command line interface to capgl is the following:
$ capgl file x0 x1 y0 y1 window buffer
|
![]() | The information provided in this section is intended for the System Administrator |
You can, for example, use this to provide hot keys for screen capture independently of EasyCopy’s graphical user interface.
![]() | It is recommended, to use the Hot Keys dialog to setup hot keys. The methods described below are provided for the case that you want to use eccapt in a customized solution. |
| Key | Shell script (example) | |
| PrintScreen | /mnt/hotkeys/PrtScr | |
| Shift F1 | /mnt/hotkeys/shiftF1 | |
| Ctrl F1 | /mnt/hotkeys/ctrlF1 |
Mwm (Motif Window Manager)
The resource file .mwmrc resides in your home directory (if not found a system-wide file
/usr/lib/X11/system.mwmrc applies). Locate this sequence:
|
Keys DefaultKeyBindings
{ ... } |
|
<Key>Print root|icon|window f.exec "/mnt/hotkeys/PrtScr &"
Shift<Key>F1 root|icon|window f.exec "/mnt/hotkeys/shiftF1 &" Ctrl<Key>F1 root|icon|window f.exec "/mnt/hotkeys/ctrlF1 &" |
| Mwm*keyBindings: DefaultKeyBindings |
Dtwm (CDE Window Manager)
The resource file .dt/dtwmrc resides in your home directory (if not found a system-wide file
/usr/dt/config/C/sys.dtwmrc applies). Locate the sequence
|
Keys DtKeyBindings
{ . . . } |
|
<Key>Print root|icon|window f.exec "/mnt/hotkeys/PrtScr &"
Shift<Key>F1 root|icon|window f.exec "/mnt/hotkeys/shiftF1 &" Ctrl<Key>F1 root|icon|window f.exec "/mnt/hotkeys/ctrlF1 &" |
| Mwm*keyBindings: DtKeyBindings |
| Keys 4DwmKeyBindings { . . . } |
|
<Key>Print root|icon|window f.exec "/mnt/hotkeys/PrtScr &"
Shift<Key>F1 root|icon|window f.exec "/mnt/hotkeys/shiftF1 &" Ctrl<Key>F1 root|icon|window f.exec "/mnt/hotkeys/ctrlF1 &" |
| Mwm*keyBindings: 4DwmKeyBindings |
Vuewm (Window Manager on HP workstations)
The resource file .vue/vuewmrc resides in your home directory (if not found a system-wide file
/usr/vue/config/sys.vuewmrc applies). Locate the sequence
| Keys VueKeyBindings { . . . } |
|
<Key>Print root|icon|window f.exec "/mnt/hotkeys/PrtScr &"
Shift<Key>F1 root|icon|window f.exec "/mnt/hotkeys/shiftF1 &" Ctrl<Key>F1 root|icon|window f.exec "/mnt/hotkeys/ctrlF1 &" |
| Mwm*keyBindings: VueKeyBindings |
Twm (Tab Window Manager)
The resource file .twmrc resides in your home directory (if not found a system-wide file
/etc/X11/twm/system.twmrc applies).
Insert the following lines:
|
"Print" = all : f.exec "/mnt/hotkeys/PrtScr &"
"F1" = s : all : f.exec "/mnt/hotkeys/shiftF1 &" "F1" = c : all : f.exec "/mnt/hotkeys/ctrlF1 &" |
Fvwm (Feeble Virtual Window Manager)
The resource file .fvwmrc resides in your home directory (if not found a system-wide file
/etc/X11/fvwm/system.fvwmrc applies).
Insert the following lines:
|
Key Print Exec "PrtScr" /mnt/hotkeys/PrtScr &
Key F1 AT S Exec "shiftF1" /mnt/hotkeys/shiftF1 & Key F1 AT C Exec "ctrlF1" /mnt/hotkeys/ctrlF1 & |
![]() | The information provided in this section is intended for the System Administrator |
Pipe a Captured Image into EasyCopy's Print Dialog
EasyCopy's graphical user interface opens in a special print
mode when an input file is supplied on stdin
(refer to the description of ecx).
The Main window is not shown; the Print dialog is entered directly:
You can now press Print to print the image supplied on stdin, or you can first modify the printer setup, layout, or other options.
In this mode EasyCopy terminates after you press Print or Cancel.
You can utilize this in a shell script where you pipe the image captured by eccapt into EasyCopy, and associate this script with a hot key, for example the Ctrl+PrintScreen key.
Pressing Ctrl+PrintScreen will then have the effect that you first capture a window or an area, and then get the Print dialog that allows you to print the captured image.
Immediate Print of the Captured Image
You can also pipe the captured image directly into ecprint if you want to print it
without opening the graphical user interface.