LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2002, 11:54 AM   #1
superken
LQ Newbie
 
Registered: May 2002
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 05-29-2002, 11:59 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
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.
 
Old 05-29-2002, 12:25 PM   #3
superken
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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 !
 
Old 05-29-2002, 01:57 PM   #4
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
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)
 
Old 05-29-2002, 02:14 PM   #5
superken
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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 !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank screen in konsole after nvidia driver installation J_Szucs Linux - Hardware 7 08-20-2005 12:07 PM
print to screen... jake_01 Programming 2 05-16-2005 10:43 AM
Print Screen: How? hongman Linux - Newbie 7 03-09-2005 12:33 PM
print screen alaios Linux - General 4 05-18-2003 02:05 PM
Print Screen katana Linux - General 3 02-15-2002 12:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration