#include <exec/types.h>
#include <intuition/intuition.h>
#include <intuition/intuitionbase.h>

SHORT BorderVectors1[] = {
	0,0,
	102,0,
	102,9,
	0,9,
	0,0
};
struct Border Border1 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors1,	
	NULL	
};
SHORT helpBorderVectors1[] = {
	0,0,
	30,0,
	30,9,
	0,9,
	0,0
};
struct Border helpBorder1 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	helpBorderVectors1,	
	NULL	
};
struct IntuiText helptext = {
	2,0,JAM2,	
	3,0,	
	NULL,	
	(UBYTE *)"PRE",	
	NULL	
};

struct Gadget helpgad = {
	NULL,	
	318,46,	
	28,8,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&helpBorder1,	
	NULL,	
	&helptext,	
	NULL,	
	NULL,	
	82,	
	NULL	
};
#define HELPGADGET 82L

SHORT reqBorderVectors[] = {
	0,0,
	31,0,
	31,9,
	0,9,
	0,0
};
struct Border reqborder = {
	-1,-1,	
	3,0,JAM2,	
	5,	
	reqBorderVectors,	
	NULL	
};

struct IntuiText reqtext = {
	2,0,JAM2,	
	3,0,	
	NULL,	
	(UBYTE *)"REQ",	
	NULL	
};
struct IntuiText reqtext_1 = {
	2,0,JAM2,	
	3,0,	
	NULL,	
	(UBYTE *)"ARP",	
	NULL	
};
#define arptext reqtext_1
#define noarptext reqtext

struct Gadget reqgad = {
	&helpgad,	
	205,13,	
	29,8,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&reqborder,	
	NULL,	
	&reqtext,	
	NULL,	
	NULL,	
	45L,	
	NULL	
};
#define REQGAD 45L

SHORT prefBorderVectors[] = {
	0,0,
	51,0,
	51,9,
	0,9,
	0,0
};
struct Border prefborder = {
	-1,-1,	
	3,0,JAM2,	
	5,	
	prefBorderVectors,	
	NULL	
};

struct IntuiText preftext = {
	2,0,JAM2,	
	6,0,	
	NULL,	
	(UBYTE *)"PREFS",	
	NULL	
};
struct Gadget prefgad = {
	&reqgad,	
	295,13,	
	50,8,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&prefborder,	
	NULL,	
	&preftext,	
	NULL,	
	NULL,	
	84L,	
	NULL	
};
#define PREFGADGET 84L

SHORT infoBorderVectors[] = {
	0,0,
	51,0,
	51,9,
	0,9,
	0,0
};
struct Border infoborder = {
	-1,-1,	
	3,0,JAM2,	
	5,	
	infoBorderVectors,	
	NULL	
};

struct IntuiText infotext = {
	2,0,JAM2,	
	9,0,	
	NULL,	
	(UBYTE *)"INFO",	
	NULL	
};
struct Gadget infogad = {
	&prefgad,	
	240,13,	
	50,8,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&infoborder,	
	NULL,	
	&infotext,	
	NULL,	
	NULL,	
	167,	
	NULL	
};
#define INFOGADGET 167L

struct IntuiText IText1 = {
	2,0,JAM2,	
	9,0,	
	NULL,	
	(UBYTE *)"HAVE A NAP!",	
	NULL	
};

struct Gadget sleepgad = {
	&infogad,	
	208,46,	
	101,8,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border1,	
	NULL,	
	&IText1,	
	NULL,	
	NULL,	
	999,	
	NULL	
};
#define SLEEPGADGET 999L

UBYTE offgadSIBuff[4] =
	"0";
struct StringInfo offgadSInfo = {
	offgadSIBuff,	
	NULL,	
	0,	
	3,	
	0,	
	0,0,0,0,0,	
	0,	
	0,	
	NULL	
};
#define offstring offgadSInfo.Buffer
SHORT BorderVectors2[] = {
	0,0,
	32,0,
	32,9,
	0,9,
	0,0
};
struct Border Border2 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors2,	
	NULL	
};

