home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / lib / PRINTLIB.OPH next >
Encoding:
Text File  |  1996-02-05  |  711 b   |  38 lines

  1. #ifndef PRINTLIB_OPH
  2. #define PRINTLIB_OPH
  3.  
  4. /* The destination argument to pprint: should be... */
  5.  
  6. #define P_PRINT        0
  7. #define P_PREVIEW    1
  8.  
  9. /* Styles to use with pprintl: */
  10.  
  11. #ifndef P_STYLE_NORMAL
  12. #define P_STYLE_NORMAL        $0000
  13. #define P_STYLE_UNDERLINE    $0001
  14. #define P_STYLE_BOLD            $0002
  15. #define P_STYLE_ITALIC        $0004
  16. #define P_STYLE_SUPER            $0008
  17. #define P_STYLE_SUB                $0010
  18. #define P_STYLE_SANS_SERIF    $4000
  19. #define P_STYLE_MONOSPACE    $8000
  20. #endif
  21.  
  22. /* Print setup for use with pgetset%: & pset: */
  23.  
  24. STRUCT P_SETUP
  25.     model%
  26.     name$(128+2)
  27.     params%
  28.     header$(255)
  29.     footer$(255)
  30. ENDS
  31.  
  32. /* Argiment to pgethd$ - header or footer */
  33.  
  34. #define P_HDR_TOP 0
  35. #define P_HDR_BOT 1
  36.  
  37. #endif
  38.