Better check for 64-bit.
[AROS-Contrib.git] / vpdf / poppler_printer.h
blob7e86a987a28c0e4f30969555ed475cd40fcb99c4
1 #ifndef POPPLER_PRINTER_H
4 #include <exec/types.h>
5 #include <exec/lists.h>
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
12 /* printing (PS) and Turboprint */
14 // based on radiobuttons from printer class
15 #define VPDF_PRINT_POSTSCRIPT_2 0
16 #define VPDF_PRINT_POSTSCRIPT_3 1
17 #define VPDF_PRINT_TURBOPRINT 2
19 struct printerjob
21 int first;
22 int last;
23 int step;
24 char mode;
25 char reverse;
26 char autorotatescale;
27 char selection_mode;
28 int copies;
29 char collate;
30 int total_pages;
31 char page_scaling;
32 int pages_per_sheet;
33 char pages_order;
34 int pages[64];
35 char output[1024];
38 void *pdfPrintInit(void *_ctx, const char *path, int first, int last, struct printerjob *pj);
39 int pdfPrintPage(void *_pctx, int *page, int center, int);
40 void pdfPrintEnd(void *_pctx);
43 #ifdef __cplusplus
45 #endif /* __cplusplus */
48 #endif