2010-01-16 09:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_tprn.prg
* updated some comments
* harbour/contrib/hbwin/win_prn1.c
! replaced yet another constant value by DMORIENT_LANDSCAPE macro
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-01-16 09:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbwin/win_tprn.prg
|
||||
* updated some comments
|
||||
|
||||
* harbour/contrib/hbwin/win_prn1.c
|
||||
! replaced yet another constant value by DMORIENT_LANDSCAPE macro
|
||||
|
||||
2010-01-15 21:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* contrib/hbqt/generator/qt45.qtp
|
||||
* contrib/hbqt/hbqt.h
|
||||
|
||||
@@ -526,7 +526,7 @@ HB_FUNC( WIN_GETDOCUMENTPROPERTIES )
|
||||
DocumentProperties( 0, hPrinter, ( LPTSTR ) lpDeviceName, pDevMode, pDevMode, DM_OUT_BUFFER );
|
||||
|
||||
hb_storni( pDevMode->dmPaperSize, 2 );
|
||||
hb_storl( pDevMode->dmOrientation == 2, 3 );
|
||||
hb_storl( pDevMode->dmOrientation == DMORIENT_LANDSCAPE, 3 );
|
||||
hb_storni( pDevMode->dmCopies, 4 );
|
||||
hb_storni( pDevMode->dmDefaultSource, 5 );
|
||||
hb_storni( pDevMode->dmDuplex, 6 );
|
||||
|
||||
@@ -77,7 +77,6 @@ CREATE CLASS WIN_PRN
|
||||
METHOD Create() // CreatesDC and sets "Courier New" font, set Orientation, Copies, Bin#
|
||||
// Create() ( & StartDoc() ) must be called before printing can start.
|
||||
METHOD Destroy() // Calls EndDoc() - restores default font, Deletes DC.
|
||||
// Destroy() must be called to avoid memory leaks
|
||||
DESTRUCTOR Destruct()
|
||||
|
||||
METHOD StartDoc( cDocName ) // Calls StartPage()
|
||||
@@ -85,7 +84,7 @@ CREATE CLASS WIN_PRN
|
||||
METHOD StartPage()
|
||||
METHOD EndPage( lStartNewPage ) // If lStartNewPage == .T. then StartPage() is called for the next page of output
|
||||
METHOD NewLine()
|
||||
METHOD NewPage( lDelay )
|
||||
METHOD NewPage( lDelay ) // If lDelay == .T. then new page is not created immediately but just before 1-st output
|
||||
METHOD CheckPage()
|
||||
METHOD GetDocumentProperties()
|
||||
METHOD SetFont( cFontName, nPointSize, nWidth, nBold, lUnderline, lItalic, nCharSet )
|
||||
|
||||
Reference in New Issue
Block a user