23 #ifndef _LAX_SIMPLEPRINT_H
24 #define _LAX_SIMPLEPRINT_H
26 #include <lax/lineedit.h>
27 #include <lax/checkbox.h>
28 #include <lax/messagebox.h>
32 #define SIMPP_SEND_TO_PRINTER (1<<16)
33 #define SIMPP_DEL_PRINTTHIS (1<<17)
34 #define SIMPP_PRINTRANGE (1<<18)
41 LineEdit *fileedit,*commandedit,*printstart,*printend;
43 CheckBox *printall,*printcurrent,*printrange;
47 SimplePrint(
unsigned long nstyle,
unsigned long nowner,
const char *nsend,
48 const char *file=
"output.ps",
const char *command=
"lp",
49 const char *thisfile=NULL,
50 int ntof=1,
int pmin=-1,
int pmax=-1,
int pcur=-1);
53 virtual int CharInput(
unsigned int ch,
const char *buffer,
int len,
unsigned int state,
const LaxKeyboard *d);