status.i4.v = console_window_save_image_c(console.i4.v,

	This routine saves a console window image to a file.

	console		console number
	window_id	window handle
			(LX2_MAIN_TV_A -> PA TV window,
			 LX2_MAIN_GX_1A -> GxPA1 graphics window,
			 LX2_MAIN_GX_2A -> GxPA2 graphics window,
			 LX2_MAIN_TV_B -> PB TV window,
			 LX2_MAIN_GX_1B -> GxPB1 graphics window,
			 LX2_MAIN_GX_2B -> GxPB2 graphics window,
			 LX2_MAIN_TV_C -> PC TV window,
			 LX2_MAIN_GX_1C -> GxPC1 graphics window,
			 LX2_MAIN_GX_2C -> GxPC2 graphics window,
			 LX2_MAIN_TV_D -> PD TV window,
			 LX2_MAIN_GX_1D -> GxPD1 graphics window,
			 LX2_MAIN_GX_2D -> GxPD2 graphics window,
			 LX2_MAIN_TV_E -> PE TV window,
			 LX2_MAIN_GX_1E -> GxPE1 graphics window,
			 LX2_MAIN_GX_2E -> GxPE2 graphics window,
			 LX2_ALARMS -> alarm screen TV window,
			 LX2_SA -> SA graphics window,
			 LX2_SB -> SB graphics window,
			 LX2_SC -> SC graphics window,
			 LX2_SD -> SD graphics window,
			 LX2_SE -> SE graphics window,
			 LX2_UTILITY -> utility window)
	image_type	type of image
			(WINDOW_IMAGE_TO_GIF -> save as GIF image,
			 WINDOW_IMAGE_TO_D5 -> save as D5 image)
	file_name	null terminated image file name
			(maximum length is WINDOW_IMAGE_MAX_NAME_LEN characters)
	options		save options
			(WINDOW_IMAGE_OPT_NONE -> no options selected,
			 WINDOW_IMAGE_OPT_APPEND_DATE -> append date/time stamp
							 to file name (GIF only),
			 WINDOW_IMAGE_OPT_INVERT_COLORS -> invert colors when
							   saving image
							   (GIF only),
			 WINDOW_IMAGE_OPT_WAIT_FOR_SAVE -> wait for image save

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVARG		invalid console number, window ID,
				or image type passed
	ACNET_xxx		error in sending the command

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	console_window_home_c, console_window_position_c,
	console_window_set_size_c, console_window_raise_c,
	console_window_lower_c, console_window_iconify_c, copies(_c)

	C/C++ usage:

	static const char	file_name[] = "my_image.gif";
	int	status;
	int	console = 134;
	int	window_id = LX2_MAIN_TV_A;
	int	image_type = WINDOW_IMAGE_TO_GIF;
	unsigned int	options = WINDOW_IMAGE_OPT_NONE;

	status = console_window_save_image_c(console,window_id,image_type,