The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" iBot UNIX and Linux RSS News 0 01-04-2008 03:00 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
screen throws "permission denied" miechu Shell Programming and Scripting 6 10-24-2006 09:17 PM
what difference between "terminal" and "console" chenhao_no1 High Level Programming 1 09-09-2002 09:46 AM
Print The ouput From ls | grep "!!!" geoquest UNIX for Advanced & Expert Users 5 04-11-2002 05:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-31-2002
stembe stembe is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 1
Question How to "Print Screen" from a dumb terminal on AIX?

Hello Everyone,

How can I send a screen print of a dumb terminal to a printer?
AIX v4.3.3

Thanks in advance.
Suhas
  #2 (permalink)  
Old 10-31-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
In general, you can't. But it depends on the exact "dumb terminal" that you are using. With vt100's or clones thereof, this cannot be done. With HP terminals, it is possible to write a c program that will send an escape sequence to terminal that will induce it to transmit the line on which the cursor currently sits. By moving the cursor around with escape sequences and then retrieving the current line, the program can, with some effort, obtain a copy of everything on the screen. This is not a piece of cake though.
  #3 (permalink)  
Old 10-31-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
Are you wanting to just dump the current page to printer or text file?

There is a program for BSDs (and I betcha on Linux and others as well) called script that allows the user to capture output to a text file. While it is not exactly what you seek, it could be used for capturing output and later dumping to a printer.
  #4 (permalink)  
Old 11-15-2002
roden roden is offline
Registered User
  
 

Join Date: Nov 2002
Posts: 14
If you have a DEC VT or IBM terminal (I guess other brands do the same), you can attach a serial printer to the AUX port and after activating it in the terminal setup, you can hot key print the screen to the AUX port.

You could use the screen command and use software hardcopy of the virtual screen.

You could use the typescript output file and edit it before printing it (script command saves all input and output to a file).
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0