COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

	Copyright (c) 1998 New Deal, Inc. -- All Rights Reserved

PROJECT:	NewBASIC
MODULE:		Input/Output Component Set - Print Component
FILE:		print.goh

AUTHOR:		Martin Turon, June 2, 1998

ROUTINES:
	Name			Description
	----			-----------

REVISION HISTORY:
	Name	Date		Description
	----	----		-----------
	martin	1998/6/2   	Initial version.

DESCRIPTION:

	PrintControlComponentClass:
		* EVENTS:	
	        * PROPERTIES:   output, 
	        * ACTIONS:      print, show, cancel, done

	$Id: print.def,v 1.1 98/06/24 20:54:17 martin Exp $

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@

include Legos/ent.def
include Legos/gadget.def
include spool.def		; PrintControlClass

;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
;		Component Class Definitions
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

PrintControlComponentClass class GadgetClass	; EntVisClass
	uses PrintControlClass

	StartPropertyMessages	PrintControlComponent, Gadget
	MSG_PCC_GET_OUTPUT		message
	MSG_PCC_SET_OUTPUT		message
	MSG_PCC_GET_NAME		message
	MSG_PCC_SET_NAME		message
	MSG_PCC_GET_SIZE		message
	MSG_PCC_SET_SIZE		message
	MSG_PCC_GET_MARGINS		message
	MSG_PCC_SET_MARGINS		message
	MSG_PCC_GET_ATTRS		message
	MSG_PCC_SET_ATTRS		message
	MSG_PCC_GET_PAGES		message
	MSG_PCC_SET_PAGES		message
	EndPropertyMessages     PrintControlComponent, Gadget, 24

	StartActionMessages	PrintControlComponent, Gadget
	MSG_PCC_DO_PRINT		message
	MSG_PCC_DO_INITIATE		message
	MSG_PCC_DO_REPORT		message
	MSG_PCC_DO_CANCEL		message
	MSG_PCC_DO_COMPLETED		message
	EndActionMessages	PrintControlComponent, Gadget, 16

PrintControlComponentClass	endc


ERROR_PRINT_COMPONENT_FAILURE		enum 	FatalErrors
WARNING_PRINT_COMPONENT_PROBLEM		enum	Warnings















