Operating System - HP-UX
1829208 Members
3352 Online
109987 Solutions
New Discussion

How to catch the content as a image file in HP-UX text mode?

 
alexke
New Member

How to catch the content as a image file in HP-UX text mode?

Can somebody advise me how I can transfer the text on the screen to an image file while I operate on a remote side HP-UX server? I may need print the file out which contanted with some Asia words and the image files will be no problems to print them out. Thanks a lot.

Alex
6 REPLIES 6
Pradeep_29
Frequent Advisor

Re: How to catch the content as a image file in HP-UX text mode?

Do printscreen and paste in MSPaint. Save as jpg or bmp file.

Alt+PrintScreen will just capture that active window.

~Pradeep.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: How to catch the content as a image file in HP-UX text mode?

Microsoft Photo Editor will be a better option, if you have it installed.

As pointed out by Pradeep, printscreen button is the easiest thing to do.
Vibhor Kumar Agarwal
alexke
New Member

Re: How to catch the content as a image file in HP-UX text mode?

Thanks a lot, friends. The customer requires to print out a long list of commands in text mode on the server. The text contains some Asia font, and customer intend to transfer the text to image files before print it out to avoid the wrong code.

Could you suggest me, which command can perform the transfer action to print the whole text on the screen to an image file? Cheers

Alex
Vibhor Kumar Agarwal
Esteemed Contributor

Re: How to catch the content as a image file in HP-UX text mode?

In this case i think what ever you do, you will be able to get the input one screen at a time.

This is what you don't want.
Will redirecting the output help.
Vibhor Kumar Agarwal
Laurent Menase
Honored Contributor

Re: How to catch the content as a image file in HP-UX text mode?

xwd -out myfile.xpm -display remotesystem:0

if the env variable DISPLAY is defined, no need to do a -display.

the user must be in the Xauth, or an "xhost localsystem" or "xhost +" on the remote system must be made in order to allow the xwd to work.


To display the image:
xwud -in myfile.xpm

to print it: gostscript, gimp, ...
David Ritchie
Frequent Advisor

Re: How to catch the content as a image file in HP-UX text mode?

if you are just trying to capture text on a terminal session, try using the script command. man script for more details. Your posting is not to clear with respect to what you are trying do. You might elaborate a bit more on exactly what you are trying to do (X11 applications, Java, text mode?

If you are just capturing screenshots, you
might want to consider using SnagIt on a PC to capture these.

Best regards,
Dave Ritchie