#define OFFGADGET 988L
struct Gadget offgad = {
	&sleepgad,	
	68,124,	
	31,8,	
	NULL,	
	RELVERIFY+STRINGRIGHT+LONGINT,	
	STRGADGET,	
	(APTR)&Border2,	
	NULL,	
	NULL,	
	NULL,	
	(APTR)&offgadSInfo,	
	988L,	
	NULL	
};

SHORT BorderVectors3[] = {
	0,0,
	124,0,
	124,32,
	0,32,
	0,0
};
struct Border Border3 = {

	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors3,	
	NULL	
};

struct IntuiText IText2 = {
	1,0,JAM2,	
	5,12,	
	NULL,	
	(UBYTE *)"QUIT || CANCEL",	
	NULL	
};

#define QUITGADGET 9L
struct Gadget quitgad = {
	&offgad,	
	214,94,	
	123,31,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border3,	
	NULL,	
	&IText2,	
	NULL,	
	NULL,	
	9,	
	NULL	
};

SHORT BorderVectors4[] = {
	0,0,
	124,0,
	124,32,
	0,32,
	0,0
};

struct Border Border4 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors4,	
	NULL	
};

struct IntuiText IText3 = {
	1,0,JAM2,	
	16,11,	
	NULL,	
	(UBYTE *)" PRINT FILE",	
	NULL	
};

struct IntuiText IText3_1 = {
	3,0,JAM2,	
	16,11,	
	NULL,	
	(UBYTE *)"Please wait",	
	NULL	
};
#define PRINTGADGET 8L
#define printtext IText3
#define waittext  IText3_1

struct Gadget printgad = {
	&quitgad,	
	214,58,	
	123,31,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border4,	
	NULL,	
	&IText3,	
	NULL,	
	NULL,	
	8,	
	NULL	
};

UBYTE cfgadSIBuff[80] =
	"Default: NEC";
struct StringInfo cfgadSInfo = {
	cfgadSIBuff,	
	NULL,	
	0,	
	80,	
	0,	
	0,0,0,0,0,	
	0,	
	0,	
	NULL	
};

#define cfstring cfgadSInfo.Buffer
SHORT BorderVectors5[] = {
	0,0,
	140,0,
	140,9,
	0,9,
	0,0
};
struct Border Border5 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors5,	
	NULL	
};
#define CFGADGET 100L

struct Gadget cfgad = {
	&printgad,	
	208,34,	
	139,8,	
	NULL,	
	RELVERIFY+STRINGCENTER,	
	STRGADGET,	
	(APTR)&Border5,	
	NULL,	
	NULL,	
	NULL,	
	(APTR)&cfgadSInfo,	
	100,	
	NULL	
};

UBYTE tabgadSIBuff[3] =
	"3";
struct StringInfo tabgadSInfo = {
	tabgadSIBuff,	
	NULL,	
	0,	
	3,	
	0,	
	0,0,0,0,0,	
	0,	
	0,	
	NULL	
};
#define tabstring tabgadSInfo.Buffer
SHORT BorderVectors6[] = {
	0,0,
	32,0,
	32,9,
	0,9,
	0,0
};
struct Border Border6 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors6,	
	NULL	
};
#define TABGADGET 12L
struct Gadget tabgad = {
	&cfgad,	
	68,113,	
	31,8,	
	NULL,	
	RELVERIFY+STRINGRIGHT+LONGINT,	
	STRGADGET,	
	(APTR)&Border6,	
	NULL,	
	NULL,	
	NULL,	
	(APTR)&tabgadSInfo,	
	12,	
	NULL	
};
#define indstring indgadSInfo.Buffer
UBYTE indgadSIBuff[3] =
	"8";
struct StringInfo indgadSInfo = {
	indgadSIBuff,	
	NULL,	
	0,	
	3,	
	0,	
	0,0,0,0,0,	
	0,	
	0,	
	NULL	
};

SHORT BorderVectors7[] = {
	0,0,
	32,0,
	32,9,
	0,9,
	0,0
};
struct Border Border7 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors7,	
	NULL	
};
#define INDGADGET 333L
struct Gadget indgad = {
	&tabgad,	
	68,102,	
	31,8,	
	NULL,	
	RELVERIFY+STRINGRIGHT+LONGINT,	
	STRGADGET,	
	(APTR)&Border7,	
	NULL,	
	NULL,	
	NULL,	
	(APTR)&indgadSInfo,	
	333,	
	NULL	
};

