Article Title : DPS imagetool Creation Date : 11/03/94 Message ID : KGFNJQ Last Update : Expiration Rules : unknown Location : NCD-Articles/NCD_X_Terminals/Display_Postscript ================================================================= To run image tool Get onto a Solaris system setenv OPENWINHOME /usr/openwin Get fonts set up You will need special fonts to run imagetool. Put these fonts second in your font path right after built-ins; putting them last will not work. The fonts you will need are the following. myhost% ls OLCursor46.pcf fonts.alias Solaris_fonts.tar fonts.dir Then just type in imagetool myhost% imagetool ************* Errors resulting from not having the fonts set properly. The image will flash up real fast then the application will shut down. This results from not having the above mentioned fonts or putting them in the wrong place. If you do not have the fonts then you will get the following error message at the command line. myhost% imagetool X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Minor opcode of failed request: 0 Resource id in failed request: 0xc Serial number of failed request: 1869 Current serial number in output stream: 1873 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Value in failed request: 0xc Serial number of failed request: 1869 Current serial number in output stream: 1872 myhost% If you have the fonts, but have them last in your font path you will still get the same error as follows. myhost% imagetool X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Minor opcode of failed request: 0 Resource id in failed request: 0xc Serial number of failed request: 1700 Current serial number in output stream: 1704 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Value in failed request: 0xc Serial number of failed request: 1700 Current serial number in output stream: 1703 myhost% ************* Colormap flash problem To get the proper color with imagetool put the focus on the picture window and press alt F12. ************ Errors surrounding the setting of the OPENWINHOME environment variable If the OPENWINHOME environment variable is not set or is set to the wrong directory then the following errors will result. imagetool will come up and display a main menu. Then click on the file button and a popout menu, called Image Tool Open will come out. Then you choose the directory such as /usr/openwin/share/images/PostScript Now when you try to open this image the following error message will appear at the bottom up the main menu. File format not found. Use Open As option to choose file for Then if you use Open As you get another error message: Error opening /usr/openwin/share/images/PostScript/butterfly.ps Now exit the applicatoin and reset the OPENWINHOME environment variable. Now the application will work. If you try to set the OPENWINHOME environment variable while the imagetool application is still running then you will continue to get the same error, so it is necessary to exit the imagetool application, set the OPENWINHOME environment variable properly, then restart the imagetool application.