16 int MPrintSetup(
int po,
int *xres,
int *yres,
int *pwidth,
int *pheight,
int *nplanes);
17 int xres, yres, pwidth, plength, nplanes;
19 if (MPrintSetup(PO_DEFAULT, &xres, &yres, &pwidth, &plength, &nplanes))
25 Paper width: %d (mm)\n\ 26 Paper length: %d (mm)\n\ 30 pwidth, plength, xres, yres, nplanes);
45 pages.startPage = pages.minPage = 1;
46 pages.endPage = pages.maxPage = 1;
47 did = MOpenPrintDoc(
"Print Test",
False, PO_PORTRAIT, &pages);
61 MPrintObject(obj, did, &pe);
int MObjectGetHeight(MOBJECT obj)
int PrintObject(MOBJECT obj, int mode, int x, int y)
int MObjectGetWidth(MOBJECT obj)
void MObjectRedraw(MOBJECT obj)
int MMessageDialog(const char *t, const char *msg, const char *btn1, const char *btn2,...)
void MShellRaise(MOBJECT obj)