2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #ifndef PREFS_PRINTERTXT_H
7 #define PREFS_PRINTERTXT_H
11 # include <exec/types.h>
14 #ifndef LIBRARIES_IFFPARSE_H
15 # include <libraries/iffparse.h>
19 #define ID_PTXT MAKE_ID('P','T','X','T')
20 #define ID_PUNT MAKE_ID('P','U','N','T')
21 #define ID_PDEV MAKE_ID('P','D','E','V')
22 #define ID_PGFX MAKE_ID('P','G','F','X')
25 #define DRIVERNAMESIZE 30
26 #define DEVICENAMESIZE 32
27 #define UNITNAMESIZE 32
30 struct PrinterTxtPrefs
33 UBYTE pt_Driver
[DRIVERNAMESIZE
];
38 UWORD pt_PaperLength
; /* # of lines per page */
53 #define PS_US_LETTER 0
55 #define PS_N_TRACTOR 2
56 #define PS_W_TRACTOR 3
68 #define PP_PICA 0 /* 10 characters per inch */
69 #define PP_ELITE 1 /* 12 characters per inch */
70 #define PP_FINE 2 /* 17.1 characters per inch */
72 #define PS_SIX_LPI 0 /* 6 lines per inch */
73 #define PS_EIGHT_LPI 1 /* 8 lines per inch */
75 #define PQ_DRAFT 0 /* Density select 0 */
76 #define PQ_LETTER 1 /* Density select 1 */
79 struct PrinterUnitPrefs
83 ULONG pu_OpenDeviceFlags
;
84 UBYTE pu_DeviceName
[DEVICENAMESIZE
];
87 struct PrinterDeviceUnitPrefs
89 LONG pd_Reserved
[4]; /* Reserved */
90 LONG pd_UnitNum
; /* Unit number */
91 UBYTE pd_UnitName
[UNITNAMESIZE
]; /* Name of the unit */
94 #endif /* PREFS_PRINTERTXT_H */