SHORT BorderVectors8[] = {
	0,0,
	77,0,
	77,15,
	0,15,
	0,0
};
struct Border Border8 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors8,	
	NULL	
};

#define nopagenotext IText4
#define pagenotext IText4_1

struct IntuiText IText4 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"NO PAGE#",	
	NULL	
};
struct IntuiText IText4_1 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"PAGE#   ",	
	NULL	
};
#define PAGENOGADGET 120L
struct Gadget pngad = {
	&indgad,	
	124,114,	
	76,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border8,	
	NULL,	
	&IText4,	
	NULL,	
	NULL,	
	120,	
	NULL	
};

SHORT BorderVectors9[] = {
	0,0,
	77,0,
	77,15,
	0,15,
	0,0
};
struct Border Border9 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors9,	
	NULL	
};

struct IntuiText IText5 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"NOISY",	
	NULL	
};
struct IntuiText IText5_1 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"QUIET",	
	NULL	
};

#define NOISYGADGET  7L
#define noisytext IText5
#define quiettext IText5_1

struct Gadget nogad = {
	&pngad,	
	124,93,	
	76,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border9,	
	NULL,	
	&IText5,	
	NULL,	
	NULL,	
	7,	
	NULL	
};

SHORT BorderVectors10[] = {
	0,0,
	77,0,
	77,15,
	0,15,
	0,0
};

struct Border Border10 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors10,	
	NULL	
};
#define FILENAMEGADGET 6L
#define nofilenametext IText6
#define filenametext IText6_1

struct IntuiText IText6 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"NO FILEN",	
	NULL	
};
struct IntuiText IText6_1 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"FILENAME",	
	NULL	
};

struct Gadget fngad = {
	&nogad,	
	125,71,	
	76,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border10,	
	NULL,	
	&IText6,	
	NULL,	
	NULL,	
	6,	
	NULL	
};

SHORT BorderVectors11[] = {
	0,0,
	77,0,
	77,15,
	0,15,
	0,0
};
struct Border Border11 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors11,	
	NULL	
};
#define resettext  IText7
#define noresettext IText7_1

struct IntuiText IText7 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"RESET   ",	
	NULL	
};
struct IntuiText IText7_1 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"NO RESET",	
	NULL	
};
#define RESETGADGET 5L
struct Gadget resgad = {
	&fngad,	
	124,49,	
	76,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border11,	
	NULL,	
	&IText7,	
	NULL,	
	NULL,	
	5,	
	NULL	
};

SHORT BorderVectors12[] = {
	0,0,
	77,0,
	77,15,
	0,15,
	0,0
};
struct Border Border12 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors12,	
	NULL	
};

struct IntuiText IText8 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"IBM FONT",	
	NULL	
};
struct IntuiText IText8_1 = {
	3,0,JAM2,	
	7,3,	
	NULL,	
	(UBYTE *)"PLAIN   ",	
	NULL	
};

#define nodont_transformtext IText8
#define dont_transformtext IText8_1
#define IBMGADGET 4L

struct Gadget ibmgad = {
	&resgad,	
	123,28,	
	76,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border12,	
	NULL,	
	&IText8,	
	NULL,	
	NULL,	
	4,	
	NULL	
};

SHORT BorderVectors13[] = {
	0,0,
	61,0,
	61,15,
	0,15,
	0,0
};
struct Border Border13 = {
	-1,-1,	
	3,0,JAM2,	
	5,	
	BorderVectors13,	
	NULL	
};

struct IntuiText IText9 = {
	3,0,JAM2,	
	9,3,	
	NULL,	
	(UBYTE *)"6 LPI",	
	NULL	
};

struct IntuiText IText9_1 = {
	3,0,JAM2,	
	9,3,	
	NULL,	
	(UBYTE *)"8 LPI",	
	NULL	
};

#define jammed_linestext IText9_1
#define nojammed_linestext IText9
#define LPIGADGET	3L

