Debian Codegraph @

contrib/pcl3/src/pclcap.h

raw
1 /******************************************************************************
2 File: $Id: pclcap.h,v 1.10 2000/11/19 07:05:17 Martin Rel $
3 Contents: Header for describing capabilities of PCL printers
4 Author: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig,
5 Germany. E-mail: [email protected].
6
7 *******************************************************************************
8 * *
9 * Copyright (C) 2000 by Martin Lottermoser *
10 * All rights reserved *
11 * *
12 ******************************************************************************/
13
14 #ifndef _pclcap_h /* Inclusion protection */
15 #define _pclcap_h
16
17 /*****************************************************************************/
18
19 #include "gdeveprn.h"
20 #include "pclgen.h"
21
22 /*****************************************************************************/
23
24 /* Identifiers for printers (26) */
25 typedef enum {
26 HPDeskJet,
27 HPDeskJetPlus,
28 HPDJPortable, /* belongs to the 3xx family (DJ3/4 p. 1) */
29 HPDJ310,
30 HPDJ320,
31 HPDJ340,
32 HPDJ400,
33 HPDJ500,
34 HPDJ500C,
35 HPDJ510, HPDJ520, /* may be treated identically (TRG500 p. 1-3) */
36 HPDJ540,
37 HPDJ550C,
38 HPDJ560C,
39 pcl3_generic_old,
40 HPDJ600,
41 HPDJ660C, HPDJ670C, /* programmatically identical (DJ6/8 p. 2) */
42 HPDJ680C,
43 HPDJ690C,
44 HPDJ850C, HPDJ855C,
45 /* HP refers to them collectively as "HP DJ85xC" (DJ6/8) */
46 HPDJ870C,
47 HPDJ890C,
48 HPDJ1120C,
49 pcl3_generic_new
50 } pcl_Printer;
51
52 /*****************************************************************************/
53
54 /* PCL printer description */
55 typedef struct {
56 pcl_Printer id;
57 pcl_Level level;
58
59 eprn_PrinterDescription desc;
60 } pcl_PrinterDescription;
61
62 extern const pcl_PrinterDescription pcl3_printers[];
63 /* This array is indexed by the values of 'pcl_Printer'. */
64
65 /*****************************************************************************/
66
67 extern void pcl3_fill_defaults(pcl_Printer printer, pcl_FileData *data);
68
69 /*****************************************************************************/
70
71 #endif /* Inclusion protection */