How to "Print Screen" from a dumb terminal on AIX?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to "Print Screen" from a dumb terminal on AIX?
# 1  
Old 10-31-2002
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  
Old 10-31-2002
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  
Old 10-31-2002
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  
Old 11-15-2002
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).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. AIX

How to enable "TCP MD5 Signatures" and "https" on AIX?

I have searched many times but nothing found. Somebody help please :(:(:( (1 Reply)
Discussion started by: bobochacha29
1 Replies

3. OS X (Apple)

"Locate" Shows Files but Not "LS" in Terminal

OS-X 10.8.4 Using locate I get these results: 10:~ mize$ locate /Users/mize/*.sh /Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh /Users/mize/copy_ascii_upload.sh /Users/mize/copy_ascii_upload_to_server.sh /Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
Discussion started by: Gary Mize
7 Replies

4. Shell Programming and Scripting

The pipe not use "tee" to print on the screen for specific function

I have code fragment like { aa bb cc } > $LOG aa bb cc, all call function "ff", I want "ff" to print on the screen,but others do not print on the scree, is there a method? I can't use "tee", becasue tee I meet the write "error" ff() { echo "hello" } (2 Replies)
Discussion started by: yanglei_fage
2 Replies

5. HP-UX

[Solved] Adding a "DUMB TERMINAL"

I have had a failure on an HP 715 workstation and luckily have plenty of spares to replace the failed one with. I know that on the server these files need to have the replacement machine configured: bootptab, hosts, and clusterconf I can ping the replacement workstation but the workstation... (4 Replies)
Discussion started by: gnappi
4 Replies

6. Solaris

How to check "faulty" or "stalled" print queues - SAP systems?

Hi all, First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for. I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies

7. HP-UX

Adding "dumb terminal"

I have a small network of dumb terminals (9 HP 715 RISC machines OS Ver A.09.05) one as an application server, the other 8 diskless workstations. One workstation failed and I need to get a spare up on the network. With a bootable disk in the spare machine I found the MAC address of the spare... (1 Reply)
Discussion started by: gnappi
1 Replies

8. Shell Programming and Scripting

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

hi All, cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g' Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies

9. AIX

Keep rebooting when reaching "Welcome to AIX" screen

Hi. My server was running fine for a couple of months. When the building power system needs to be maintained, we had to shutdown all servers, then my AIX server just didnt want to start at all. When it reaches the "Welcome to AIX" screen, it reboots again :( Could anyone have any idea what it... (2 Replies)
Discussion started by: bsddaemon
2 Replies

10. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Login or Register to Ask a Question