home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Pascal / MAXONPASCAL2.DMS / in.adf / INCLUDE / prefs / printerps.h < prev    next >
Encoding:
Text File  |  1994-07-25  |  2.7 KB  |  125 lines

  1. {$if not def PREFS_PRINTERPS_H} CONST PREFS_PRINTERPS_H=TRUE;
  2.  
  3. { *******************************************************************
  4.   ** KickPascal-Include-Datei "prefs/printerps.h" zu Kickstart 3.0 **
  5.   ******************************************************************* }
  6.  
  7. {$if not def LIBRARIES_IFFPARSE_H;incl "libraries/iffparse.h";endif}
  8.  
  9. CONST
  10.  ID_PSPD = $50535044; { "PSPD" }
  11.  
  12. TYPE
  13.  p_PrinterPSPrefs=^PrinterPSPrefs;
  14.  PrinterPSPrefs = RECORD
  15.   ps_Reserved      : array[0..3] of Long;
  16.   ps_DriverMode    : Byte;
  17.   ps_PaperFormat   : Byte;
  18.   ps_Reserved1     : array[0..1] of Byte;
  19.   ps_Copies        : LongInt;
  20.   ps_PaperWidth    : LongInt;
  21.   ps_PaperHeight   : LongInt;
  22.   ps_HorizontalDPI : LongInt;
  23.   ps_VerticalDPI   : LongInt;
  24.   
  25.   ps_Font          : Byte;
  26.   ps_Pitch         : Byte;
  27.   ps_Orientation   : Byte;
  28.   ps_Tab           : Byte;
  29.   ps_Reserved2     : array[0..7] of Byte;
  30.   
  31.   ps_LeftMargin    : LongInt;
  32.   ps_RightMargin   : LongInt;
  33.   ps_TopMargin     : LongInt;
  34.   ps_BottomMargin  : LongInt;
  35.   ps_FontPointSize : LongInt;
  36.   ps_Leading       : LongInt;
  37.   ps_Reserved3     : array[0..7] of Byte;
  38.   
  39.   ps_LeftEdge      : LongInt;
  40.   ps_TopEdge       : LongInt;
  41.   ps_Width         : LongInt;
  42.   ps_Height        : LongInt;
  43.   ps_Image         : Byte;
  44.   ps_Shading       : Byte;
  45.   ps_Dithering     : Byte;
  46.   ps_Transparency  : Byte;
  47.   ps_Reserved4     : array[0..7] of Byte;
  48.   
  49.   ps_Aspect        : Byte;
  50.   ps_ScalingType   : Byte;
  51.   ps_ScalingMath   : Byte;
  52.   ps_Centering     : Byte;
  53.   ps_Reserved5     : array[0..7] of Byte;
  54.  end;
  55.  
  56. CONST
  57.  DM_POSTSCRIPT  = 0;
  58.  DM_PASSTHROUGH = 1;
  59.  
  60.  PF_USLETTER    = 0;
  61.  PF_USLEGAL     = 1;
  62.  PF_A4          = 2;
  63.  PF_CUSTOM      = 3;
  64.  
  65.  FONT_COURIER           = 0;
  66.  FONT_TIMES             = 1;
  67.  FONT_HELVETICA         = 2;
  68.  FONT_HELV_NARROW       = 3;
  69.  FONT_AVANTGARDE        = 4;
  70.  FONT_BOOKMAN           = 5;
  71.  FONT_NEWCENT           = 6;
  72.  FONT_PALATINO          = 7;
  73.  FONT_ZAPFCHANCERY      = 8;
  74.  
  75.  PITCH_NORMAL           = 0;
  76.  PITCH_COMPRESSED       = 1;
  77.  PITCH_EXPANDED         = 2;
  78.  
  79.  ORIENT_PORTRAIT        = 0;
  80.  ORIENT_LANDSCAPE       = 1;
  81.  
  82.  TAB_4          = 0;
  83.  TAB_8          = 1;
  84.  TAB_QUART      = 2;
  85.  TAB_HALF       = 3;
  86.  TAB_INCH       = 4;
  87.  
  88.  IM_POSITIVE    = 0;
  89.  IM_NEGATIVE    = 1;
  90.  
  91.  SHAD_BW        = 0;
  92.  SHAD_GREYSCALE = 1;
  93.  SHAD_COLOR     = 2;
  94.  
  95.  DITH_DEFAULT   = 0;
  96.  DITH_DOTTY     = 1;
  97.  DITH_VERT      = 2;
  98.  DITH_HORIZ     = 3;
  99.  DITH_DIAG      = 4;
  100.  
  101.  TRANS_NONE     = 0;
  102.  TRANS_WHITE    = 1;
  103.  TRANS_COLOR0   = 2;
  104.  
  105.  ASP_HORIZ      = 0;
  106.  ASP_VERT       = 1;
  107.  
  108.  ST_ASPECT_ASIS = 0;
  109.  ST_ASPECT_WIDE = 1;
  110.  ST_ASPECT_TALL = 2;
  111.  ST_ASPECT_BOTH = 3;
  112.  ST_FITS_WIDE   = 4;
  113.  ST_FITS_TALL   = 5;
  114.  ST_FITS_BOTH   = 6;
  115.  
  116.  SM_INTEGER     = 0;
  117.  SM_FRACTIONAL  = 1;
  118.  
  119.  CENT_NONE      = 0;
  120.  CENT_HORIZ     = 1;
  121.  CENT_VERT      = 2;
  122.  CENT_BOTH      = 3;
  123.  
  124. {$endif}
  125.