summaryrefslogtreecommitdiff
path: root/include/cdps.h
blob: 180ebad02c63598c4bdb96b82b2b61f31720cbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** \file
 * \brief PS driver
 *
 * See Copyright Notice in cd.h
 */

#ifndef __CD_PS_H
#define __CD_PS_H

#ifdef __cplusplus
extern "C" {
#endif

cdContext* cdContextPS(void);

#define CD_PS cdContextPS()

#ifndef CD_PAPERSIZE
#define CD_PAPERSIZE
enum {                          /* paper sizes */
  CD_A0,
  CD_A1,
  CD_A2,
  CD_A3,
  CD_A4,
  CD_A5,
  CD_LETTER,
  CD_LEGAL
};
#endif

#ifdef __cplusplus
}
#endif

#endif /* ifndef __CD_PS_ */