1 #ifndef PREFS_PRINTERGFX_H
2 #define PREFS_PRINTERGFX_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Printergfx prefs definitions
13 # include <exec/types.h>
16 #ifndef LIBRARIES_IFFPARSE_H
17 # include <libraries/iffparse.h>
21 #define ID_PGFX MAKE_ID('P','G','F','X')
24 struct PrinterGfxPrefs
31 UBYTE pg_ColorCorrect
;
34 UWORD pg_GraphicFlags
;
35 UBYTE pg_PrintDensity
;
36 UWORD pg_PrintMaxWidth
; /* in 1/10 of an inch */
37 UWORD pg_PrintMaxHeight
; /* in 1/10 of an inch */
38 UBYTE pg_PrintXOffset
; /* in 1/10 of an inch */
39 UBYTE pg_PrintYOffset
; /* in 1/10 of an inch */
42 #define PA_HORIZONTAL 0 /* Portrait */
43 #define PA_VERTICAL 1 /* Landscape */
46 #define PS_GREYSCALE 1
48 #define PS_GREY_SCALE2 3
57 #define PCCF_RED (1<<0)
58 #define PCCF_GREEN (1<<1)
59 #define PCCF_BLUE (1<<2)
71 #define PGFB_CENTER_IMAGE 0
72 #define PGFB_INTEGER_SCALING 1
73 #define PGFB_ANTI_ALIAS 2
75 #define PGFF_CENTER_IMAGE (1<<0)
76 #define PGFF_INTEGER_SCALING (1<<1)
77 #define PGFF_ANTI_ALIAS (1<<2)
79 #endif /* PREFS_PRINTERGFX_H */