2010-01-16 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbnetio/tests/netiotst.prg
    ! Fixed to REQUEST dir related functions to avoid RTE.

  - contrib/hbnetio/tests/data
    - Deleted. Now it's created by RPC call.

  * contrib/hbwin/tests/testprn.prg
    * Formatting.

  * contrib/hbwin/win_prn1.c
    ! Using constants for dmOrientation.
This commit is contained in:
Viktor Szakats
2010-01-16 01:13:05 +00:00
parent 729c66f1e6
commit c07ce7ddf9
4 changed files with 20 additions and 4 deletions

View File

@@ -17,6 +17,19 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-16 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/tests/netiotst.prg
! Fixed to REQUEST dir related functions to avoid RTE.
- contrib/hbnetio/tests/data
- Deleted. Now it's created by RPC call.
* contrib/hbwin/tests/testprn.prg
* Formatting.
* contrib/hbwin/win_prn1.c
! Using constants for dmOrientation.
2010-01-16 01:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_prn1.c
% eliminated some unnecessary HB_ISNUM( <n> ) calls
@@ -41,7 +54,7 @@
working codec. [ Marco Bra ]
! Fixed: to correctly dispay the last line nos while inserting
or deleting bottom lines. [ Marco Bra ]
! Enabled HBQT_RELEASE_WITH_DELETE protocol for hbIDE.
! Enabled HBQT_RELEASE_WITH_DELETE protocol for hbIDE.
2010-01-15 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_prn1.c
@@ -66,7 +79,7 @@
2010-01-15 20:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/disk.c
! TRUENAME() compiler time error fixed for non-win OS after recent change.
! TRUENAME() compile-time error fixed for non-win OS after recent change.
* contrib/hbct/diskhb.c
! GETVOLINFO() fixed to return empty string on non-win OS.

View File

@@ -25,6 +25,9 @@
request DBFCDX
request HB_DIREXISTS
request MAKEDIR
proc main()
local pSockSrv, lExists

View File

@@ -118,7 +118,7 @@ STATIC PROCEDURE PrnTest( cPrinter, cBMPFile )
// To print a barcode;
// Replace 'BCod39HN' with your own bar code font or any other font
// oPrinter:TextAtFont( oPrinter:MM_TO_POSX( 30 ) , oPrinter:MM_TO_POSY( 60 ), "1234567890", "BCod39HN", 24, 0 )
// oPrinter:TextAtFont( oPrinter:MM_TO_POSX( 30 ), oPrinter:MM_TO_POSY( 60 ), "1234567890", "BCod39HN", 24, 0 )
//
PrintBitMap( oPrinter, cBMPFile )

View File

@@ -480,7 +480,7 @@ HB_FUNC( WIN_SETDOCUMENTPROPERTIES )
pDevMode->dmPaperSize = ( short ) iProp;
if( HB_ISLOG( 4 ) )
pDevMode->dmOrientation = ( short ) ( hb_parl( 4 ) ? 2 : 1 );
pDevMode->dmOrientation = ( short ) ( hb_parl( 4 ) ? DMORIENT_LANDSCAPE : DMORIENT_PORTRAIT );
if( ( iProp = hb_parni( 5 ) ) > 0 )
pDevMode->dmCopies = ( short ) iProp;