/* initialize */

void lp_init (int is_landscape, int dpi, float paper_length);

/* all done */

void lp_eof (void);

/* initialize for new page, portrait or landscape mode */

void lp_beginpage (void);

/* page output complete, send to printer */

void lp_endpage (void);

/* draw a rule, bottom left at x,y, width and height w,h */

void lp_drawrule (int x, int y, int w, int h, int draft);

/* draw a character glyph, reference point at x,y */

void lp_drawchar (int x, int y, struct chinfo *ch);
