// $Header: /MeWin/Src/PRINT.SH 8     1/24/95 10:32a Johnp $

#define POPTF_WRAP          0x0002
#define POPTF_USEFF         0x0004

#define POPTF_HEADERON      0x0010
#define POPTF_FOOTERON      0x0020

struct TPrintOptions
{
  int Flags;

  int HeaderOffset;
  int FooterOffset;

  int LMargin;
  int RMargin;
  int TMargin;
  int BMArgin;

  int LineNumbering;

  ASCIIZ  FontName [32];
  int     FontHeight;
  int     FontPointSize;
  int     CharSet;

  ASCIIZ Header [128];
  ASCIIZ Footer [128];

}

Global
{
  int hMewDevNames    "~HMEWDEVNAMES";
  int hMewDevMode     "~HMEWDEVMODE";
  str POptionsStruct  "~POPTIONS";
}


prototype Print
{
  void SetPrintCfg ();
  void SavePrintCfg ();
  void PrintWindow ( int parent, int win);
  void PrintSetup  ( int parent);
}