Skip to content

HTTPS clone URL

Subversion checkout URL

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