/*
 * Copyright 1990 by Baylor College of Medicine ALL RIGHTS RESERVED. 
 *
 * This program is subject to a license agreement between 
 * Baylor College of Medicine and MIT. Any use inconsistent with
 * said license and any use by persons other than the faculty, 
 * students and staff at MIT or any use on a computer not operated 
 * as part of the Athena Computing Environment (ACE) is expressly 
 * prohibited.
 */
/*******************************************************************************
* SYSTEM...: Virtual Notebook System
*
* MODULE...: printer.h
*
* PURPOSE..:
*   Read in the site definition printer file 
*
* TAG: PRN
*
* REVISIONS:
*   Ross Dargahi                December 1990
*
*******************************************************************************/

/*check to see if this header file has been previously included*/

#ifndef PRINTER_H
#define PRINTER_H

/*******************************************************************************
Include Files
*******************************************************************************/



/*******************************************************************************
Public Defines
*******************************************************************************/



/*******************************************************************************
Public Data Structures
*******************************************************************************/

typedef struct printer_s
{
  char pname[256];
  float tMargin;
  float bMargin;
  float lMargin;
  float rMargin;
  int   colour;
} PRINTER_S;

/*******************************************************************************
External variable check
*******************************************************************************/

#ifdef PRINTER_C
#define PUBLIC
#else
#define PUBLIC extern
#endif

/*******************************************************************************
Public Global Declarations
*******************************************************************************/



/*******************************************************************************
************************   PUBLIC FUNCTION PROTOTYPES   ************************
*******************************************************************************/
#ifdef ANSI_C

int PRNloadPrinters(
      int       *noPrinters;  /*no of printers loaded into the printer array*/
      int       maxPrinters;  /*maximum number of printers to load*/
      PRINTER_S *printers;    /*pointer to an aray of printers*/
      char      *printeFile;  /*printer file name*/);

/*loads in site printer definitions*/

#endif

/******************************************************************************/
#undef PUBLIC
#endif