struct Gadget lpigad = {
	&ibmgad,	
	26,84,	
	60,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border13,	
	NULL,	
	&IText9,	
	NULL,	
	NULL,	
	3,	
	NULL	
};

SHORT BorderVectors14[] = {
	0,0,
	61,0,
	61,15,
	0,15,
	0,0
};
struct Border Border14 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors14,	
	NULL	
};

struct IntuiText IText10 = {
	3,0,JAM2,	
	10,3,	
	NULL,	
	(UBYTE *)"NLQ  ",	
	NULL	
};
struct IntuiText IText10_1 = {
	3,0,JAM2,	
	10,3,	
	NULL,	
	(UBYTE *)"DRAFT",	
	NULL	
};
#define NLQGADGET 2L
#define nlqtext IText10
#define nonlqtext IText10_1

struct Gadget nlqgad = {
	&lpigad,	
	26,56,	
	60,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border14,	
	NULL,	
	&IText10,	
	NULL,	
	NULL,	
	2,	
	NULL	
};

SHORT BorderVectors15[] = {
	0,0,
	61,0,
	61,15,
	0,15,
	0,0
};
struct Border Border15 = {
	-1,-1,	
	3,0,JAM1,	
	5,	
	BorderVectors15,	
	NULL	
};

struct IntuiText IText11 = {
	3,0,JAM2,	
	4,4,	
	NULL,	
	(UBYTE *)"12 CPI",	
	NULL	
};

struct IntuiText IText11_1 = {
	3,0,JAM2,	
	4,4,	
	NULL,	
	(UBYTE *)"10 CPI",	
	NULL	
};
struct IntuiText IText11_2 = {
	3,0,JAM2,	
	4,4,	
	NULL,	
	(UBYTE *)"15 CPI",	
	NULL	
};
#define i15cpitext IText11_2
#define i12cpitext IText11
#define i10cpitext IText11_1
#define CPIGADGET 150L

struct Gadget cpigad = {
	&nlqgad,	
	26,26,	
	60,14,	
	NULL,	
	RELVERIFY,	
	BOOLGADGET,	
	(APTR)&Border15,	
	NULL,	
	&IText11,	
	NULL,	
	NULL,	
	150,	
	NULL	
};

#define GadgetList1 cpigad

struct IntuiText IText19 = {
	2,1,JAM2,	
	9,123,	
	NULL,	
	(UBYTE *)"Offset",	
	NULL	
};

struct IntuiText IText18 = {
	2,1,JAM2,	
	228,25,	
	NULL,	
	(UBYTE *)"COMMAND FILE",	
	&IText19	
};


struct IntuiText IText17 = {
	2,1,JAM2,	
	19,112,	
	NULL,	
	(UBYTE *)" Tabs",	
	&IText18	
};

struct IntuiText IText16 = {
	2,1,JAM2,	
	10,102,	
	NULL,	
	(UBYTE *)"Indent",	
	&IText17	
};

struct IntuiText IText15 = {
	2,1,JAM2,	
	129,15,	
	NULL,	
	(UBYTE *)"SWITCHES",	
	&IText16	
};

struct IntuiText IText14 = {
	2,1,JAM2,	
	42,74,	
	NULL,	
	(UBYTE *)"LPI",	
	&IText15	
};

struct IntuiText IText13 = {
	2,1,JAM2,	
	27,44,	
	NULL,	
	(UBYTE *)"QUALITY",	
	&IText14	
};

struct IntuiText IText12 = {
	2,1,JAM2,	
	14,15,	
	NULL,	
	(UBYTE *)"PRINT STYLE",	
	&IText13	
};

#define IntuiTextList1 IText12

struct NewWindow printwindow = {
	134,40,	
	354,136,	
	0,1,	
	GADGETUP+REQSET+CLOSEWINDOW+REQVERIFY+REQCLEAR,	
	WINDOWDRAG+WINDOWDEPTH+ACTIVATE+NOCAREREFRESH,	
	&cpigad,	
	NULL,	
	(UBYTE *)"Print V1.5A (c) HooverSoft 1990",	
	NULL,	
	NULL,	
	5,5,	
	-1,-1,	
	WBENCHSCREEN	
};


