Bug 326857

Summary: Print Screen/Copy Screen options menu
Product: [Applications] konsole Reporter: Bernard Gray <bernard.gray>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: lueck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernard Gray 2013-10-30 03:17:13 UTC
Exec Summary: 
Add either a right-click context menu, or File menu option with Print/Copy Screen options that allow direct printing or copying of the visible screen contents, either as text or as an image.

Detailed Description:
Add to either a right click context menu, or File menu the following options:
1. Print Screen - sends an image of the current konsole window to the KDE print dialog
2. Print Screen Inverted - sends an inverted (colours) image of the current konsole window to the KDE print dialog (useful for white text on black bg, to reduce toner usage)
3. Copy Screen to Clipboard (image) - copy an image of the current konsole window into the paste buffer (as image)
4. Copy Screen to Clipboard (text) - copy the visible text (not inc scrollback history) to paste buffer (as text)

Back Story:
I work for De Bortoli Wines in Australia. We're at the tail end of a 170+ Desktop KDE rollout, and have previously had a default terminal feature called "Print Screen". On our previous DE, it was an in-house hack in gnome-terminal which just snapshot and inverted the colours of the terminal screen (black to white bg for toner saving), then popped up a print dialog where the user could choose a printer to send it to.
This feature is extremely useful for our environment which includes a character interface to our ERP system, and we are hoping that it may be useful to others hence this request -

Thanks for your consideration (and very handy tool!)

Reproducible: Always

Steps to Reproduce:
na
Actual Results:  
na

Expected Results:  
na
Comment 1 Burkhard Lück 2013-10-30 05:59:04 UTC
Konsole 2.11.3 in KDE: 4.11.2 has an action File -> Print Screen with the shortcut Ctrl+Shift+P.

commit 2f56120a2ec1e9eb56c6a5e2e27abee744db49e7
Author: Kurt Hindenburg <kurt.hindenburg@gmail.com>
Date:   Sun Mar 25 10:54:34 2012 -0400

    -Wshadow fixes
    Add File->Print Screen menu option
    
    Patch by Kasper Laudrup laudrup@stacktrace.dk
    
    FEATURE: 249084
    FIXED-IN: 4.10
Comment 2 Christoph Feck 2013-10-30 10:57:00 UTC
Implemented since KDE 4.10, just tested to print to PDF, even includes printer-friendly mode (no colors, no background).

*** This bug has been marked as a duplicate of bug 249084 ***
Comment 3 Christoph Feck 2013-10-30 10:58:52 UTC
(regarding an image-type snapshot, simply use KSnapshot, it includes a "window content only" mode)
Comment 4 Bernard Gray 2013-10-31 01:32:43 UTC
Hi Cristoph, 
Thanks for the heads up on this, I *just* missed out on this resolution in my testing (using KDE 4.9.5).
I've done some further testing however, and have uncovered another (hopefully very simple to fix) issue - i've reported it separately: 
https://bugs.kde.org/show_bug.cgi?id=326920

Thanks, 
Bernard Gray