	  Proposed PaintJet support for Pascal 3.21.

Support would be in a library.  This would NOT be a DGL library, but an
external standard library (like IO or DGL).  It would allow color dump
of color graphic Series 300 CRT images to a PaintJet printer, under
programmatic control.  It would NOT enable the DUMP GRAPHICS key for
color dump, nor would it affect the DUMP ALPHA key.  It would NOT turn
the PaintJet into a "virtual plotter"; that is, DGL could not specify a
PaintJet type to plot to, nor would any other graphics library
automatically know how to create rasters from vectors, polygons, text,
etc.

DUMP GRAPHICS and DUMP ALPHA would continue to dump any supported
screens (color, mono, etc) that can be CRT consoles, in mono to the
PaintJet, treating it as if it were a ThinkJet.

DGL output_esc dumps would dump monochrome renderings to PaintJet much
as it does now for ThinkJet.

The library would contain procedure(s) to set up parameters and cause a
dump of the specified CRT to PaintJet.  It would have no other functions.

Supported devices:			Unsupported Devices:
	hp98543A (lo-res color)			98627A (moonunit)
	hp98545A (mid-res color)		all Series 200 CRTs
	hp98547A (mid-res color)		98700A (GatorBox)
	hp98549A (mid-res color)		monochrome Bobcat
	hp98550A (hi-res color)			monochrome CATSEYE
	
Possible interface:

module PaintJetDump_module;

import SYSGLOBALS;
export
 type 
	PJ_crt_type=(hp98543A, hp98545A, hp98547A,
		     hp98549A, hp98550A);
	
	orientation_type=(normal, rotated);

	rendering_type=(dither2x2, error_distributed);

 function paintjet_dump(sc: byte; crt: PJ_crt_type; 
			orientation: orientation_type; 
			rendering: rendering_type) : shortint;

implement

end.

Paintjet_dump would return 0 for success, or an error code (probably from
the file system errors).

Example:

	...
	err:= paintjet_dump(6, hp98547A, rotated, error_distributed);
	if err <> 0 then report_dump_error(err);
	...

Potential difficulties:
	
	must specify crt select code (eg 3, 6, 28, etc)

	must specify crt type (eg hp98547A). This may be the biggie!

	not part of DGL

	not available through dump key

	not very expandable interface (eg new crts, new printers)

	not hooked (could link fail at application load time, if not
	linked in to the application)

