File: utilPrinter.h

package info (click to toggle)
ted 2.11-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 11,064 kB
  • ctags: 13,935
  • sloc: ansic: 120,446; makefile: 7,469; sh: 253
file content (31 lines) | stat: -rw-r--r-- 915 bytes parent folder | download
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
/************************************************************************/
/*  A printer as found on the system.					*/
/************************************************************************/

#   ifndef	UTIL_PRINTER_H
#   define	UTIL_PRINTER_H

#   define	APPprinterPIPE		1
#   define	APPprinterTMPFILE	2
#   define	APPprinterTOFILE	3

typedef struct PrintDestination
    {
    char *	pdCommand;
    char *	pdPrinterName;
    int		pdPrintKind;
    int		pdPercentCount;
    int		pdCommandLength;
    } PrintDestination;

/************************************************************************/
/*  Routine declarations.						*/
/************************************************************************/

extern int utilPrinterGetPrinters(	int *			pPrinterCount,
					int *			pDefaultPrinter,
					PrintDestination **	pDestinations,
					const char *		customCommand,
					const char *		customName );

#   endif