|
|
1.1 ! root 1: ! 2: /* ! 3: * ! 4: * A few system and printer dependent definitions. Most are used to do ! 5: * variable initialization and can easily be changed to suit your own ! 6: * setup. ! 7: * ! 8: * ! 9: * FONTDIR - binary font file directory. Really only used in dimpress. ! 10: * If dimpress is processing a file that was generated for ! 11: * printer "xxx" it appends string "/devxxx" to FONTDIR ! 12: * to get the real binary font directory pathname. You ! 13: * can use the -F option to change the font directory. ! 14: * ! 15: * BITDIR - Sort of the same as FONTDIR, but this is for raster ! 16: * files instead of font files. Again this guy is really ! 17: * only used by dimpress. If you're using raster files for ! 18: * device "xxx" then "/rastxxx" is appended to BITDIR to ! 19: * get the real raster file directory. Can be changed using ! 20: * the -B option. ! 21: * ! 22: * OLDBITDIR - Really just the same as BITDIR, but its value is used ! 23: * when we're printing using the old raster files for the ! 24: * Imprint-10. DWB hid them in /usr/lib/font/devi10/rasti10 ! 25: * and you may have put them somewhere else. ! 26: * ! 27: * RESDIR - Printer resident fonts are described in files found in ! 28: * directory BITDIR/RESDIR. They're ASCII and usually named ! 29: * the same as the target printer. That handles most cases ! 30: * but not all, because two otherwise identical printers ! 31: * could easily support different resident fonts. The file ! 32: * that dimpress uses is *resfile, which by default has ! 33: * the same name as the target printer, although it can ! 34: * be changed by an option. ! 35: * ! 36: * RASTDATA - ASCII file found in the final raster directory that ! 37: * describes the format and resolution of the raster files. ! 38: * It's used by dimpress and can be built by hand or by ! 39: * buildrast. ! 40: * ! 41: * RASTERLIST - Another ASCII file found in the final raster directory. ! 42: * Lists the raster file sizes available for all the fonts. ! 43: * format is the same as the original file used by di10 or ! 44: * dcan. The file must be there for old format raster files, ! 45: * but is optional for the new format - although I advise ! 46: * that it be used. ! 47: * ! 48: * IPR - Pathname for Imagen's ipr program. A system() call to this ! 49: * guy is generated by dimpress (routine print_file()) if we ! 50: * haven't invoked the post-processor with the -t option. ! 51: * ! 52: */ ! 53: ! 54: ! 55: #define FONTDIR "/usr/lib/font" ! 56: #define BITDIR "/usr/lib/raster" ! 57: #define RESDIR "RESIDENT" ! 58: #define OLDBITDIR "/usr/lib/font/devi10" ! 59: ! 60: ! 61: #define RASTLIST "RASTERLIST" ! 62: #define RASTDATA "RASTERDATA" ! 63: ! 64: #define IPR "/usr/bin/ipr" ! 65:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.