EPICURE Software Release Note 155.0
Screen Printing in VMS MOTIF
Printing a single X window on your VMS MOTIF screen seems like it ought to be simple. In fact, there is a Print option on the menu bar of a simple Decterm window. If it works for you, good! I'm not aware of anybody who has gotten that print option to work. Instead, here's what works for me.
I print by using the separate Print Screen application. It's in the Session Manager window (a key if iconized), under the Applications menu. It's called Print Screen on that menu. Select it, and after a few moments, a separate window will come up with this print utility running.
If you plan to print lots of things, leave the print application running. Iconize it between uses. If you always plan to print a lot, you could even set the print application to be an Automatic Startup item. I don't bother with that, even though I print something at the end of every day.
Choose your settings for all the switches. When you have a setup that you like, make sure you save it by selecting Save Options in the Options menu. Then you won't have to mess with these settings each time you run the Print Screen application.
You can choose ``Portion of Screen'' or ``Entire Screen.'' I've not yet found a use for an entire screen printout. The portion of screen setting will allow you to choose which part of the screen to print.
The Time Delay can be a very useful setting. If it is set to 0 seconds, selection of screen area will begin as soon as you choose the Print option under File. If you set a delay time (5 or 10 seconds is nice), you will have a grace period during which you can bring your target window to the top of the screen. This is useful if the Print Screen application itself is covering it, for instance.
Accept the default filename, or enter your own choice. The default is a good choice, since a file ending in .TMP will be automatically cleaned up for you (deleted) in a day or two by our disk cleaning daemon.
Depending on your printer, choose the output format that your printer is capable of printing. Postscript is the best choice most of the time. HP4SI, HP5SI and Macintosh printers require postscript. The older LJ250 printers require Sixel output.
If your screen is mostly black, choosing Negative Image can save ink or toner, and can look better too. This selection interacts with Output Color though -- Ribbon Saver seems to be ignored unless the output color is Black and White.
Your choices for print orientation are ``Best Fit'', ``Portrait'', and ``Landscape''. Best Fit works quite well, but you may prefer one of the other options. This selection interacts with Fit-To-Paper.
The choices here are ``Black and White'', ``Color'', and ``Gray Scale''. If you don't have a color screen, you won't have that option. If you don't have a gray scale screen then you won't have that option either.
If you are printing to a black and white printer, you ought to choose either B&W or Gray Scale. You may have to experiment to see what works best with a particular image.
Choose your settings for all the switches. When you have a setup that you like, make sure you save it. Then you won't have to mess with these settings each time you run the Print Screen application. Find the Options menu (within the Print Screen application itself) and use item Save Options. Nothing visibly happens when you press it, but it will save your settings.
Get the image ready. Some programs periodically clear their screen and redraw. If it does this when you start the print, you'll be disappointed in the output. For such applications, you may want to freeze the target image before beginning to print. If the application accepts control-S, press control-S in each window you wish to freeze. X-programs may not stop on control-S. PLOT is unaffected by control-S. You might stop a plot, or scroll it to the left to stop the left shifting temporarily. Each program may be different.
If you saved to a file, rather than to a printer, remember to print the file. If it is a postscript file, be sure to use a printer capable of handling postscript! An HP4SI or HP4SI printer is a good choice. If it is a sixel file, an LJ250 printer should work.
If saving to a file, be aware that our directories are set up to allow only 5 versions of a file. When you save the 6th version, the oldest one will disappear. Print it or rename it before that happens, if you care about that version. You can change this version limit if you want to, on a file by file basis, or on a special subdirectory that you use for the print screen destination.
Portion of screenYou'll have to experiment with the colors in the PLOT program. With a black & white printer and a negative image, pink and all darker colors disappear. Yellow, white, and other light colors are fine. Find what works, and save your PLOT settings too.
Delay 5 seconds or so
Send to a file
File Name: default is ok; your choice
Negative image (unless a color printer)
Black & White (unless a color printer)
Scale to Fit or Reduce Only
Keywords: MOTIF, print