home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / DJPRNT.ZIP / PARMS.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-10  |  805 b   |  25 lines

  1. /*
  2.     PARMS.HPP
  3.     Copyright (c) Les Hancock 1990
  4. */
  5.  
  6. #ifndef PARMS_HPP
  7. #define PARMS_HPP
  8.  
  9. struct parms
  10. {
  11.     unsigned int max_rows:6;                              // can never exceed 63
  12.     unsigned int max_cols:8;                          // can never exceed 196
  13.     unsigned int pq:2;                                         // print quality
  14.     unsigned int lpi:4;                      // can't exceed 8 lines per inch
  15.     unsigned int tab_size:5;         // allow max of 31 spaces for tab expansion
  16.     unsigned int cpi:5;                     // can't exceed 20 chars per inch
  17.     unsigned int gutter:3;               // up to 7 spaces for mid-page gutter
  18.     unsigned int title:1;           // 1 if user chose to title pages, else 0
  19.     filebuf fp_out;
  20.     file_list file_list;
  21.     parms(int argc, char *argv[]);
  22. };
  23.  
  24. #endif
  25.