LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Konsole 1.1 - How to Print Screen ? (https://www.linuxquestions.org/questions/linux-newbie-8/konsole-1-1-how-to-print-screen-22088/)

superken 05-29-2002 11:54 AM

Konsole 1.1 - How to Print Screen ?
 
Hello All,

Im using KDE 3.0 and Konsole 1.1 on SuSE Linux 8.0

Im a big newbie to linux and looking to replicate the functions of a company desktop on SuSE (leaving windows 98).


Question :

How do I print screen from within a Konsole session ?


Thank you for replies,

SuperKen

orgcandman 05-29-2002 11:59 AM

if by print screen you mean you want to capture a screen shot, you just need to run the import command.

import -window root screenshot.jpeg

or to be able to select an area of the screen

import screenshot.jpeg

hope this helps...although I don't quite understand what you meant.

superken 05-29-2002 12:25 PM

Hi orgcandman,

Thanks for your reply! Ill try to clarify the question more.

Users need to be able to start a Konsole session, then telnet to a remote application.

Once in this application, users need to be able to capture a "screen" then print it.

So the question is, how do I capture a snapshot image of the text in Konsole and send that image to the printer ?

Hope that makes more sense.

I think you are on the right track with your reply, but is there an easier way to do this ? Can I map a key in linux to capture a screen function in Konsole ?

I need simplicity here, the users are pretty much only used to there application commands, and will not be open to doing much more then that.

Thanks again !

orgcandman 05-29-2002 01:57 PM

fun with shell scripting....
 
ok, well, here's a "quick 'n dirty" way of doing things...

take kde's feature for binding commands to a key and bind
"import screen.jpeg" to some key <foo> or whatnot.

Then take that image and run it through konqueror or some
other jpeg viewer and have them print it.

You could invest in magicfilter and use that to write a script
similar to:

-- begin bash --
#!/bin/bash

import screen.jpeg
lpr screen.jpeg
-- end bash --

magicfilter automatically changes the jpeg to the canonical format
to be printed. you could check the import manpages for some way
to choose the currently focused window (I know there's a way to
do it...I just don't know how)

superken 05-29-2002 02:14 PM

Thanks again Orgcandman !

Ill attempt the first option you outlined as that would seem to fit the bill.

Ill post back on how it goes.

Thanks !


All times are GMT -5. The time now is 08:32 AM.