home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
INCLUDE
/
PRINT.CH
< prev
next >
Wrap
Text File
|
1994-05-17
|
1KB
|
36 lines
#ifndef _PRINT_CH
#define _PRINT_CH
//----------------------------------------------------------------------------//
// Printer
#xcommand PRINT [ <oPrint> ] ;
[ <name:NAME,DOC> <cDocument> ] ;
=> ;
[ <oPrint> := ] PrintBegin( [<cDocument>] )
#xcommand PAGE => PageBegin()
#xcommand ENDPAGE => PageEnd()
#xcommand ENDPRINT => PrintEnd()
//----------------------------------------------------------------------------//
// Print Preview - original idea by Garry Prefontaine
#xcommand REDEFINE PRINTPREVIEW <oPrintPV> ;
[ ON PAINT <uPaint> ] ;
[ VIEWSIZE <nViewWidth>, <nViewHeight> ] ;
[ RANGE <nMinPage>, <nMaxPage> ] ;
[ ID <nId> ] ;
[ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
[ <color:COLOR, COLORS> <nClrFore> [,<nClrBack>] ] ;
=> ;
<oPrintPV> := TPrintPV():ReDefine( <{uPaint}>, <nMinPage>,;
<nMaxPage>, <nViewWidth>, <nViewHeight>, <nId>, <oWnd>,;
<nClrFore>, <nClrBack> )
//----------------------------------------------------------------------------//
#endif