1 /* 2 * Copyright (C) 2002-2004 The DOSBox Team 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 */ 18 19 #ifndef UAE_EPSONPRINTER_H 20 #define UAE_EPSONPRINTER_H 21 22 #define Bit16u uae_u16 23 #define Bit16s uae_s16 24 #define Bit8u uae_u8 25 #define Real64 float 26 #define Bitu uae_u32 27 #define Bits uae_s32 28 #define Bit32u uae_u32 29 30 #ifndef WINFONT 31 #include "ft2build.h" 32 #include FT_FREETYPE_H 33 #endif 34 35 #if defined (WIN32) 36 #include <windows.h> 37 #include <winspool.h> 38 #endif 39 40 #define STYLE_PROP 0x01 41 #define STYLE_CONDENSED 0x02 42 #define STYLE_BOLD 0x04 43 #define STYLE_DOUBLESTRIKE 0x08 44 #define STYLE_DOUBLEWIDTH 0x10 45 #define STYLE_ITALICS 0x20 46 #define STYLE_UNDERLINE 0x40 47 #define STYLE_SUPERSCRIPT 0x80 48 #define STYLE_SUBSCRIPT 0x100 49 #define STYLE_STRIKETHROUGH 0x200 50 #define STYLE_OVERSCORE 0x400 51 #define STYLE_DOUBLEWIDTHONELINE 0x800 52 #define STYLE_DOUBLEHEIGHT 0x1000 53 54 #define SCORE_NONE 0x00 55 #define SCORE_SINGLE 0x01 56 #define SCORE_DOUBLE 0x02 57 #define SCORE_SINGLEBROKEN 0x05 58 #define SCORE_DOUBLEBROKEN 0x06 59 60 #define QUALITY_DRAFT 0x01 61 #define QUALITY_LQ 0x02 62 63 #define JUST_LEFT 0 64 #define JUST_CENTER 1 65 #define JUST_RIGHT 2 66 #define JUST_FULL 3 67 68 enum Typeface 69 { 70 roman = 0, 71 sansserif, 72 courier, 73 prestige, 74 script, 75 ocrb, 76 ocra, 77 orator, 78 orators, 79 scriptc, 80 romant, 81 sansserifh, 82 svbusaba = 30, 83 svjittra = 31 84 }; 85 86 #endif /* UAE_EPSONPRINTER_H */ 87