Return to: U of M Home

Gold University of Minnesota M. Skip to main content.University of Minnesota. Home page.
 
Academics.

Mechanical Engineering Home >Info: Useful Links > ProE > XV tutorial

This tutorial walks you through the steps required to capture an image and save it as a GIF, JPEG or PostScript file and later print it. 'xv' can be used to capture images from any software.

Suppose that you are in Pro/E and want to print out the foll. image using 'xv'.
 

  • Go to your Unix shell and type 'xv' at the prompts followed by a carriage return. This will prop up the xv window. Click on this window with the right mouse button to bring up the menu. At this point, make sure that you get rid of or iconify all the current windows (except the Pro/E and xv menu windows) so that your image in Pro/E is not being interfered with by any other window.
  • In the xv controls window, click on the Grab button. This will pop-up the xv-grab window. Again iconify the xv controls window but leave the xv grab window as it is.
  • Click on Grab and then instantly click inside your Pro/E window with the left mouse button. If you want to be more safe, use the autograb facility or use a delay to grab the window(instructions for these are visible in the xv grab window. If you have done this step correctly, the window which you selected to grab, will blink a couple of times.
  • Now de-iconify all the xv windows. The captured image will show up in a xv window. Unless you want a color print-out, follow the steps 5-7 to lighten the background colors (to prevent ink wastage) in printing a black & white copy. To get a color print-out directly proceed to step 8. In the 'xv controls' window, click on the 24/8 bit button and select the 8-bit mode.
  • Select the Windows button and choose the Color Editor option. This will pop-up the xv Color Editor. In the colormap that shows up, select the background color i.e. dark blue in this case. We are going to change this to white (or any other lighter color).
  • To change to white, set the Red, Green & Blue values to 255 each. This will turn the dark blue background to white. Similarly cahnge the other colors to contrast with the now white background. (Black is rgb : 000)
  • After you are done with changing the color settings, select Apply, Set and Close respectively. Your image will look somthing like this :
  • In the xv controls menu, select Save. This will bring up the xv save window. Go into Format and select PostScript. Change the Colors option to B/W dithered or Greyscale if you want a black/white print-out. For color printout, leave the option to Full Color.
  • Type the name of the file to save as. Give extension '.ps' for PostScript, '.gif' for GIF file & '.jpg' for JPEG files.
  • Select 'Quit' from the xv controls to exit xv.
  • Use 'ghostview' to view your PostScript file. To print *.gif or *.jpg files use the Print option in the 'xv controls' window.
  • To print out the file use the 'lpr' command. Details of using this command are pasted in ITLabs.

 

Back to the Index
 
The University of Minnesota is an equal opportunity educator and employer.