mi32/mprint.h File Reference

Printing subsystem definitions. More...

#include <mi32/printgamma.h>
#include <gre/base.h>
Include dependency graph for mprint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MPRINT_DeleteWhenDone   0x00000002
#define MPRINT_NoDialog   0x00000001
#define MPRINT_Snapshot   0x00000004
#define MPRINT_TestStrips   0x00000008

Functions

int MprintMain (MDLGPARENT parent, int argc, const char **argv)
int MprintMainInit (void)
int MprintMainPrintLayout (MDLGPARENT parent, GRE::LAYOUT *layout, UINT32 flags=0)
int MprintMainStop (void)
ERRVALUE MprintSetupProofICM (MGD::DEVICE *, const LAYOUTPARMS &)

Detailed Description

Printing subsystem definitions.


Define Documentation

#define MPRINT_DeleteWhenDone   0x00000002

Delete print raster when done.

#define MPRINT_NoDialog   0x00000001

Skip the setup dialog unless not enough info.

#define MPRINT_Snapshot   0x00000004
#define MPRINT_TestStrips   0x00000008

Only when called internally to print test strips.


Function Documentation

int MprintMain ( MDLGPARENT  parent,
int  argc,
const char **  argv 
)

Parse command line arguments and decide what to do.

int MprintMainInit ( void   ) 

Sets a private but global function pointer so that the print setup dialog will know how to do test strips.

This lets programs that don't do printing still have the page setup dialog (like tntmenu) without linking in all the print code.

int MprintMainPrintLayout ( MDLGPARENT  parent,
GRE::LAYOUT layout,
UINT32  flags = 0 
)

Given a layout, create a print view and print it.

Parameters:
parent Parent for setup and status dialogs
layout The layout to print.
flags MPRINT_NoDoalog
int MprintMainStop ( void   ) 

Does nothing--Just there to balance MprintInit().

May be needed some day.

ERRVALUE MprintSetupProofICM ( MGD::DEVICE ,
const LAYOUTPARMS  
)

Setup ICM proofing on the MGD device.

If LAYOUTPARMS.bProofOnScreen is false, it actually turns off proofing.


Generated on Sun Oct 7 21:27:31 2012 for TNTsdk 2012 by  doxygen 1.6.1