Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (21 sloc) 0.798 kB
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 /* lp.h */
2 /* Copyright 1995 by Steve Kirkendall */
3
4
5 typedef struct
6 {
7 char *name; /* printer type, e.g. "epson" */
8 int minorno; /* value to pass to `before' */
9 BOOLEAN spooled; /* uses lpout spooler */
10 void (*before) P_((int minorno, void (*draw)(_CHAR_ ch)));/* called before print job */
11 void (*fontch) P_((_char_ font, _CHAR_ ch)); /* output a single char */
12 void (*page) P_((int linesleft)); /* called at end of each page */
13 void (*after) P_((int linesleft)); /* called at end of print job */
14 } LPTYPE;
15
16 BEGIN_EXTERNC
17 extern RESULT lp P_((WINDOW win, MARK top, MARK bottom, BOOLEAN force));
18 END_EXTERNC
19 extern LPTYPE lpepson, lppana, lpibm, lphp, lpdumb;
20 extern LPTYPE lpcr, lpbs;
21 extern LPTYPE lpps, lpps2;
22 #ifdef GUI_WIN32
23 extern LPTYPE lpwindows;
24 #endif
Something went wrong with that request. Please try again.