home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / dvi2pcl.lha / dvi.h < prev    next >
C/C++ Source or Header  |  1992-11-25  |  4KB  |  102 lines

  1. /* $Log:    dvi.h,v $
  2.  * Revision 0.8  92/11/23  19:47:02  19:47:02  bt (Bo Thide')
  3.  * Fixed resolution bug. Portable downloading. Added/changed options. PJXL color support
  4.  * 
  5.  * Revision 0.7  92/11/13  02:41:16  02:41:16  bt (Bo Thide')
  6.  * More bug fixes and improvements. Support for PaintJet XL
  7.  * 
  8.  * Revision 0.6  92/11/10  21:48:43  21:48:43  bt (Bo Thide')
  9.  * Bug fixes. Added -R option. Better font handling.
  10.  * 
  11.  * Revision 0.5  92/11/09  16:25:49  16:25:49  bt (Bo Thide')
  12.  * Rewrite of dospecial.c. Extended \special support
  13.  * 
  14.  * Revision 0.4  92/11/08  02:46:06  02:46:06  bt (Bo Thide')
  15.  * Changed to portable bit manipulations. Replaced strrstr for non-POSIX compliant C. Fixed numerous bugs. Added support for more \special's.
  16.  * 
  17.  * Revision 0.3  92/08/24  12:45:24  12:45:24  bt (Bo Thide')
  18.  * Fixed 8 bit (dc font) support.
  19.  * 
  20.  * Revision 0.2  92/08/23  17:28:53  17:28:53  bt (Bo Thide')
  21.  * Source cleaned up.  Changed certain function calls.  Removed globals.
  22.  * 
  23.  * Revision 0.1  92/08/22  23:58:46  23:58:46  bt (Bo Thide')
  24.  * First Release.
  25.  *  */
  26.  
  27. #ifndef _DVI2PCL_DVI_INCLUDED
  28. #define _DVI2PCL_DVI_INCLUDED
  29.  
  30. /* Define dvi commands */
  31. #define DVI_SET_CHAR0    0        /* Typeset char 0 and move right */
  32. #define DVI_SET_CHAR127    127        /* Typeset char 127 and move right */
  33. #define DVI_SET1    128        /* Typeset a char and move right */
  34. #define DVI_SET2    129
  35. #define DVI_SET3    130
  36. #define DVI_SET4    131
  37. #define DVI_SET_RULE    132        /* Typeset a rule and move right */
  38. #define DVI_PUT1    133        /* Typeset a char */
  39. #define DVI_PUT2    134
  40. #define DVI_PUT3    135
  41. #define DVI_PUT4    136
  42. #define DVI_PUT_RULE    137        /* Typeset a rule */
  43. #define DVI_NOP        138        /* No operation */
  44. #define DVI_BOP        139        /* Beginning of page */
  45. #define DVI_EOP        140        /* End of page */
  46. #define DVI_PUSH    141        /* Save current DVI position */
  47. #define DVI_POP        142        /* Restore last DVI postition */
  48. #define DVI_RIGHT1    143        /* Move right */
  49. #define DVI_RIGHT2    144
  50. #define DVI_RIGHT3    145
  51. #define DVI_RIGHT4    146
  52. #define DVI_W0        147        /* Move right by w */
  53. #define DVI_W1             148        /* Move right and set w */
  54. #define DVI_W2        149
  55. #define DVI_W3        150
  56. #define DVI_W4        151
  57. #define DVI_X0        152        /* Move right by x */
  58. #define DVI_X1        153        /* Move right and set x */
  59. #define DVI_X2        154
  60. #define DVI_X3        155
  61. #define DVI_X4        156
  62. #define DVI_DOWN1    157        /* Move down */
  63. #define DVI_DOWN2    158
  64. #define DVI_DOWN3    159
  65. #define DVI_DOWN4    160
  66. #define DVI_Y0        161        /* Move down by y */
  67. #define DVI_Y1        162        /* Move down and set y */
  68. #define DVI_Y2        163
  69. #define DVI_Y3        164
  70. #define DVI_Y4        165
  71. #define DVI_Z0        166        /* Move down by z */    
  72. #define DVI_Z1        167        /* Move down and set z */
  73. #define DVI_Z2        168    
  74. #define DVI_Z3        169
  75. #define DVI_Z4        170
  76. #define DVI_FNT_NUM_0    171        /* Current font = 0 */
  77. #define DVI_TRAILER    223
  78. #define DVI_FNT_NUM_63    234        /* Current font = 63 */
  79. #define DVI_FNT1    235        /* Set current font */
  80. #define DVI_FNT2    236
  81. #define DVI_FNT3    237
  82. #define DVI_FNT4    238
  83. #define DVI_XXX1    239
  84. #define DVI_XXX2    240        /* Extensions to DVI primitives */
  85. #define DVI_XXX3    241
  86. #define DVI_XXX4    242
  87. #define DVI_FNT_DEF1    243        /* Define the meaning of a font # */
  88. #define DVI_FNT_DEF2    244
  89. #define DVI_FNT_DEF3    245
  90. #define DVI_FNT_DEF4    246
  91. #define DVI_PRE        247        /* Beginning of preamble */
  92. #define DVI_POST    248        /* Beginning of postamble */
  93. #define DVI_POSTPOST    249        /* End of postamble */
  94. #define DVI_UNDEF0    250
  95. #define DVI_UNDEF1    251
  96. #define DVI_UNDEF2    252
  97. #define DVI_UNDEF3    253
  98. #define DVI_UNDEF4    254
  99. #define DVI_UNDEF5    255
  100.  
  101. #endif /* _DVI2PCL_DVI_INCLUDED */
  102.