Added a test for MUIA_Listview_SelectChange.
[AROS.git] / compiler / include / prefs / printertxt.h
blobe3c2426f10d953d0460aff61c466bf1391b466ce
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef PREFS_PRINTERTXT_H
7 #define PREFS_PRINTERTXT_H
10 #ifndef EXEC_TYPES_H
11 # include <exec/types.h>
12 #endif
14 #ifndef LIBRARIES_IFFPARSE_H
15 # include <libraries/iffparse.h>
16 #endif
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
32 LONG pt_Reserved[4];
33 UBYTE pt_Driver[DRIVERNAMESIZE];
34 UBYTE pt_Port;
36 UWORD pt_PaperType;
37 UWORD pt_PaperSize;
38 UWORD pt_PaperLength; /* # of lines per page */
40 UWORD pt_Pitch;
41 UWORD pt_Spacing;
42 UWORD pt_LeftMargin;
43 UWORD pt_RightMargin;
44 UWORD pt_Quality;
47 #define PP_PARALLEL 0
48 #define PP_SERIAL 1
50 #define PT_FANFOLD 0
51 #define PT_SINGLE 1
53 #define PS_US_LETTER 0
54 #define PS_US_LEGAL 1
55 #define PS_N_TRACTOR 2
56 #define PS_W_TRACTOR 3
57 #define PS_CUSTOM 4
58 #define PS_EURO_A0 5
59 #define PS_EURO_A1 6
60 #define PS_EURO_A2 7
61 #define PS_EURO_A3 8
62 #define PS_EURO_A4 9
63 #define PS_EURO_A5 10
64 #define PS_EURO_A6 11
65 #define PS_EURO_A7 12
66 #define PS_EURO_A8 13
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
81 LONG pu_Reserved[4];
82 LONG pu_UnitNum;
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 */