Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-24-2004, 06:42 PM   #1
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Question How do i print a terminal screen?

If i run a command in terminal on RH9 (Shell - Konsole)

Is there a command i can type to print the output (a pipe or something)

Old 04-24-2004, 10:58 PM   #2
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
yes, you can pipe it to lpr (line printer) or something like that
ls | lpr
will print out the current directory's contents
Be careful though, because the way you see it on the screen wont necessarily be the way it prints out. When i tried it out, it printed 1 column instead of the three that showed up in terminal.
I'm not sure if you want to print out stuff thats already appeared on the screen, cuz im not sure how to do that, but u could always take ur mouse highlight the portion, then move into a text editor and click ur middle mouse button, then just print from that app.
Old 02-26-2012, 05:04 PM   #3
LQ Newbie
Registered: Jan 2012
Distribution: Lubuntu & Debian Squeeze
Posts: 12

Rep: Reputation: Disabled
I know it's an old thread, but it still works great!

Example of what I needed it do, and it actually working, after reading this thread:

php gs.php | lpr
All "screen" output for the script gs.php goes directly to the printer.

Very cool, thanks!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
print the terminal saosurya Red Hat 1 09-11-2005 11:54 PM
sheel scripting (open new terminal and print in it) chunlee Linux - Newbie 2 10-15-2004 02:33 PM
can print from xpdf and terminal, not browser degraffenried13 Linux - General 3 08-29-2004 04:07 PM
I mam Not able to delete print queues,maybe from a terminal? deimos Linux - Newbie 1 08-05-2003 03:31 AM
Print Screen Artamir Linux - Newbie 2 11-27-2001 04:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:53 AM.

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